Fix editor initialize
This commit is contained in:
1 parent
fae7d257ab
commit
d2eddd29f2
1 file changed
+3
@@ -12,6 +12,9 @@ namespace Assets.ThoMagic.Renderer
|
||||
{
|
||||
public class FrameRenderer
|
||||
{
|
||||
#if UNITY_EDITOR
|
||||
[InitializeOnLoadMethod]
|
||||
#endif
|
||||
[RuntimeInitializeOnLoadMethod]
|
||||
public static void Initialize()
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user