Esempio n. 1
0
    public override void OnInspectorGUI()
    {
        DrawDefaultInspector();

        UILayout myScript = (UILayout)target;

        if (GUILayout.Button("DoLayout"))
        {
            myScript.DoLayout();
        }
    }