예제 #1
0
 /// <summary>
 /// Jump the specified c.
 /// </summary>
 /// <param name="c">C.</param>
 private void Jump(ICharacter c)
 {
     transform.parent.GetComponent<Hurdle> ().TmpLost ();
     Vector3 pos;
     Quaternion roa;
     GetJumpArgs (out pos, out roa, c.GetTransform ());
     c.CrossHurdle (pos, roa, 0);
 }