add gs
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
local function step(self, state, dt)
|
||||
return {
|
||||
value = self.__targetValue,
|
||||
complete = true,
|
||||
}
|
||||
end
|
||||
|
||||
local function instant(targetValue)
|
||||
return {
|
||||
__targetValue = targetValue,
|
||||
step = step,
|
||||
}
|
||||
end
|
||||
|
||||
return instant
|
||||
Reference in New Issue
Block a user