Beispiel #1
0
 private void GetManagers()
 {
     p   = GetComponent <Player>();
     pg  = GetComponent <PixelGrid>();
     bm  = GetComponent <ButtonMash>();
     gc  = GetComponent <GoalCompletion>();
     b   = GetComponent <Bugs>();
     sgm = GetComponent <StartGameMode>();
 }
Beispiel #2
0
 // Use this for initialization
 void Start()
 {
     buttonMash = GetComponent <ButtonMash>();
 }
Beispiel #3
0
 void Start()
 {
     buttonMash  = GetComponent <ButtonMash>();
     hammer      = buttonMash.gameObject;
     originalRot = hammer.transform.rotation;
 }