// Start is called before the first frame update
 void Start()
 {
     starsController = GetComponentInChildren <starFxController>();
     SetStars();
 }
Beispiel #2
0
 void Awake()
 {
     myStarFxController = this;
 }
 private void Start()
 {
     instance     = this;
     soundcontrol = UnityEngine.Object.FindObjectOfType <SoundController>();
     Reset();
 }