protected void Update() { if (controlState.Equals(ControlState.Enabled)) { #if (UNITY_IOS || UNITY_ANDROID) && !UNITY_EDITOR TouchControl(); #elif UNITY_WEBGL || UNITY_EDITOR MouseControl(); #endif } }