mirror of
https://github.com/originalnicodr/CinematicUnityExplorer.git
synced 2026-10-12 02:18:04 +08:00
finished C# Console and Debug Console, starting work on Scene Explorer
This commit is contained in:
1 parent
2256828384
commit
fd950e2aef
20 files changed
+1167
-368
No files matched your search
+2
-4
@@ -19,10 +19,6 @@ namespace ExplorerBeta.UI
|
||||
|
||||
public static void Init()
|
||||
{
|
||||
var res = UIFactory.UIResources = new UIFactory.Resources();
|
||||
var bg = CreateSprite(MakeSolidTexture(new Color(0.16f, 0.16f, 0.16f), 1, 1));
|
||||
res.background = bg;
|
||||
|
||||
// Create core UI Canvas and Event System handler
|
||||
CreateRootCanvas();
|
||||
|
||||
@@ -82,6 +78,7 @@ namespace ExplorerBeta.UI
|
||||
}
|
||||
|
||||
// Fix for games which override the InputModule pointer events (eg, VRChat)
|
||||
#if CPP
|
||||
if (InputModule.m_InputPointerEvent != null)
|
||||
{
|
||||
var evt = InputModule.m_InputPointerEvent;
|
||||
@@ -90,6 +87,7 @@ namespace ExplorerBeta.UI
|
||||
evt.eligibleForClick = true;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
if (PanelDragger.Instance != null)
|
||||
|
||||
Reference in new issue
Block a user