Пример #1
0
        // Use this for initialization
        void Start()
        {
            Instance = this;

            if (DontDestroyTacoOnload)
            {
                DontDestroyOnLoad(this.transform.gameObject);
            }
        }
Пример #2
0
 void Awake()
 {
     Instance = this;
     LogEvent("start_game");
 }