public UIStandardInputModule(TouchScriptInputModule input) { this.input = input; #if UNITY_5_6_OR_NEWER uiSampler = CustomSampler.Create("[TouchScript] Update UI"); #endif }
protected override void OnDisable() { disable(); if (instance == this) { instance = null; } base.OnDisable(); }
protected override void OnEnable() { base.OnEnable(); if (instance == null) { instance = this; } else { if (instance == this) { return; } Destroy(this); } }
public UIStandardInputModule(TouchScriptInputModule input) { this.input = input; uiSampler = CustomSampler.Create("[TouchScript] Update UI"); }