Ejemplo n.º 1
0
        public static LivesLivesLog GetSingleton()
        {
            if (mInstance == null)
            {
                GameObject tmpGo = new GameObject("LivesLivesLog");
                GameObject.DontDestroyOnLoad(tmpGo);

                mInstance = tmpGo.AddComponent <LivesLivesLog>();
            }
            return(mInstance);
        }
Ejemplo n.º 2
0
 // Use this for initialization
 void Start()
 {
     LivesLivesLog.GetSingleton().Init();
 }