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