mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-09-27 10:46:17 +00:00
轻轻松松改成定点数咯
This commit is contained in:
@@ -23,7 +23,7 @@ namespace Demo.Scripts.GAS.GameplayCue
|
||||
|
||||
public override void Trigger()
|
||||
{
|
||||
((GAbilitySystemComponent)Owner).Entity.Transform.Scale = new LVector3(LFloat.L05,LFloat.L05,LFloat.L05);
|
||||
((GAbilitySystemComponent)Owner).Entity.Transform.Scale = new LVector3(LFloat.L0D5,LFloat.L0D5,LFloat.L0D5);
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -11,7 +11,7 @@ namespace GASSamples.Scripts.GAS.MMC
|
||||
[CreateAssetMenu(fileName = "AttrModCalculation", menuName = "GAS/MMC/AttrModCalculation")]
|
||||
public class AttrModCalculation : ModifierMagnitudeCalculation
|
||||
{
|
||||
public override float CalculateMagnitude(GameplayEffectSpec spec, float modifierMagnitude)
|
||||
public override LFloat CalculateMagnitude(GameplayEffectSpec spec, LFloat modifierMagnitude)
|
||||
{
|
||||
return modifierMagnitude;
|
||||
}
|
||||
|
Reference in New Issue
Block a user