// Start is called before the first frame update void Start() { movementPathLocatiionLock = new Vector3( movementPath.transform.position.x, movementPath.transform.position.y, movementPath.transform.position.z); customCharacterController = GetComponent <CustomCharacterController>(); customAttackController = GetComponent <CustomAttackController>(); }
// Use this for initialization void Start() { //instantiate the father component to group all my shadows characterController = GetComponent <CustomCharacterController>(); attackController = GetComponent <CustomAttackController>(); }