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