public string propertyType; //ARRAY2, LIST public SimpleGameObjectsTracker(Type type) { Type listType = ReflectionExecutor.isListOfType(type); //MyDebugger.MyDebug("is of type " + listType); if (!(listType is null)) { propertyType = "LIST"; objType = listType.AssemblyQualifiedName; name = listType.ToString(); }
public string propertyType; //ARRAY2, LIST public SimpleGameObjectsTracker(Type type) { ReflectionExecutor re = ScriptableObject.CreateInstance <ReflectionExecutor>(); Type listType = re.isListOfType(type); //Debug.Log("is of type " + listType); if (!(listType is null)) { propertyType = "LIST"; objType = listType.AssemblyQualifiedName; name = listType.ToString(); }