// Use this for initialization
    void Start()
    {
        PensatoLeapVREnvCtrl.mainControl = this;
        PensatoLeapVREnvCtrl.currentColor = PensatoLeapVREnvCtrl.colorChoices[0];

        liveSongCtrl = (LiveSongProxyController)LiveSongProxyController.instance;

        addEnvironment(40, 0.025f);
    }
    void Start()
    {
        PensatoLeapVREnvCtrl.mainControl = this;
        PensatoLeapVREnvCtrl.currentColor = PensatoLeapVREnvCtrl.colorChoices[0];

        liveSongCtrl = (LiveSongProxyController)LiveSongProxyController.instance;
        addEnvironment(40, 0.025f);

        liveLink.proxyCreationComplete += connectPlugs;
    }
예제 #3
0
    // Use this for initialization
    void Start()
    {
        //Proxy queues
        m_liveProxies = new Dictionary<string, LiveProxy>();
        m_freshProxies = new Queue<LiveProxy>();
        m_queuedProxyCreations = new ConcurrentQueue<Func<LiveProxy>>();
        m_queuedProxyRemovals = new ConcurrentQueue<Action>();

        //Proxy controllers
        m_songController = GetComponent<LiveSongProxyController>();
        m_trackController = GetComponent<LiveTrackProxyController>();
        m_deviceController = GetComponent<LiveDeviceProxyController>();
        m_parameterController = GetComponent<LiveParameterProxyController>();
        m_clipController = GetComponent<LiveClipProxyController>();

        if (node != null) StartCoroutine("RegisterNode");
    }