Entitas  0.35.0
Entitas is a super fast Entity Component System (ECS) Framework specifically made for C# and Unity
Static Public Member Functions | Public Attributes | List of all members
Entitas.EntityExtension Class Reference

Static Public Member Functions

static string AddComponentSuffix (this string componentName)
 
static string RemoveComponentSuffix (this string componentName)
 
static void CopyTo (this Entity entity, Entity target, bool replaceExisting=false, params int[] indices)
 

Public Attributes

const string COMPONENT_SUFFIX = "Component"
 

Detailed Description

Definition at line 5 of file EntityExtension.cs.

Member Function Documentation

§ CopyTo()

static void Entitas.EntityExtension.CopyTo ( this Entity  entity,
Entity  target,
bool  replaceExisting = false,
params int []  indices 
)
inlinestatic

Adds copies of all specified components to the target entity. If replaceExisting is true it will replace exisintg components.

Definition at line 23 of file EntityExtension.cs.


The documentation for this class was generated from the following file: