Ejemplo n.º 1
0
    // 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");
    }
Ejemplo n.º 2
0
    // Start is called before the first frame update
    void Start()
    {
        playerMoveDirector = gameObject.GetComponent <PlayerMovementDirector>();

        FindScore();
    }