SHA256
Add PostRenderHook
This commit is contained in:
1 parent
47a570a3d6
commit
c8e6814efa
3 files changed
+25
-2
No files matched your search
+7
-2
@@ -1,4 +1,4 @@
|
||||
using System;
|
||||
using System;
|
||||
using System.Reflection;
|
||||
using ADOFAIRenderer;
|
||||
using ADOFAIRenderer.Component;
|
||||
@@ -34,7 +34,7 @@ namespace ADOFAIRenderer
|
||||
Object.DontDestroyOnLoad( updateHookerObj );
|
||||
|
||||
renderManagerObj.AddComponent<RenderManager>();
|
||||
updateHookerObj.AddComponent<FirstUpdate>();
|
||||
updateHookerObj.AddComponent<FirstUpdateHook>();
|
||||
LoadBundles();
|
||||
}
|
||||
|
||||
@@ -70,6 +70,11 @@ namespace ADOFAIRenderer
|
||||
Time.timeScale = (float)(Time.deltaTime / realDeltaTime);
|
||||
}
|
||||
|
||||
public static void OnPostRender()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public static void StartRender()
|
||||
{
|
||||
var targetMethod = typeof(scnEditor).GetMethod("TryApplicationQuit",
|
||||
|
||||
Reference in new issue
Block a user