Exemplo n.º 1
0
 public void Initialize(IEventCamera eventCamera, IInputWrapper inputWrapper, IMetaInputModule metaInputModule)
 {
     _eventCamera     = eventCamera;
     _inputWrapper    = inputWrapper;
     _metaInputModule = metaInputModule;
     _isShown         = metaInputModule.MouseConfig.EnableOnStart;
 }
Exemplo n.º 2
0
        private void Start()
        {
            GameObject gizmoGameObject = new GameObject("gizmo");

            gizmoGameObject.hideFlags = HideFlags.HideInHierarchy;
            _gizmoTransform           = gizmoGameObject.transform;
            _eventCamera = metaContext.Get <IEventCamera>();
        }
Exemplo n.º 3
0
 public void Initialize(IEventCamera eventCamera, IInputWrapper inputWrapper, IMetaInputModule metaInputModule)
 {
     _eventCamera     = eventCamera;
     _inputWrapper    = inputWrapper;
     _metaInputModule = metaInputModule;
 }