Template:Table ComponentTriggers test: Difference between revisions

Template page
create test template
 
fix table
 
Line 7: Line 7:


{{Table ComponentTriggers_test
{{Table ComponentTriggers_test
|Spawn()|[[Type:Action`1|Action]]| Spawns a slot randomly selected from <code>Templates</code>, located at the origin of this component's parent slot.
|Spawn()|[[Type:Action`1|Action]]|false| Spawns a slot randomly selected from <code>Templates</code>, located at the origin of this component's parent slot.
|SpawnAtPoint()|[[Type:Action`1|Action`1]]&lt;point: [[Types:Float3|Float3]]&gt;| h
|SpawnAtPoint()|[[Type:Action`1|Action`1]]&lt;point: [[Types:Float3|Float3]]&gt;|false| h
}}
}}



Latest revision as of 06:38, 17 March 2025

Method type and Arguments

Explains what kind of method it is (Action, Func`1, etc) and the variable types and names of the arguments (ex: "point: Float3, weight: Float"

Examples

From RandomObjectSpawner

Triggers
Method Name Method type and Arguments. Description
Spawn() Action X Spawns a slot randomly selected from Templates, located at the origin of this component's parent slot.
SpawnAtPoint() Action`1<point: Float3> X h