Esempio n. 1
0
 private void OnEnable()
 {
     tabs = new TabsBlock(new Dictionary <string, System.Action>()
     {
         { "Movement", MovementTab },
         { "Zooming", ZoomTab }
     });
     tabs.SetCurrentMethod(Cam.lastTab);
 }
Esempio n. 2
0
 private void OnEnable()
 {
     tabs = new TabsBlock(new Dictionary <string, System.Action>()
     {
         { "Movement", MovementTab },
         { "Height", HeightTab }
     });
     tabs.SetCurrentMethod(camera.lastTab);
 }
Esempio n. 3
0
 private void OnEnable()
 {
     this.tabs = new TabsBlock(new Dictionary <string, Action>
     {
         ["Movement"] = MovementTab,
         ["Rotation"] = RotationTab,
         ["Height"]   = HeightTab
     });
     this.tabs.SetCurrentMethod(this.Camera.lastTab);
 }
Esempio n. 4
0
 private void OnEnable()
 {
     tabs = new TabsBlock(new Dictionary<string, System.Action>() 
     {
         {"Movement", MovementTab},
         {"Rotation", RotationTab},
         {"Height", HeightTab}
     });
     tabs.SetCurrentMethod(camera.lastTab);
 }