public interface ISmoothTarget
SmoothHandler| Modifier and Type | Method and Description |
|---|---|
float |
getPercent() |
void |
setPercent(float percent) |
void |
setSmoothPercent(float percent)
recommend call
SmoothHandler.loopSmooth(float) |
void |
setSmoothPercent(float percent,
long durationMillis)
If the provider percent(the aim percent) more than
SmoothHandler.minInternalPercent, it will
be split to the several SmoothHandler.smoothInternalPercent. |
float getPercent()
void setPercent(float percent)
void setSmoothPercent(float percent)
SmoothHandler.loopSmooth(float)percent - the aim percentvoid setSmoothPercent(float percent,
long durationMillis)
SmoothHandler.minInternalPercent, it will
be split to the several SmoothHandler.smoothInternalPercent.percent - The aim percent.durationMillis - Temporary duration for percent. If lesson than 0, it will be
ignored.