public static void ReinitializeScriptCRCs(Assembly callingAssembly)
{
singleton.m_Scripts.Clear();
foreach (System.Type type in callingAssembly.GetTypes())
{
if (DotNetCompatibility.GetBaseType(type) == typeof(NetworkBehaviour))
{
MethodInfo method = type.GetMethod(".cctor", BindingFlags.Static);
if (method != null)
{
method.Invoke(null, new object[0]);
}
}
}
}