Exemplo n.º 1
0
 // 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>();
 }
Exemplo n.º 2
0
 // Use this for initialization
 void Start()
 {
     //instantiate the father component to group all my shadows
     characterController = GetComponent <CustomCharacterController>();
     attackController    = GetComponent <CustomAttackController>();
 }