public void SetCurTileForMove(TileForMove _tileForMove) { if (curTileForMove != null) { curTileForMove.RemoveRecentActor(this); } curTileForMove = _tileForMove; curTileForMove.AddRecentActor(this); }
public void SetCurTileForMoveLoad(TileForMoveCoordinates input) { if (input != null) { curTileForMove = tileLayer.GetTileForMove(input.x, input.y); curTileForMove.AddRecentActor(this); //if (curTileForMove == null) // Debug.Log("[" + input.x + ", " + input.y + "] curTFM 로드 실패!"); //else // Debug.Log("[" + curTileForMove.GetX() + ", " + curTileForMove.GetY() + "] curTFM 로드 성공"); } else { curTileForMove = null; } }