Class CFX_SpawnSystem
- Namespace
- Global
- Assembly
- Assembly-CSharp.dll
public class CFX_SpawnSystem : MonoBehaviour
- Inheritance
-
CFX_SpawnSystem
Constructors
CFX_SpawnSystem()
Fields
hideObjectsInHierarchy
public bool hideObjectsInHierarchy
Field Value
- bool
objectsToPreload
public GameObject[] objectsToPreload
Field Value
- GameObject[]
objectsToPreloadTimes
public int[] objectsToPreloadTimes
Field Value
- int[]
Properties
AllObjectsLoaded
public static bool AllObjectsLoaded { get; }
Property Value
- bool
Methods
GetNextObject(GameObject, bool)
public static GameObject GetNextObject(GameObject sourceObj, bool activateObject = true)
Parameters
sourceObj
GameObject
activateObject
bool
Returns
- GameObject
PreloadObject(GameObject, int)
public static void PreloadObject(GameObject sourceObj, int poolSize = 1)
Parameters
sourceObj
GameObject
poolSize
int
UnloadObjects(GameObject)
public static void UnloadObjects(GameObject sourceObj)
Parameters
sourceObj
GameObject