Description
The OnUpdate
method is a virtual method in the Editor.MeshEditor.EdgeTool
class. It is designed to be called every frame to update the state of the edge tool during its operation. This method is part of the mesh editing toolset, specifically for manipulating mesh edges by moving, rotating, or scaling them.
Usage
Override the OnUpdate
method in a derived class to implement custom behavior that should occur every frame while the edge tool is active. This could include updating the tool's visual representation, handling user input, or modifying the mesh based on the current tool state.
Example
public class CustomEdgeTool : Editor.MeshEditor.EdgeTool
{
public override void OnUpdate()
{
// Custom update logic for the edge tool
// For example, handle user input or update tool visuals
}
}