public void Initialize(IEventCamera eventCamera, IInputWrapper inputWrapper, IMetaInputModule metaInputModule) { _eventCamera = eventCamera; _inputWrapper = inputWrapper; _metaInputModule = metaInputModule; _isShown = metaInputModule.MouseConfig.EnableOnStart; }
private void Start() { GameObject gizmoGameObject = new GameObject("gizmo"); gizmoGameObject.hideFlags = HideFlags.HideInHierarchy; _gizmoTransform = gizmoGameObject.transform; _eventCamera = metaContext.Get <IEventCamera>(); }
public void Initialize(IEventCamera eventCamera, IInputWrapper inputWrapper, IMetaInputModule metaInputModule) { _eventCamera = eventCamera; _inputWrapper = inputWrapper; _metaInputModule = metaInputModule; }