public void Start() { UI.gameObject.SetActive(true); UI.Initialize(this); GameController.gameObject.SetActive(false); }
// 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(); }
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(); } } } }
/// <summary> /// Defines the entry point of the application. /// </summary> private static void Main() { MainUI.Initialize(); }