void EndAddObject() { room.AddRoomObject(selectedObj); selectedObj.InitializeRoomObject(room); selectedObj.GenerateAllIPPaths(room.doorPos); SetColliderOnPoint(Controls.GetMousePosPF(), true); selectedObj = null; }
void EndAddObject() { room.AddRoomObject(selectedObj); selectedObj.InitializeRoomObject(room); selectedObj.GenerateAllIPPaths(room.doorPos); SetColliderOnPoint(Controls.GetMousePosPF(), true); selectedObj = null; }