Beispiel #1
0
        void ShowButtons()
        {
            PDPlayer pdPlayer = FindObjectOfType <PDPlayer>();

            if (pdPlayer != null)
            {
                return;
            }

            Separator();

            if (pdPlayer == null)
            {
                if (LargeAddElementButton("Add Pure Data Player".ToGUIContent()))
                {
                    audioPlayer.AddComponent <PDPlayer>();
                }
            }
        }