Skip to content

Sequence

属性

stringSequenceId
动画序列ID
intTime
动画时长

代码示例

lua
--local animation
--创建SandboxSequenceObject
local sequenceNode = SandboxNode.new('Sequence')
sequenceNode:SetParent(game.WorkSpace)--animation
sequenceNode.SequenceId = 'id1'
sequenceNode.Time= 10