Beispiel #1
0
    private void DrawRightSide(Rect area)
    {
        EditorGUILayout.BeginVertical();

        if (SelectedNode != null)
        {
            isDirty |= AudioEventDrawer.Draw(SelectedNode);

            EditorGUILayout.Separator();
            EditorGUILayout.Separator();
            EditorGUILayout.BeginHorizontal();

            /*
             *          if (GUILayout.Button("PlayAtPosition"))
             *          {
             *              //FindAudioPlayer();
             *              //audioPlayer.PlayAtPosition(SelectedAudioNode);
             *          }
             *          if (GUILayout.Button("Stop"))
             *          {
             *              //audioPlayer.StoppedNode();
             *          }
             *          if (GUILayout.Button("Pause"))
             *          {
             *              //audioPlayer.Pause();
             *          }*/
            EditorGUILayout.EndHorizontal();
        }

        EditorGUILayout.EndVertical();
    }
    private void DrawRightSide(Rect area)
    {
        EditorGUILayout.BeginVertical();

        if (SelectedNode != null)
        {
            isDirty |= AudioEventDrawer.Draw(SelectedNode);
        }

        EditorGUILayout.EndVertical();
    }