Beispiel #1
0
        public override void OnInspectorGUI()
        {
            DrawDefaultInspector();

            LootManager myScript = (LootManager)target;

            if (GUILayout.Button("Load LootDatabase"))
            {
                myScript.LoadDatabase();
            }
        }