private void OnEnable() { tabs = new TabsBlock(new Dictionary <string, System.Action>() { { "Movement", MovementTab }, { "Rotation", RotationTab }, { "Height", HeightTab } }); tabs.SetCurrentMethod(Camera.LastTab); }