예제 #1
0
 void Awake()
 {
     _controller = GetComponent<CustomCharacterController>();
 }
예제 #2
0
 public virtual void SetTarget(CustomCharacterController target)
 {
     this.target = target;
 }
예제 #3
0
 // Start is called before the first frame update
 void Start()
 {
     customCharacterController = GetComponent <CustomCharacterController>();
 }
예제 #4
0
 private void Start()
 {
     charController         = GetComponent <CustomCharacterController>();
     charController.enabled = false;
 }
예제 #5
0
 // Use this for initialization
 void Start()
 {
     //instantiate the father component to group all my shadows
     characterController = GetComponent <CustomCharacterController>();
     attackController    = GetComponent <CustomAttackController>();
 }