Class DOTSDynamicBoneComponent
This is a component that creates a single DOTSDynamicBone onto an Entity. If you want more please use the DOTSDynamicBonesComponent or the IndependantDOTSDynamicBoneComponent
Inheritance
System.Object
DOTSDynamicBoneComponent
Implements
IConvertGameObjectToEntity
Namespace: DOTSDynamicBone
Assembly: cs.temp.dll.dll
Syntax
public class DOTSDynamicBoneComponent : MonoBehaviour, IConvertGameObjectToEntity
Remarks
This is a component that creates a single DOTSDynamicBone onto an Entity. If you want more please use the DOTSDynamicBonesComponent or the IndependantDOTSDynamicBoneComponent
Fields
m_DOTSDynamicBone
Declaration
public DOTSDynamicBoneClass m_DOTSDynamicBone
Field Value
| Type | Description |
|---|---|
| DOTSDynamicBoneClass |
Methods
Convert(Entity, EntityManager, GameObjectConversionSystem)
Sets up the Entity during conversion
Declaration
public void Convert(Entity entity, EntityManager dstManager, GameObjectConversionSystem conversionSystem)
Parameters
| Type | Name | Description |
|---|---|---|
| Entity | entity | The entity the GameObject will be convert to. |
| EntityManager | dstManager | The provided Entitymanager for conversion. |
| GameObjectConversionSystem | conversionSystem | The provided GameObjectConversionSystem for conversion. |
Start()
Declaration
public void Start()
Implements
IConvertGameObjectToEntity