Exemple #1
0
 private void OnEnable()
 {
     tabs = new TabsBlock(new Dictionary <string, System.Action>()
     {
         { "Movement", MovementTab },
         { "Zooming", ZoomTab }
     });
     tabs.SetCurrentMethod(Cam.lastTab);
 }
Exemple #2
0
 private void OnEnable()
 {
     tabs = new TabsBlock(new Dictionary <string, System.Action>()
     {
         { "Movement", MovementTab },
         { "Height", HeightTab }
     });
     tabs.SetCurrentMethod(camera.lastTab);
 }
Exemple #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);
 }
 private void OnEnable()
 {
     tabs = new TabsBlock(new Dictionary<string, System.Action>() 
     {
         {"Movement", MovementTab},
         {"Rotation", RotationTab},
         {"Height", HeightTab}
     });
     tabs.SetCurrentMethod(camera.lastTab);
 }