Example #1
0
 // Use this for initialization
 void Awake()
 {
     Instance = this;
     logList  = new List <string> ();
     logList.Add(">");
     logText.text = ">";
 }
Example #2
0
    private void Start()
    {
        Ref_DbMgr    = DbMgr.s_Instance;
        Ref_SceneMgr = SceneMgr.s_Instance;
        Ref_HUDMgr   = HUDMgr.s_Instance;

        // default loading Game
        ChangeGamePhase(GamePhase.Loading);
    }
Example #3
0
 void Awake()
 {
     Instance = this;
 }
Example #4
0
 private void Start()
 {
     Ref_HUDMgr = HUDMgr.s_Instance;
 }
Example #5
0
 void Awake()
 {
    Instance = this;
    timerGradient = timer.GetComponent<SliderGradientController>();
    happinessGradient = happiness.GetComponent<SliderGradientController>();
 }
Example #6
0
 // ================================== UNITY FUNCS ==================================
 #region UNITY funcs
 private void Awake()
 {
     s_Instance = this;
 }