Class: Entity
Lua
C++
Edit

Entity:GetComponent

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

Syntax

Parameter Description
name the component class name

Returns

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

Copyright © 2024 Ultra Software.
All rights reserved.