Example #1
0
    void OnGUI()
    {
        if (GUILayout.Button("Consolidate"))
        {
            UNotesHInventory.SYNC_TEST();
        }
        else if (GUILayout.Button("Restore"))
        {
            UNotesHInventory.RESTORE_TEST();
        }
        else if (GUILayout.Button("Load"))
        {
            UNotesHInventory.LOAD_TEST();
        }
        else if (GUILayout.Button("Save"))
        {
            UNotesHInventory.SAVE_TEST();
        }
        else if (GUILayout.Button("Debug DB"))
        {
            UNotesHInventory.DEBUG_DB();
        }
        else if (GUILayout.Button("Debug Current"))
        {
            UNotesHInventory.DEBUG_CURRENT();
        }
        else if (GUILayout.Button("Debug Scene Hash"))
        {
            UNotesHInventory.DEBUG_SCENEHASH();
        }
        else if (GUILayout.Button("Debug Hash Functions"))
        {
            UNotesHInventory.DEBUG_HASHFUCNTIONS();
        }
        else if (GUILayout.Button("Repaint Hierarchy"))
        {
            EditorApplication.RepaintHierarchyWindow();
        }
        else if (GUILayout.Button("Print Note's Hash"))
        {
            UNotesHInventory.PrintInfo();
        }
        //else if (GUILayout.Button("Reattach to GameObjects"))
        //{

        //}
    }