Exemplo n.º 1
0
 private static void onClickedNodesButton(SleekButton button)
 {
     EditorEnvironmentLightingUI.close();
     EditorEnvironmentRoadsUI.close();
     EditorEnvironmentNavigationUI.close();
     EditorEnvironmentNodesUI.open();
 }
Exemplo n.º 2
0
 public static void close()
 {
     if (!EditorEnvironmentUI.active)
     {
         return;
     }
     EditorEnvironmentUI.active = false;
     EditorEnvironmentLightingUI.close();
     EditorEnvironmentRoadsUI.close();
     EditorEnvironmentNavigationUI.close();
     EditorEnvironmentNodesUI.close();
     EditorEnvironmentUI.container.lerpPositionScale(1f, 0f, ESleekLerp.EXPONENTIAL, 20f);
 }
 // Token: 0x06001ECB RID: 7883 RVA: 0x000A8534 File Offset: 0x000A6934
 private static void select(Transform select)
 {
     if (EditorNavigation.selection != null)
     {
         EditorNavigation.selection.GetComponent <Renderer>().material.color = Color.white;
     }
     if (EditorNavigation.selection == select || select == null)
     {
         EditorNavigation.selection = null;
         EditorNavigation._flag     = null;
     }
     else
     {
         EditorNavigation.selection = select;
         EditorNavigation._flag     = LevelNavigation.getFlag(EditorNavigation.selection);
         EditorNavigation.selection.GetComponent <Renderer>().material.color = Color.red;
     }
     EditorEnvironmentNavigationUI.updateSelection(EditorNavigation.flag);
 }