private void Reset_ClickValues(Def.DeviceParams param) { Reset_ClickValues(); minDistance = param.dragBoundary; minimumMovedDistance = param.minimumDragBoundary; }
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); } }
public override void Init(Def.DeviceParams param) { Reset_ClickValues(param); }
public abstract void Init(Def.DeviceParams param);