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

        if (GUILayout.Button("New Item"))
        {
            itemBase.CreateItem();
        }

        if (GUILayout.Button("Remote"))
        {
            itemBase.DeleteItem();
        }

        if (GUILayout.Button("<="))
        {
            itemBase.PrevItem();
        }
        if (GUILayout.Button("=>"))
        {
            itemBase.NextItem();
        }



        GUILayout.EndHorizontal();

        base.OnInspectorGUI();
    }