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