using Demo.Game.Attr; using UnityEngine; namespace Demo.Game { [Scriptable] public class VolumeIntUpdatement : BaseVolumeUpdatement { public static VolumeIntUpdatement Make() { return new GameObject().AddComponent(); } protected override int Lerp(int begin, int end, float t) { return Mathf.FloorToInt(Mathf.Lerp(begin, end, t)); } } }