update
This commit is contained in:
@@ -47,6 +47,8 @@ public class ASRSProperty : MonoBehaviour
|
||||
}.Bind(
|
||||
setter: v => {asrs.physical.position.x = v.x;asrs.physical.position.z = v.y; SaveChange(asrs,v,"physical.position"); }
|
||||
),
|
||||
new ButtonProperty("InitializeButton","초기 재고 설정",""){
|
||||
}.BindClick(()=>FindAnyObjectByType<InitialInventoryWindow>(FindObjectsInactive.Include).Open(asrs)),
|
||||
new BoolProperty("limited","용량 무제한", asrs.is_unlimited)
|
||||
{
|
||||
IsReadOnly=false
|
||||
|
||||
@@ -63,6 +63,7 @@ public class InitialInventoryWindow : MonoBehaviour
|
||||
// ===== Public API =====
|
||||
public void Open(ASRSDataClass asrs)
|
||||
{
|
||||
gameObject.SetActive(true);
|
||||
this.asrs = asrs;
|
||||
|
||||
BuildDimLabel();
|
||||
@@ -78,7 +79,7 @@ public class InitialInventoryWindow : MonoBehaviour
|
||||
|
||||
public void Close()
|
||||
{
|
||||
Destroy(gameObject);
|
||||
gameObject.SetActive(false);
|
||||
}
|
||||
|
||||
public void SetSelectionMode(bool on)
|
||||
|
||||
Reference in New Issue
Block a user