Beispiel #1
0
    void Start()
    {
        _serialEsp32       = GetComponent <SerialEsp32>();
        _skywayDataConnect = GetComponent <SkywayDataConnect>();

        #region Thread
        if (!_isStartThread)
        {
            startThread();
        }
        #endregion
    }
Beispiel #2
0
    void Start()
    {
        _skywayDataConnect    = GetComponent <SkywayDataConnect>();
        _twinCamHmdController = GetComponent <TwinCamHmdController>();

        #region Thread
        if (!_isStartThread)
        {
            startThread();
        }
        #endregion
    }
Beispiel #3
0
    void Awake()
    {
        Time.fixedDeltaTime = _fixedDeltaTime;
        _fps = (int)(1 / _fixedDeltaTime);

        _skywayDataConnect = GetComponent <SkywayDataConnect>();
        if (_isLeft)
        {
            _skywayDataConnect.YourId   = _leftYourId;
            _skywayDataConnect.CallToId = _leftCallToId;
        }
        else
        {
            _skywayDataConnect.YourId   = _rightYourId;
            _skywayDataConnect.CallToId = _rightCallToId;
        }
    }