Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev/v3.0.5 #8

Merged
merged 10 commits into from
Jul 3, 2017
Merged
Prev Previous commit
避免可能的JIT
  • Loading branch information
Jiang Yin committed Jun 30, 2017
commit c7bbc8d6bd51294dc63036e07c023c79e3c78104
3 changes: 3 additions & 0 deletions UnityGameFramework/Assets/GameFramework/Configs/link.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,7 @@
<namespace fullname="GameFramework.UI" preserve="all" />
<namespace fullname="GameFramework.WebRequest" preserve="all" />
</assembly>
<assembly fullname="Assembly-CSharp">
<namespace fullname="UnityGameFramework.Runtime" preserve="all" />
</assembly>
</linker>
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
using GameFramework.Procedure;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace UnityGameFramework.Runtime
Expand Down Expand Up @@ -113,5 +114,10 @@ public ProcedureBase GetProcedure<T>() where T : ProcedureBase
{
return m_ProcedureManager.GetProcedure<T>();
}

private void AvoidJIT()
{
new Dictionary<int, FsmEventHandler<IProcedureManager>>();
}
}
}