public MTJumpByState(MTJumpBy action, GameObject target) : base(action, target) { Delta = action.Position; Height = action.Height; Jumps = action.Jumps; P = StartPosition = target.transform.localPosition; }
public MTJumpToState(MTJumpBy action, GameObject target) : base(action, target) { Delta = new Vector3(Delta.x - StartPosition.x, Delta.y - StartPosition.y, Delta.z - StartPosition.z); }
public MTJumpToState(MTJumpBy action, GameObject target) : base(action, target) { Delta = new Vector3 (Delta.x - StartPosition.x, Delta.y - StartPosition.y,Delta.z - StartPosition.z); }