コード例 #1
0
        private void Reset_ClickValues(Def.DeviceParams param)
        {
            Reset_ClickValues();

            minDistance          = param.dragBoundary;
            minimumMovedDistance = param.minimumDragBoundary;
        }
コード例 #2
0
        public void ImportModule()
        {
            Def.Platform runtimePlatform = RuntimePlatform();

            Def.DeviceParams param = new Def.DeviceParams();
            if (runtimePlatform == Def.Platform.PC)
            {
                param.Init(runtimePlatform, Def.Device.MOUSE);
                InputDevice <Mouse> .Module.Init(param);
            }
            else if (runtimePlatform == Def.Platform.MOBILE)
            {
                param.Init(runtimePlatform, Def.Device.TOUCHSCREEN);
                InputDevice <TouchScreen> .Module.Init(param);
            }
        }
コード例 #3
0
 public override void Init(Def.DeviceParams param)
 {
     Reset_ClickValues(param);
 }
コード例 #4
0
 public abstract void Init(Def.DeviceParams param);