Class: Entity
Lua
C++
Edit

Entity::GetComponent

This method retrieves an entity's component, if it exists.

Syntax

Parameter Description
T class type

Returns

Returns a component if it exists, otherwise NULL is returned.

Copyright © 2024 Ultra Software.
All rights reserved.