Beispiel #1
0
    // Start is called before the first frame update
    void Start()
    {
        //pd.SetFloatParameter(Hv_RoboVoices2_AudioLib.Parameter.Volume, 0f);
        pd.SendEvent(Hv_RoboVoices4_AudioLib.Event.Toggleonoff);
        lines.Add(new KeyValuePair <string, float>("pause", 2.5f));                                                        //0

        lines.Add(new KeyValuePair <string, float>("BitCaptain Effem: OH TO SAIL THE HIGH C’S", 2.5f));                    //1
        lines.Add(new KeyValuePair <string, float>("BitCaptain Effem: TO FEEL THE SALT BRUSH AGAINST MY CIRCUITS", 3.5f)); //2
        lines.Add(new KeyValuePair <string, float>("BitCaptain Effem: I AM PROGRAMMED TO ENJOY THIS", 2.5f));              //3
        lines.Add(new KeyValuePair <string, float>("pause", 2.5f));                                                        //4

        lines.Add(new KeyValuePair <string, float>("BitCaptain Effem: ENGAGE ENJOYMENT.PROTOCOL()", 3f));                  //5
        lines.Add(new KeyValuePair <string, float>("<------------------------------------------------->", 2f));            //6
        lines.Add(new KeyValuePair <string, float>("<XX--------------------------------------------->", 2f));              //7
        lines.Add(new KeyValuePair <string, float>("<XXXX----------------------------------------->", 2f));                //8
        lines.Add(new KeyValuePair <string, float>("<XXXXXX------------------------------------->", 2f));                  //9
        //lines.Add(new KeyValuePair<string, float>("pause", 2.5f)); //10

        // SWITCH
        lines.Add(new KeyValuePair <string, float>("Sawtooth Sigmoid: UNCLOAK.EXE", 1.75f)); //10
        lines.Add(new KeyValuePair <string, float>("Sawtooth Sigmoid: FIRE AT WILL", 2.5f)); //11

        // SWITCH
        lines.Add(new KeyValuePair <string, float>("BitCaptain Effem: THE SAWTOOTH GANG! THOSE BETA BOTS ARE NOTHING BUT BAD PROTOTYPES", 6f)); //12
        lines.Add(new KeyValuePair <string, float>("BitCaptain Effem: FIRE BACK", 1.75f));                                                      //13
        lines.Add(new KeyValuePair <string, float>("pause", .5f));                                                                              //14

        // SWITCH
        lines.Add(new KeyValuePair <string, float>("Sawtooth Sigmoid: ALWAYS AN UPDATE BEHIND, EFFEM", 3.5f)); //15
        lines.Add(new KeyValuePair <string, float>("pause", .5f));                                             //16

        // SWITCH
        lines.Add(new KeyValuePair <string, float>("BitCaptain Effem: LOOP eRoorRRrrr", 2.5f)); //17
    }
Beispiel #2
0
    public override void OnInspectorGUI()
    {
        bool isEnabled = _dsp.IsInstantiated();

        if (!isEnabled)
        {
            EditorGUILayout.LabelField("Press Play!", EditorStyles.centeredGreyMiniLabel);
        }
        GUILayout.BeginVertical();
        // EVENTS
        GUI.enabled = isEnabled;
        EditorGUILayout.Space();

        // switchbot
        if (GUILayout.Button("switchbot"))
        {
            _dsp.SendEvent(Hv_RoboVoices4_AudioLib.Event.Switchbot);
        }

        // toggleonoff
        if (GUILayout.Button("toggleonoff"))
        {
            _dsp.SendEvent(Hv_RoboVoices4_AudioLib.Event.Toggleonoff);
        }



        GUILayout.EndVertical();
    }