asdf
This commit is contained in:
@@ -133,26 +133,7 @@ public class ASRSProperty : MonoBehaviour
|
||||
|
||||
private PropertyGroup CreatePositionGroup(ASRSDataClass asrs)
|
||||
{
|
||||
var group = new PropertyGroup("asrs_position", "위치 및 회전", isExpanded: true);
|
||||
group.AddItems(new IPropertyItem[]
|
||||
{
|
||||
new FloatProperty("x_position", "X 좌표(m)", asrs.physical.position.x)
|
||||
{
|
||||
}.Bind(
|
||||
setter: v => {asrs.physical.position.x = v;SaveChange(asrs,v,"physical.position.x"); }
|
||||
),
|
||||
new FloatProperty("y_position", "y 좌표(m)", asrs.physical.position.y)
|
||||
{
|
||||
}.Bind(
|
||||
setter: v => {asrs.physical.position.y = v;SaveChange(asrs,v,"physical.position.y"); }
|
||||
),
|
||||
new FloatProperty("orientation", "회전(°)", asrs.physical.orientation)
|
||||
{
|
||||
}.Bind(
|
||||
setter: v => {asrs.physical.orientation = v;SaveChange(asrs,v,"physical.orientation");propertyWindow.ApplyExternalValue("orientation",RotationSnap.SnapOrientation(v),false); }
|
||||
),
|
||||
});
|
||||
return group;
|
||||
return PropertyHelper.CreatePositionGroup("asrs_position", asrs, propertyWindow, SaveChange);
|
||||
}
|
||||
|
||||
private PropertyGroup CreateRackLayoutGroup(ASRSDataClass asrs)
|
||||
|
||||
Reference in New Issue
Block a user