コード例 #1
0
        public void SetHurtColliderData(CombatAnimHurtCollisionData _data)
        {
            m_hurtData = _data;
#if UNITY_EDITOR
            HasCollisionID = false;
#endif
        }
コード例 #2
0
 private void Cleanup()
 {
     TargetingController = null;
     m_handlerData       = null;
     m_hurtData          = null;
     HitCollider         = null;
     HurtColliders.Clear();
     HurtColliders = null;
     ScanResults   = null;
 }
コード例 #3
0
 public int OnPerformDamageScan(Collider[] _scanResults, CombatAnimHurtCollisionData _data)
 {
     return(Physics.OverlapBoxNonAlloc(m_trans.position, m_boxCollider.size / 2, _scanResults, m_trans.rotation, _data.ValidTargets));
 }
コード例 #4
0
        private void SetHurtColliderData(OTGCombatSMC _controller)
        {
            CombatAnimHurtCollisionData data = m_combatAnim.HurtCollisionData;

            _controller.Handler_Collision.SetHurtColliderData(data);
        }