mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-07 11:16:53 +08:00
[lua] Skeleton:setColor was wrong
This commit is contained in:
parent
fe25ffda1a
commit
343f144c93
@ -512,10 +512,10 @@ function Skeleton:update (delta)
|
|||||||
end
|
end
|
||||||
|
|
||||||
function Skeleton:setColor (r, g, b, a)
|
function Skeleton:setColor (r, g, b, a)
|
||||||
self.r = r
|
self.color.r = r
|
||||||
self.g = g
|
self.color.g = g
|
||||||
self.b = b
|
self.color.b = b
|
||||||
self.a = a
|
self.color.a = a
|
||||||
end
|
end
|
||||||
|
|
||||||
return Skeleton
|
return Skeleton
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user