private void Start() { ballMove = playerStatuses[1].GetComponent <BallMove>(); planeMove = playerStatuses[2].GetComponent <PlaneMove>(); rockMove = playerStatuses[3].GetComponent <RockMove>(); travellerMove = playerStatuses[0].GetComponent <TravellerMove>(); }
// Start is called before the first frame update void Start() { parent = GameObject.FindGameObjectWithTag("RockChild").GetComponent <RockMove>(); }