Class PersistentObjectsHolder
- Namespace
- DefaultNamespace
- Assembly
- Assembly-CSharp.dll
public class PersistentObjectsHolder : RetrievableSingleton<PersistentObjectsHolder>
- Inheritance
-
PersistentObjectsHolder
- Inherited Members
-
RetrievableSingleton<PersistentObjectsHolder>.OnRemoved()
RetrievableSingleton<PersistentObjectsHolder>.RemoveInstance()
RetrievableSingleton<PersistentObjectsHolder>.Instance
- Extension Methods
-
Constructors
PersistentObjectsHolder()
public PersistentObjectsHolder()
Fields
m_LastScene
public string m_LastScene
Field Value
- string
m_PersistentDiveBellObjects
public List<PersistentObjectInfo> m_PersistentDiveBellObjects
Field Value
- List<PersistentObjectInfo>
m_PersistentObjectDic
public Dictionary<Pickup, PersistentObjectInfo> m_PersistentObjectDic
Field Value
- Dictionary<Pickup, PersistentObjectInfo>
m_PersistentObjects
public List<PersistentObjectInfo> m_PersistentObjects
Field Value
- List<PersistentObjectInfo>
m_PersistentSurfaceObjects
public List<PersistentObjectInfo> m_PersistentSurfaceObjects
Field Value
- List<PersistentObjectInfo>
Methods
AddPersistentDiveBellObject(Pickup, DivingBell)
public void AddPersistentDiveBellObject(Pickup p, DivingBell bell)
Parameters
p
Pickup
bell
DivingBell
AddPersistentObject(PersistantObject)
public void AddPersistentObject(PersistantObject go)
Parameters
go
PersistantObject
AddPersistentObject(Pickup, Item)
public void AddPersistentObject(Pickup p, Item itemToUse)
Parameters
p
Pickup
itemToUse
Item
ClearPersistentDivebellObjects()
public void ClearPersistentDivebellObjects()
ClearPersistentObjects()
public void ClearPersistentObjects()
ClearPersistentSurfaceObjects()
public void ClearPersistentSurfaceObjects()
FindDivebellItems()
public void FindDivebellItems()
FindPersistantObjects()
public void FindPersistantObjects()
FindPersistantSurfaceObjects()
public void FindPersistantSurfaceObjects()
FindPersistantSurfaceObjectsLite()
public PersistentObjectInfo[] FindPersistantSurfaceObjectsLite()
Returns
- PersistentObjectInfo[]
OnCreated()
protected override void OnCreated()
OnDestroy()
ResetPersistantObjects()
public void ResetPersistantObjects()
SpawnObjectsDelayed(PersistentObjectInfo[], Vector3?)
public IEnumerator SpawnObjectsDelayed(PersistentObjectInfo[] objectInfos, Vector3? overridePos = null)
Parameters
objectInfos
PersistentObjectInfo[]
overridePos
Vector3?
Returns
- IEnumerator
SpawnPersistentDiveBellObjects()
public void SpawnPersistentDiveBellObjects()
SpawnPersistentObjects()
public void SpawnPersistentObjects()
SpawnPersistentObjects(List<PersistentObjectInfo>)
public void SpawnPersistentObjects(List<PersistentObjectInfo> objects)
Parameters
objects
List<PersistentObjectInfo>
SpawnPersistentSurfaceObjects()
public void SpawnPersistentSurfaceObjects()