Godot Nature of Code
1.2.0
Nature of Code implemented in Godot Engine
|
Touch spawner. Touch anywhere and spawn something. Can also spawn on demand using SpawnBody
.
More...
Inherits Node2D.
Public Member Functions | |
delegate Node2D | SpawnFuncDef (Vector2 position) |
Spawn function definition More... | |
SimpleTouchSpawner () | |
Create a simple touch spawner. More... | |
void | SpawnBody (Vector2 position) |
Spawn body at position. More... | |
Public Attributes | |
SpawnFuncDef | SpawnFunction |
Spawn function More... | |
Node | Container |
Target container. Defaults to parent. | |
Touch spawner. Touch anywhere and spawn something. Can also spawn on demand using SpawnBody
.
Definition at line 13 of file SimpleTouchSpawner.cs.
|
inline |
Create a simple touch spawner.
Definition at line 27 of file SimpleTouchSpawner.cs.
|
inline |
Spawn body at position.
position | Target position |
Definition at line 36 of file SimpleTouchSpawner.cs.
delegate Node2D Utils.SimpleTouchSpawner.SpawnFuncDef | ( | Vector2 | position | ) |
Spawn function definition
SpawnFuncDef Utils.SimpleTouchSpawner.SpawnFunction |
Spawn function
Definition at line 19 of file SimpleTouchSpawner.cs.