public void Start()
    {
        UI.gameObject.SetActive(true);
        UI.Initialize(this);

        GameController.gameObject.SetActive(false);
    }
예제 #2
0
 // Use this for initialization
 void Awake()
 {
     game_control_ref.Initialize();
     game_checker_ref.Initialize();
     manager_event_ref.Initialize();
     manager_particle_ref.Initialize();
     can_pile_ref.Initialize();
     fish_spawner_ref.Initialize();
     manager_position_ref.Initialize();
     main_ui_ref.Initialize();
     manager_sound_ref.Initialize();
 }
예제 #3
0
    void Start()
    {
        bool levelLoaded = LoadLevel();

        if (!levelLoaded)
        {
            if (ClampPoints.Count <= 0)
            {
                clampPlacementInProgress = false;
                Debug.Log("No clamp points were found or assigned");
            }
            else
            {
                UI_Manager.Initialize();
                foreach (ClampPoint point in ClampPoints)
                {
                    point.gameObject.SetActive(true);
                    point.DisplayPoint();
                }
            }
        }
    }
예제 #4
0
 /// <summary>
 /// Defines the entry point of the application.
 /// </summary>
 private static void Main()
 {
     MainUI.Initialize();
 }