Пример #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>();
 }