private void CreateHitbox() { m_hitboxMaker.AddHitType(HitType); Vector2 offset = m_physics.OrientVectorToDirection(HitboxOffset); m_hitboxMaker.CreateHitbox(HitboxScale, offset, Damage, Stun, HitboxDuration, Knockback, true, true); }
private void CreateHitbox() { //m_hitboxMaker.AddHitType(HitType); Vector2 offset = m_physics.OrientVectorToDirection(m_HitboxInfo.HitboxOffset); m_hitboxMaker.CreateHitbox(m_HitboxInfo.HitboxScale, offset, m_HitboxInfo.Damage, m_HitboxInfo.Stun, m_HitboxInfo.HitboxDuration, m_HitboxInfo.Knockback, true, true, m_HitboxInfo.Element, m_HitboxInfo.ApplyProps); }
protected void createHitboxes() { foreach (HitboxInfo hi in m_HitboxInfo) { hi.SourceEqp = SourceEqp; if (hi.Delay <= 0f) { m_hitboxMaker.CreateHitbox(hi); } else { GetComponent <CharacterBase> ().QueueHitbox(hi, hi.Delay); } } }
protected void createHitboxes() { foreach (HitboxInfo hi in m_HitboxInfo) { //hi.SourceEqp = SourceEqp; if (hi.Delay <= 0f) { m_hitboxMaker.CreateHitbox(hi); } else { m_hitboxMaker.QueueHitbox(hi, hi.Delay); } } }
protected void createHitboxes() { //m_hitboxMaker.AddHitType(HitType); foreach (HitboxInfo hi in m_HitboxInfo) { if (hi.Delay <= 0f) { m_hitboxMaker.CreateHitbox(hi); } else { GetComponent <Fighter> ().QueueHitbox(hi, hi.Delay); } } // Vector2 offset = m_physics.OrientVectorToDirection(m_HitboxInfo.HitboxOffset); // m_hitboxMaker.CreateHitbox(m_HitboxInfo.HitboxScale, offset, m_HitboxInfo.Damage, // m_HitboxInfo.Stun, m_HitboxInfo.HitboxDuration, m_HitboxInfo.Knockback, true, true,m_HitboxInfo.Element,m_HitboxInfo.ApplyProps); }