feat: hovering over fact now shows representation
WorldFactInteraction: Hovering over a worldspace fact in mathmode now shows the fact display. This display can be dragged into scrolls like facts from the fact display. Additional changes: - WorldFactInteraction added to Mathmode canvas, as it should only be active if the canvas is active - Sorting order of Math canvas increased to 10 (from 0), so that dragged facts will always be displayed on top - DisplayFacts Dictionary is now static and thus available from other classes that need the fact display (this is not ideal and should maybe be extracted) - DragHandling: dragged variable now public, as this is of interest to other classes
Showing
- Assets/Resources/Prefabs/Stage_Default.prefab 35 additions, 3 deletionsAssets/Resources/Prefabs/Stage_Default.prefab
- Assets/Resources/Prefabs/UI/Ingame/FrameITUI_mobile.prefab 6 additions, 6 deletionsAssets/Resources/Prefabs/UI/Ingame/FrameITUI_mobile.prefab
- Assets/Scripts/InteractionEngine/WorldFactInteraction.cs 75 additions, 0 deletionsAssets/Scripts/InteractionEngine/WorldFactInteraction.cs
- Assets/Scripts/InteractionEngine/WorldFactInteraction.cs.meta 11 additions, 0 deletions...ts/Scripts/InteractionEngine/WorldFactInteraction.cs.meta
- Assets/Scripts/InventoryStuff/DisplayFacts.cs 1 addition, 1 deletionAssets/Scripts/InventoryStuff/DisplayFacts.cs
- Assets/Scripts/InventoryStuff/DragHandling.cs 1 addition, 1 deletionAssets/Scripts/InventoryStuff/DragHandling.cs
Loading
Please register or sign in to comment