| | 1 | | using DCL.Controllers; |
| | 2 | | using DCL.ECS7.UI; |
| | 3 | | using UnityEngine; |
| | 4 | |
|
| | 5 | | namespace DCL |
| | 6 | | { |
| | 7 | | public class DataStore_ECS7 |
| | 8 | | { |
| | 9 | | public class PointerEvent |
| | 10 | | { |
| | 11 | | public int buttonId = 0; |
| | 12 | | public bool isButtonDown = false; |
| | 13 | | public bool hasValue = false; |
| | 14 | | } |
| | 15 | |
|
| | 16 | | public class RaycastEvent |
| | 17 | | { |
| | 18 | | public class Hit |
| | 19 | | { |
| | 20 | | public float distance; |
| | 21 | | public Vector3 normal; |
| | 22 | | public Vector3 point; |
| | 23 | | public Collider collider; |
| | 24 | | } |
| | 25 | |
|
| 0 | 26 | | public Hit hit = new Hit(); |
| | 27 | | public Ray ray; |
| | 28 | | public bool didHit; |
| | 29 | | public bool hasValue = false; |
| | 30 | | } |
| | 31 | |
|
| 551 | 32 | | public readonly BaseList<IParcelScene> scenes = new BaseList<IParcelScene>(); |
| 551 | 33 | | public readonly BaseDictionary<string, BaseRefCountedCollection<object>> pendingSceneResources = new BaseDiction |
| 551 | 34 | | public readonly BaseDictionary<long, GameObject> shapesReady = new BaseDictionary<long, GameObject>(); |
| 551 | 35 | | public IUIDataContainer uiDataContainer = new UIDataContainer(); |
| | 36 | | public bool isEcs7Enabled = false; |
| 551 | 37 | | public PointerEvent lastPointerInputEvent = new PointerEvent(); |
| 551 | 38 | | public RaycastEvent lastPointerRayHit = new RaycastEvent(); |
| | 39 | | } |
| | 40 | | } |