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