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

        PathGrid script = (PathGrid)target;

        if (GUILayout.Button("Initialize Grid"))
        {
            script.InitializeGrid();
        }
    }