public void SetUpMotion(Animotion actualMotion)
 {
     if (this.actualMotion == null)
     {
         this.actualMotion = actualMotion;
         return;
     }
     if (this.actualMotion.executionState != ANIMOTIONEXECUTIONSTATE.PERFORMING)
     {
         this.actualMotion = actualMotion;
     }
     else
     {
         Debug.Log("CANT CHANGE IS PERFORMING");
     }
 }
        private void EndMotion()
        {
            // A VERGA
            if (speedUpCoroutine != null)
            {
                actualMotion.coroutineMono.StopCoroutine(speedUpCoroutine);
            }

            if (skipCoroutine != null)
            {
                actualMotion.coroutineMono.StopCoroutine(skipCoroutine);
            }
            skipCoroutine    = null;
            speedUpCoroutine = null;
            actualMotion     = null;
        }