|
void | Awake () |
|
Transform | _Spawn (string id, string path, Transform parent) |
|
Transform | _Spawn (string id, Transform original, Transform parent) |
|
Definition at line 4 of file PoolManager.cs.
◆ _Spawn() [1/2]
Transform PoolManager._Spawn |
( |
string |
id, |
|
|
string |
path, |
|
|
Transform |
parent |
|
) |
| |
|
inlineprivate |
◆ _Spawn() [2/2]
Transform PoolManager._Spawn |
( |
string |
id, |
|
|
Transform |
original, |
|
|
Transform |
parent |
|
) |
| |
|
inlineprivate |
◆ Awake()
void PoolManager.Awake |
( |
| ) |
|
|
inlineprivate |
Definition at line 67 of file PoolManager.cs.
68 {
72 groups =
new Dictionary<string, PoolGroup>();
73 base.gameObject.SetActive(value: false);
74 }
static PoolManager current
Dictionary< int, PoolGroup > spawnedList
References _trans, current, groups, and spawnedList.
◆ CreateGroup() [1/2]
PoolGroup PoolManager.CreateGroup |
( |
string |
id, |
|
|
string |
path |
|
) |
| |
|
inline |
◆ CreateGroup() [2/2]
PoolGroup PoolManager.CreateGroup |
( |
string |
id, |
|
|
Transform |
original |
|
) |
| |
|
inline |
◆ Despawn()
static void PoolManager.Despawn |
( |
Component |
c | ) |
|
|
inlinestatic |
Definition at line 128 of file PoolManager.cs.
129 {
130 if (Application.isPlaying)
131 {
133 {
134 Object.Destroy(c.gameObject);
135 }
136 else
137 {
139 }
140 }
141 }
References current, ignorePool, and spawnedList.
Referenced by MsgBox.AddLog(), MsgBox.Clear(), ActionMode.ClearSimpleTexts(), TaskDesignation.DespawnOrbit(), CardRenderer.DespawnSimpleText(), ButtonGrid.Dettach(), CardActor.Kill(), TC.Kill(), PopperManager.Kill(), CardRenderer.OnLeaveScreen(), and ButtonGrid.Reset().
◆ DespawnOrDestroy()
static void PoolManager.DespawnOrDestroy |
( |
Component |
c | ) |
|
|
inlinestatic |
◆ GetGroup()
static PoolGroup PoolManager.GetGroup |
( |
string |
id | ) |
|
|
inlinestatic |
◆ Spawn()
static Transform PoolManager.Spawn |
( |
string |
id, |
|
|
string |
path, |
|
|
Transform |
parent |
|
) |
| |
|
inlinestatic |
Definition at line 86 of file PoolManager.cs.
87 {
89 }
Transform _Spawn(string id, string path, Transform parent)
References _Spawn(), and current.
Referenced by CardRenderer.AddExtra(), MsgBlock.Append(), MsgLine.Append(), ButtonGrid.Attach(), RenderDataCard.CreateActor(), MsgBox.CreateNewBlock(), DynamicAsset< T >.GetNew(), UIList.Callback< T1, T2 >.Instantiate(), CardRenderer.OnEnterScreen(), PopperManager.Pop(), CharaRenderer.RefreshStateIcon(), CardRenderer.Say(), CardRenderer.SetCensored(), CardRenderer.ShowEmo(), TCSimpleText.Spawn(), TCSimpleText.SpawnIcon(), CardRenderer.SpawnSimpleText(), CardRenderer.TrySpawnOrbit(), and TaskDesignation.TrySpawnOrbit().
◆ Spawn< T >() [1/2]
◆ Spawn< T >() [2/2]
◆ TryDespawn()
static bool PoolManager.TryDespawn |
( |
Component |
c | ) |
|
|
inlinestatic |
◆ _trans
Transform PoolManager._trans |
|
static |
◆ current
◆ groups
Dictionary<string, PoolGroup> PoolManager.groups |
◆ ignorePool
bool PoolManager.ignorePool |
|
static |
◆ spawnedList
Dictionary<int, PoolGroup> PoolManager.spawnedList |
The documentation for this class was generated from the following file: