protected void AddNativeClassFromName(string className)
{
if (this.objectUnityType == null)
{
this.objectUnityType = UnityType.FindTypeByName("Object");
}
UnityType type = UnityType.FindTypeByName(className);
if ((type != null) && (type.persistentTypeID != this.objectUnityType.persistentTypeID))
{
this.nativeClasses[type.persistentTypeID] = className;
}
}