correctly delete old rooms
This commit is contained in:
@@ -40,5 +40,10 @@ namespace EscapeRoomEngine.Portal.Runtime
|
||||
portal.linkedPortal.portalTransform.worldToLocalMatrix * cloning.localToWorldMatrix;
|
||||
transform.SetPositionAndRotation(m.GetPosition(), m.rotation);
|
||||
}
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return gameObject.name;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user