public void OnTeleportation(Teleport teleport, IMovable obj) { var targetTeleport = teleports.Find(x => x != teleport); if (targetTeleport == null) return; obj.Teleportation(BoardManager.Instance.GetCurrentCellPosition(targetTeleport.transform.position), targetTeleport.outDirection); }