public DamageModule(float health, OnDestoryDeligate onDestroyCallback, Outline outline) { m_health = health; m_maxHealth = health; m_onDestroy += onDestroyCallback; m_outLine = outline; m_outLine.OutlineColor = Color.green; }
public HumanoidDamageModule(float health, RagdollUtility ragdoll, HitReaction hitReaction, HumanoidAnimationModule animationModule, Transform headTransfrom, Transform chestTransfrom, OnDestoryDeligate onDestroyCallback, Outline outline) : base(health, onDestroyCallback, outline) { m_ragdoll = ragdoll; m_hitReaction = hitReaction; m_headTransform = headTransfrom; m_chestTransform = chestTransfrom; m_animationSystem = animationModule; }
public DroneDamageModule(float health, Outline outline, OnDestoryDeligate onDestroyCallback) : base(health, onDestroyCallback, outline) { }