Esempio n. 1
0
    public void OnStart()
    {
        LogManager.Log("Timer On !");

        _remainingTime = 185;
        _isStart       = true;
        _tartManager   = TartSystemManager.Instance;

        _tartManager.RandomChoiceOfTart();
    }
 private void Awake()
 {
     Init();
     if (_instance == null)
     {
         _instance = this;
     }
     else if (_instance != this)
     {
         Destroy(gameObject);
     }
     DontDestroyOnLoad(gameObject);
 }