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