Exemple #1
0
 protected override bool UnInit()
 {
     base.UnInit();
     Mem.Del(ref _clsNightCombat);
     Mem.Del(ref _clsHougekiList);
     Mem.Del(ref _prodNightMessage);
     if (_prodShellingAttack != null)
     {
         _prodShellingAttack.Dispose();
     }
     Mem.Del(ref _prodShellingAttack);
     if (_prodAerialTouchPlane != null)
     {
         UnityEngine.Object.Destroy(_prodAerialTouchPlane.gameObject);
     }
     Mem.Del(ref _prodAerialTouchPlane);
     if (_ctrlSearchLight != null)
     {
         UnityEngine.Object.Destroy(_ctrlSearchLight.gameObject);
     }
     Mem.Del(ref _ctrlSearchLight);
     if (_ctrlFlareBullet != null)
     {
         UnityEngine.Object.Destroy(_ctrlFlareBullet.gameObject);
     }
     Mem.Del(ref _ctrlFlareBullet);
     Mem.Del(ref _vCameraOriginPos);
     return(true);
 }
 protected override bool UnInit()
 {
     base.UnInit();
     _prodShellingFormationJudge = null;
     if (_prodShellingAttack != null)
     {
         _prodShellingAttack.Dispose();
     }
     _prodShellingAttack = null;
     _clsNowHougekiList  = null;
     Mem.DelIDisposableSafe(ref _prodShellingTorpedo);
     return(true);
 }