Ejemplo n.º 1
0
        public static void ShowWindow(SerializedObject serializedObject)
        {
            EquipmentHandlerEditor window = EditorWindow.GetWindow <EquipmentHandlerEditor>(true, "Setup Items");

            window.minSize          = new Vector2(227, 200);
            window.serializedObject = serializedObject;
            window.target           = serializedObject.targetObject;
            window.wantsMouseMove   = true;
        }
Ejemplo n.º 2
0
 private void OnEnable()
 {
     instance = this;
 }