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

        QuizzedTheme myScript = (QuizzedTheme)target;

        if (GUILayout.Button("Apply Theme"))
        {
            myScript.ApplyTheme();
        }
    }