void SetupTSE() { tseMode = TSEMode.Edit; SetupSheet(); ts = GetTileset(); SetQuickAccessTiles(); //buttons buttons.Clear(); }
public void ToggleEditorMode() { switch (tseMode) { case (TSEMode.Select): SetQuickAccessTiles(); tseMode = TSEMode.Edit; break; case (TSEMode.Edit): SetSelectTilePos(); tseMode = TSEMode.Select; break; } }