public BombAffector(Transform obj, BOMBTYPE gtype, MAGTYPE mtype, BOMBDECAYTYPE dtype, float mag, AnimationCurve curve, float decay, Vector3 axis, EffectNode node) : base(node, AFFECTORTYPE.BombAffector) { BombType = gtype; MType = mtype; DecayType = dtype; Magnitude = mag; MagCurve = curve; Decay = decay; BombAxis = axis; BombAxis.Normalize(); BombObj = obj; }
public BombAffector(Transform obj, BOMBTYPE gtype, MAGTYPE mtype,BOMBDECAYTYPE dtype, float mag, AnimationCurve curve, float decay, Vector3 axis, EffectNode node) : base(node, AFFECTORTYPE.BombAffector) { BombType = gtype; MType = mtype; DecayType = dtype; Magnitude = mag; MagCurve = curve; Decay = decay; BombAxis = axis; BombAxis.Normalize(); BombObj = obj; }