Class SpawnPrefabOnKeyDown
Prefab spawner with a key input
Inherited Members
Namespace: Global Namespace
Syntax
public class SpawnPrefabOnKeyDown : MonoBehaviour
Fields
m_KeyCode
Declaration
public KeyCode m_KeyCode
Field Value
| Type | Description |
|---|---|
| KeyCode |
m_Prefab
Declaration
public GameObject m_Prefab
Field Value
| Type | Description |
|---|---|
| GameObject |