Esempio n. 1
0
 void Awake()
 {
     if (FlurryBunch.INSTANCE == null)
     {
         FlurryBunch.INSTANCE = this;
         BunchManager.registerBunch(BUNCH);
         GameObject.DontDestroyOnLoad(this);
     }
     else
     {
         GameObject.Destroy(this.gameObject);
     }
 }
 // Use this for initialization
 void Start()
 {
     FlurryBunch.GetInstance().LogEvent("sceneStarted", new Dictionary <string, string> {
         { "name", "FlurryScene" }
     });
 }