예제 #1
0
    private void Awake()
    {
        PlayerAnimationManager = GetComponentInChildren <PlayerAnimationManager>();
        PlayerAnimationManager.SetManager(this);

        PlayerAttributes = GetComponent <PlayerAttributes>();
        PlayerAttributes.SetManager(this);

        PlayerMovement = GetComponent <PlayerMovement>();
        PlayerMovement.SetManager(this);

        PlayerAudioManager = GetComponentInChildren <PlayerAudioManager>();
        PlayerAudioManager.SetManager(this);
    }