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