Example #1
0
 // Start is called before the first frame update
 void Awake()
 {
     StarManager.GetInstance().AddStar(this, starNumber);
     UnlockManager.GetInstance().AddStar(this);
 }
Example #2
0
 // Start is called before the first frame update
 void Awake()
 {
     unlockedPosition = gameObject.transform.position;
     UnlockManager.GetInstance().AddPlatform(this);
 }