store module size in module state
This commit is contained in:
@@ -7,10 +7,7 @@ namespace EscapeRoomEngine.Engine.Runtime.Modules
|
||||
{
|
||||
internal PuzzleState PuzzleState => PuzzleState.FromState(State);
|
||||
|
||||
internal PuzzleModule(Space space, PuzzleModuleDescription description) : base(space, description)
|
||||
{
|
||||
srDimensions.Size = Vector2Int.one; // TODO: larger modules
|
||||
}
|
||||
internal PuzzleModule(Space space, PuzzleModuleDescription description) : base(space, description) {}
|
||||
|
||||
internal override void InstantiateModule(Transform parent)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user