void Start() { // hide mouse cursor Cursor.visible = false; // get the gestures listener gestureListener = ModelGestureListener.Instance; }
void Start() { // hide mouse cursor //Cursor.visible = false; // get the gestures listener gestureListener = ModelGestureListener.Instance; }
void Start() { // hide mouse cursor //Cursor.visible = false; // by default set the main-camera to be screen-camera if (screenCamera == null) { screenCamera = Camera.main; } // get model initial rotation initialRotation = screenCamera ? Quaternion.Inverse(screenCamera.transform.rotation) * transform.rotation : transform.rotation; // get the gestures listener gestureListener = ModelGestureListener.Instance; }
void Awake() { instance = this; }
private void Start() { // get the gestures listener gestureListener = ModelGestureListener.Instance; }
void Awake() { instance = this; }