// Start is called before the first frame update void Start() { // Setup the player animator playerAnimator = gameObject.GetComponent <Animator>(); // Setup the player movement director playerMovementDirector = gameObject.GetComponent <PlayerMovementDirector>(); // Setup the player controller playerController = gameObject.GetComponent <PlayerController>(); // Find the conductor in the scene sceneConductor = GameObject.FindGameObjectWithTag("Conductor"); }
// Start is called before the first frame update void Start() { playerMoveDirector = gameObject.GetComponent <PlayerMovementDirector>(); FindScore(); }