角色属性配置化
This commit is contained in:
Binary file not shown.
Binary file not shown.
@ -8,8 +8,6 @@ end
|
||||
function LevelFoxRole:ReceiveBeginPlay()
|
||||
self["SpineAnimationComponent"]:SetAnimation(0, "Idle/Front", true)
|
||||
self.last_animation = "Idle/Front"
|
||||
self:InitMoveSpeed(300)
|
||||
self:InitHealth(500, 500)
|
||||
end
|
||||
|
||||
|
||||
|
||||
@ -7,8 +7,6 @@ end
|
||||
function LevelRabbitRole:ReceiveBeginPlay()
|
||||
self["SpineAnimationComponent"]:SetSkin("back/move")
|
||||
self["SpineAnimationComponent"]:SetAnimation(0, "animation", true)
|
||||
|
||||
self:InitMoveSpeed(380)
|
||||
end
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user