Anti-Cheat Toolkit
2023.2.6
Multi-purpose anti-cheat solution for Unity Engine
|
Inherits MonoBehaviour.
Inherited by ACTkDetectorBase< T >.
Public Attributes | |
bool | keepAlive = true |
Properties | |
static T | Instance [get, protected set] |
Base class for ACTk in-scene objects which able to survive scene switch.
WARNING: Will behave incorrectly if created within any non-default [RuntimeInitializeOnLoadMethod] except RuntimeInitializeLoadType.AfterSceneLoad (which is default).
T | : | KeepAliveBehaviour<T> |
bool keepAlive = true |
Will survive new level (scene) load if checked. Otherwise it will be destroyed.
On dispose Behaviour follows 2 rules:
|
staticgetprotected set |
Allows reaching public properties from code. Can be null if behaviour does not exist in scene or if accessed at or before Awake phase.