add properties on prototyping
This commit is contained in:
parent
c9e09d05ae
commit
3a0f0562ae
@ -24,6 +24,24 @@ namespace Intrepid.Gameplay.Prototyping
|
||||
private int lastSizeZ = -1;
|
||||
private float lastOffset = -1f;
|
||||
|
||||
public int SizeX
|
||||
{
|
||||
get => sizeX;
|
||||
set => sizeX = value;
|
||||
}
|
||||
|
||||
public int SizeY
|
||||
{
|
||||
get => sizeY;
|
||||
set => sizeY = value;
|
||||
}
|
||||
|
||||
public int SizeZ
|
||||
{
|
||||
get => sizeZ;
|
||||
set => sizeZ = value;
|
||||
}
|
||||
|
||||
public BoxCollider BoxCollider => boxCollider;
|
||||
|
||||
[GroupDebug, Button(ButtonSizes.Medium)]
|
||||
|
||||
@ -23,6 +23,18 @@ namespace Intrepid.Gameplay.Prototyping
|
||||
private int lastSizeX = -1;
|
||||
private int lastSizeZ = -1;
|
||||
|
||||
public int SizeX
|
||||
{
|
||||
get => sizeX;
|
||||
set => sizeX = value;
|
||||
}
|
||||
|
||||
public int SizeZ
|
||||
{
|
||||
get => sizeZ;
|
||||
set => sizeZ = value;
|
||||
}
|
||||
|
||||
public BoxCollider BoxCollider => boxCollider;
|
||||
|
||||
[GroupDebug, Button(ButtonSizes.Medium)]
|
||||
|
||||
@ -20,6 +20,18 @@ namespace Intrepid.Gameplay.Prototyping
|
||||
private int lastSizeX = -1;
|
||||
private int lastSizeZ = -1;
|
||||
|
||||
public int SizeX
|
||||
{
|
||||
get => sizeX;
|
||||
set => sizeX = value;
|
||||
}
|
||||
|
||||
public int SizeZ
|
||||
{
|
||||
get => sizeZ;
|
||||
set => sizeZ = value;
|
||||
}
|
||||
|
||||
public BoxCollider BoxCollider => boxCollider;
|
||||
|
||||
[GroupDebug, Button(ButtonSizes.Medium)]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user