示例#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>();
 }
示例#2
0
 // Start is called before the first frame update
 void Start()
 {
     parent = GameObject.FindGameObjectWithTag("RockChild").GetComponent <RockMove>();
 }