Class TypeManager
Syntax
public static class TypeManager
Fields
Properties
Methods
Name |
Description |
CheckIsAllowedAsComponentData(Type, String)
|
|
CheckIsAllowedAsManagedComponentData(Type, String)
|
|
ConstructComponentFromBuffer(Int32, Void*)
|
|
ConstructSystem(Type)
|
Construct a System from a Type. Uses the same list in GetSystems()
|
ConstructSystem<T>()
|
|
ConstructSystem<T>(Type)
|
|
Equals(Object, Object, Int32)
|
|
Equals(Object, Void*, Int32)
|
|
Equals(Void*, Void*, Int32)
|
|
Equals<T>(ref T, ref T)
|
|
GetAllTypes()
|
|
GetEntityOffsets(Int32, out Int32)
|
Note this function will always return a pointer even if the given type has
no Entity offsets. Always check/iterate over the returned pointer using the
returned count
|
GetFastEqualityTypeInfo(TypeManager.TypeInfo)
|
|
GetHashCode(Object, Int32)
|
|
GetHashCode(Void*, Int32)
|
|
GetHashCode<T>(ref T)
|
|
GetSystemAttributes(Type, Type)
|
Get all the attribute objects of Type attributeType for a System.
|
GetSystemName(Type)
|
|
GetSystems(WorldSystemFilterFlags, WorldSystemFilterFlags)
|
Return an array of all System types available to the runtime matching the WorldSystemFilterFlags. By default,
all systems available to the runtime is returned.
|
GetType(Int32)
|
|
GetTypeCount()
|
|
GetTypeIndex(Type)
|
|
GetTypeIndex<T>()
|
|
GetTypeIndexFromStableTypeHash(UInt64)
|
|
GetTypeInfo(Int32)
|
|
GetTypeInfo<T>()
|
|
GetWriteGroupTypes(Int32)
|
|
HasEntityReferences(Int32)
|
|
Initialize()
|
Initializes the TypeManager with all ECS type information. May be called multiple times; only the first call
will do any work. Always must be called from the main thread.
|
IsAssemblyReferencingEntities(Assembly)
|
|
IsBuffer(Int32)
|
|
IsChunkComponent(Int32)
|
|
IsEnableable(Int32)
|
|
IsManagedComponent(Int32)
|
|
IsManagedSharedComponent(Int32)
|
|
IsManagedType(Int32)
|
|
IsSharedComponentType(Int32)
|
|
IsSystemAGroup(Type)
|
|
IsSystemStateComponent(Int32)
|
|
IsSystemStateSharedComponent(Int32)
|
|
IsSystemType(Type)
|
|
IsZeroSized(Int32)
|
|
MakeChunkComponentTypeIndex(Int32)
|
|
RegisterUnityEngineObjectType(Type)
|
|
Shutdown()
|
Removes all ECS type information and any allocated memory. May only be called once globally, and must be
called from the main thread.
|
ThrowOnDisallowedComponentData(Type, Type, String)
|
|
ThrowOnDisallowedManagedComponentData(Type, Type, String)
|
|