Пример #1
0
        public void Start()
        {
            this.state = ServiceStatus.DISCONNECTED;

            rHandler = RedisHandler.Instance;
            rHandler.ConnectionStatusChanged      += OnRedisHandlerConnectionStateChanged;
            rHandler.ConnectionStatusNotification += OnRedisHandlerConnectionNotificationStatus;
            rHandler.NewService("extrinsics");
            ServiceConnectionStateChanged += OnServiceConnectionStateChanged;
        }
Пример #2
0
        public void Start()
        {
            state = ServiceStatus.DISCONNECTED;

            rHandler = RedisHandler.Instance;
            rHandler.ConnectionStatusChanged      += OnRedisHandlerConnectionStateChanged;
            rHandler.ConnectionStatusNotification += OnRedisHandlerConnectionStatusNotification;

            rHandler.NewService("texturer");

            ServiceConnectionStateChanged += OnServiceConnectionStateChanged;
        }
Пример #3
0
        void Start()
        {
            rect          = new Rect(0, 0, screenWidth, screenHeight);
            renderTexture = new RenderTexture(screenWidth, screenHeight, 24);
            texture       = new Texture2D(screenWidth, screenHeight, TextureFormat.RGB24, false);

            state = ServiceStatus.DISCONNECTED;

            rHandler = RedisHandler.Instance;
            rHandler.ConnectionStatusChanged      += OnRedisHandlerConnectionStateChanged;
            rHandler.ConnectionStatusNotification += OnRedisHandlerConnectionStatusNotification;
            rHandler.NewService("recorder");

            ServiceConnectionStateChanged += OnServiceConnectionStateChanged;
        }