Beispiel #1
0
 private void Start()
 {
     ballMove      = playerStatuses[1].GetComponent <BallMove>();
     planeMove     = playerStatuses[2].GetComponent <PlaneMove>();
     rockMove      = playerStatuses[3].GetComponent <RockMove>();
     travellerMove = playerStatuses[0].GetComponent <TravellerMove>();
 }
Beispiel #2
0
 void Start()
 {
     gameManager = GameObject.FindGameObjectWithTag("GameManager").GetComponent <GameManager>();
     planeMove   = GameObject.FindGameObjectWithTag("Player").GetComponent <PlaneMove>();
 }