Click or drag to resize
EntityGameObjectsBehaviourTryGetEntityObject Method
Tries to find the game object of the entity with the specified id.

Namespace: Slash.Unity.Common.ECS
Assembly: Slash.Unity.Common (in Slash.Unity.Common.dll) Version: 1.0.6018.40182
Syntax
public bool TryGetEntityObject(
	int entityId,
	out GameObject entityObject
)

Parameters

entityId
Type: SystemInt32
Id of the entity to get.
entityObject
Type: GameObject
Game object of the entity with the specified id, if found, and null otherwise.

Return Value

Type: Boolean
true, if the game object of the entity was found, and false otherwise.
See Also