예제 #1
0
 public override void OnInspectorGUI()
 {
     GUILayout.BeginHorizontal("Box");
     {
         GUILayout.Label("Id:");
         GUILayout.Label(item.GetId().ToString());
     }
     GUILayout.EndHorizontal();
     base.OnInspectorGUI();
 }
예제 #2
0
 public void Init(ItemBase itemBase)
 {
     this.itemBase = itemBase;
     itemId        = itemBase.GetId();
 }