public virtual void SubMoveToTile(int passedCount, int stepID) { //Debug.Log("pass: "******", step: " + stepID); Location[] subPath = MovePath.Skip(passedCount).Take(stepID + 1).ToArray(); //Debug.Log("mov: " + MovePath.Length + ", sub: " + subPath.Length); Loc.GetTileController().OnEntityLeaving(); Loc = subPath[stepID]; Loc.GetTileController().OnEntityEntering(Hash); AnimationManager.Instance.AddAnimClip(new MovePathAnimClip(Hash, subPath, 0.2f)); }