예제 #1
0
 private void Awake()
 {
     movement    = GetComponent <NavigationMovement>();
     animator    = GetComponent <Animator>();
     controller  = GetComponent <Controller>();
     audioSource = GetComponent <AudioSource>();
 }
예제 #2
0
 protected virtual void Awake()
 {
     movement = GetComponent <NavigationMovement>();
     attack   = GetComponent <Attack>();
     health   = GetComponent <Health>();
 }