Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Classes | Public Types | Public Member Functions | Public Attributes | Properties | List of all members
NestedPrefabSpawner Class Reference

Spawns in prefabs from the list More...

Inheritance diagram for NestedPrefabSpawner:

Classes

class  NestedPrefab
 

Public Types

enum  SpawnOnEvent { SpawnOnEvent.None, SpawnOnEvent.Awake, SpawnOnEvent.StartPlusDelay }
 

Public Member Functions

void CleanUp ()
 
void SpawnPrefabs ()
 

Public Attributes

LayerMask allowedLayers = (~0)
 
string[] allowedTags
 
EventData< NestedPrefabOnSpawn = new EventData<NestedPrefab>("OnSpawn")
 
List< NestedPrefabPrefabs
 
SpawnOnEvent SpawnOn = SpawnOnEvent.Awake
 
int startDelay = 0
 

Properties

bool Spawned [get, set]
 

Detailed Description

Spawns in prefabs from the list

Member Enumeration Documentation

Enumerator
None 
Awake 
StartPlusDelay 

Member Function Documentation

void NestedPrefabSpawner.CleanUp ( )
inline
void NestedPrefabSpawner.SpawnPrefabs ( )
inline

Member Data Documentation

LayerMask NestedPrefabSpawner.allowedLayers = (~0)
string [] NestedPrefabSpawner.allowedTags
EventData<NestedPrefab> NestedPrefabSpawner.OnSpawn = new EventData<NestedPrefab>("OnSpawn")
List<NestedPrefab> NestedPrefabSpawner.Prefabs
SpawnOnEvent NestedPrefabSpawner.SpawnOn = SpawnOnEvent.Awake
int NestedPrefabSpawner.startDelay = 0

Property Documentation

bool NestedPrefabSpawner.Spawned
getset

The documentation for this class was generated from the following file: