private void Cleanup() { TargetingController = null; m_handlerData = null; m_hurtData = null; HitCollider = null; HurtColliders.Clear(); HurtColliders = null; ScanResults = null; }
private void InitHandler(HandlerDataGroup _dataGroup, OTGHitColliderController _hitCollider, OTGGlobalCombatConfig _globalConfig) { m_handlerData = _dataGroup.CollisionHandlerData; HitCollider = _hitCollider; ScanResults = new Collider[_globalConfig.MaxScanElemements]; }