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 строка 369
370 {
372 return;
373
376 {
377 effect.Event_OnUnregistered();
379 }
380
382 {
384 }
385 }
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().