Exemple #1
0
    public void pathDrawing(WorldCreatorCursor.WCCursorMode originalMode, NodeEditorFramework.Standard.PathData path = null)
    {
        pathCreator.Clear();
        pathCreator.SetPath(path);

        taskInterface.CloseUI();
        originalCursorMode = originalMode;
        SetMode(WCCursorMode.DrawPath);
    }
Exemple #2
0
 public void SetMode(WCCursorMode mode)
 {
     this.mode = mode;
     WCBetterBarHandler.UpdateActiveButtons();
     translatingSectors.Clear();
 }