Skip to content

Game Object Find Closest With FSM Template

Finds the closest GameObject with a specific FSM template.

Parameter Description
GameObject Source object to measure from.
Fsm Template Template capability to search for.
Max Distance Excludes objects farther than this distance.
Exclude Children If true, excludes child objects of the source.
Include Inactive If true, includes inactive objects in the search.
Closest Output closest matching GameObject.
Fsm Template Component Output matching FSM template component.