private void Awake()
        {
            m_fingerForceDataProvider = GameObject.FindObjectOfType <FingerForceDataProvider>();

            m_appState = GameObject.FindObjectOfType <AppState>();

            m_udpHelper = GameObject.FindObjectOfType <UDPHelper>();

            m_inputValueSender = GameObject.FindObjectOfType <InputValueSender>();

            m_oscSend = GameObject.FindObjectOfType <OSC_Send>();

            m_keyManager = GameObject.FindObjectOfType <KeyManager>();
        }
示例#2
0
    // Use this for initialization
    void Start()
    {
        KeyInfoList = new List <List <KeyInfo> >()
        {
            thumbStore, indexStore, middleStore, ringStore, littleStore
        };
        AutoManager = new List <AutoPlay>()
        {
            thumbAuto, indexAuto, middleAuto, ringAuto, littleAuto
        };
        KeyList = new List <List <int> >()
        {
            thumbKey, indexKey, middleKey, ringKey, littleKey
        };
        OnList = new List <List <int> >()
        {
            thumbOn, indexOn, middleOn, ringOn, littleOn
        };

        m_oscSend     = GameObject.FindObjectOfType <OSC_Send>();
        m_midiManager = GameObject.FindObjectOfType <MIDImanager>();
    }