Unregisters Effect in SEffectManager.
- Заметки
- Will automatically occur on stop when the Effect is AutoDestroy
-
ID can be gotten from the Effect by calling Effect.GetID
-
Generic Play methods will also return the ID
- Аргументы
-
| id | int The ID of the Effect to unregister |
См. определение в файле EffectManager.c строка 378
379 {
381 return;
382
385 {
386 effect.Event_OnUnregistered();
388 }
389
391 {
393 }
394 }
static ref array< int > m_FreeEffectIDs
Static array of IDs that were previously used, but freed up by unregistering.
static ref map< int, ref Effect > m_EffectsMap
Static map of all registered effects <id, Effect>
static bool m_IsCleanup
Bool to check whether Cleanup is happening, which means that the maps should no longer be accessed.
Перекрестные ссылки Effect(), m_EffectsMap, m_FreeEffectIDs и m_IsCleanup.
Используется в EffectUnregisterEx() и ~Effect().