Пример #1
0
    public override void OnInspectorGUI()
    {
        DrawDefaultInspector();

        if (GUILayout.Button("Load Tile"))
        {
            loader.LoadTile();
        }

        if (GUILayout.Button("Load Random"))
        {
            loader.LoadRandomTile();
        }
    }