Start() static private method

static private Start ( ) : void
return void
示例#1
0
 public void Init(GameStateMachine stateMachine, object changeStateData)
 {
     Debug.Log("Entering In MainMenu State");
     _mainMenuController = new MainMenuController();
     Singleton.instance.gui.viewFactory.CreateAsync <MainMenuView>("GUI/MainMenu/MainMenuView", (view) =>
     {
         Singleton.instance.gui.screenFader.FadeIn(0.35f, () =>
         {
             _mainMenuController.Start(view as MainMenuView);
         });
     });
 }
示例#2
0
    public void Init(GameStateMachine stateMachine)
    {
        Debug.Log("Entering In MainMenu State");
        _mainMenuController = new MainMenuController();

        _starscapeView = GameObject.FindObjectOfType <StarScapeView>();
        if (_starscapeView == null)
        {
            Singleton.instance.gui.viewFactory.CreateAsync <StarScapeView>("MainMenu/StarScapeView", (view) =>
            {
                _starscapeView = view as StarScapeView;
            });
        }

        Singleton.instance.gui.viewFactory.CreateAsync <MainMenuView>("MainMenu/MainMenuView", (view) =>
        {
            Singleton.instance.gui.screenFader.FadeIn(0.35f, () =>
            {
                _mainMenuController.Start(view as MainMenuView);
            });
        });
    }
示例#3
0
 public void Init(Hashtable changeStateData)
 {
     _controller = new MainMenuController();
     _controller.Start(onViewCreated, onChangeState);
 }
示例#4
0
        static void Main(string[] args)
        {
            var mm = new MainMenuController();

            mm.Start();
        }
示例#5
0
 public void Init(GameStateMachine stateMachine, object changeStateData)
 {
     Debug.Log("Entering In MainMenu State");
     _mainMenuController = new MainMenuController();
     _mainMenuController.Start();
 }