EntityGameObjectLinker Class

Namespace: Improbable.Gdk.SubscriptionsSource


Constructors

EntityGameObjectLinker Source
EntityGameObjectLinker(World world)

Parameters
  • World world :


Methods

LinkGameObjectToSpatialOSEntity Source
void LinkGameObjectToSpatialOSEntity(EntityId entityId, GameObject gameObject, params Type[] componentTypesToAdd)

Parameters
  • EntityId entityId :
  • GameObject gameObject :
  • params Type[] componentTypesToAdd :

UnlinkGameObjectFromEntity Source
void UnlinkGameObjectFromEntity(EntityId entityId, GameObject gameObject)

Parameters
  • EntityId entityId :
  • GameObject gameObject :

UnlinkAllGameObjects Source
void UnlinkAllGameObjects()


UnlinkAllGameObjectsFromEntityId Source
void UnlinkAllGameObjectsFromEntityId(EntityId entityId)

Parameters

Updated about a year ago


EntityGameObjectLinker Class


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.