imported>Epsilion mNo edit summary |
update table headers and example |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
== Method type and Arguments == | |||
Explains what kind of method it is ([[Type:Action`1|Action]], [[Type:Func`1|Func`1]], etc) and the variable types and names of the arguments (ex: "point: [[Types:Float3|Float3]], weight: [[Types:Float|Float]]" | |||
| | |||
| Name | == Examples == | ||
From [[Component:RandomObjectSpawner|RandomObjectSpawner]] | |||
{{Table ComponentTriggers | |||
|Spawn()|[[Type:Action`1|Action]]| 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]]<point: [[Types:Float3|Float3]]>| Spawns a slot randomly selected from <code>Templates</code>, located at the position specified in the <code>Float3</code> argument | |||
}} | |||
<onlyinclude><includeonly>{| class="wikitable mw-collapsible" | |||
|+ Triggers | |||
|- | |||
! Method Name | |||
! Method type and Arguments. | |||
! Description | |||
{{#if:{{{1|}}}| | {{#if:{{{1|}}}| | ||
{{!}}- | {{!}}- | ||
Line 236: | Line 248: | ||
}} | }} | ||
|- | |- | ||
|} | |}</includeonly></onlyinclude> |
Latest revision as of 19:39, 13 November 2024
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
Method Name | Method type and Arguments. | Description |
---|---|---|
Spawn()
|
Action | Spawns a slot randomly selected from Templates , located at the origin of this component's parent slot.
|
SpawnAtPoint()
|
Action`1<point: Float3> | Spawns a slot randomly selected from Templates , located at the position specified in the Float3 argument
|