Example #1
0
        public Device(int deviceId)
        {
            airController = AirController.Instance;
            DeviceId      = deviceId;
            Input         = new Input();

            airController.StartCoroutine(LoadProfilePicture());
        }
Example #2
0
        public Device(int deviceId)
        {
            airController = AirController.Instance;
            DeviceId      = deviceId;
            UID           = AirConsole.instance.GetUID(deviceId);

            Input    = new Input();
            SaveData = new SaveData();

            if (airController.autoLoadSavedata)
            {
                AirConsole.instance.RequestPersistentData(new List <string> {
                    UID
                });
            }

            airController.StartCoroutine(LoadProfilePicture());
        }