Example #1
0
 void hatFunction()
 {
     GUILayout.BeginVertical("box");
     if (GUILayout.Button("exit left"))
     {
         hat.exitLeft(transitionSpeed);
         topHat.enterRight(transitionSpeed);
     }
     GUILayout.FlexibleSpace();
     transitionMenu();
     GUILayout.FlexibleSpace();
     GUILayout.Label("Left Bar");
     GUILayout.EndVertical();
 }
 public static void slideLeftRight(float transTime, ref GUIArea exit, ref GUIArea enter)
 {
     exit.exitLeft(transTime);
     enter.enterRight(transTime);
 }