Class EntityManagerExtensions
Inheritance
System.Object
EntityManagerExtensions
Syntax
public static class EntityManagerExtensions
Methods
AddBufferFromString<T>(EntityManager, Entity, String)
Declaration
public static void AddBufferFromString<T>(this EntityManager manager, Entity entity, string value)
where T : struct, IBufferElementData
Parameters
Type |
Name |
Description |
EntityManager |
manager |
|
Entity |
entity |
|
System.String |
value |
|
Type Parameters
GetBufferAsString<T>(EntityManager, Entity)
Declaration
public static string GetBufferAsString<T>(this EntityManager manager, Entity entity)
where T : struct, IBufferElementData
Parameters
Type |
Name |
Description |
EntityManager |
manager |
|
Entity |
entity |
|
Returns
Type |
Description |
System.String |
|
Type Parameters
GetBufferRO<T>(EntityManager, Entity)
Declaration
public static DynamicBuffer<T> GetBufferRO<T>(this EntityManager manager, Entity entity)
where T : struct, IBufferElementData
Parameters
Type |
Name |
Description |
EntityManager |
manager |
|
Entity |
entity |
|
Returns
Type |
Description |
DynamicBuffer<T> |
|
Type Parameters
SetBufferFromString<T>(EntityManager, Entity, String)
Declaration
public static void SetBufferFromString<T>(this EntityManager manager, Entity entity, string value)
where T : struct, IBufferElementData
Parameters
Type |
Name |
Description |
EntityManager |
manager |
|
Entity |
entity |
|
System.String |
value |
|
Type Parameters