Difference between revisions of "SpineSprite:setSkin"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
Line 7: Line 7:
 
<syntaxhighlight lang="lua">
 
<syntaxhighlight lang="lua">
 
(boolean) = SpineSprite:setSkin(skin)
 
(boolean) = SpineSprite:setSkin(skin)
</source>
+
</syntaxhighlight>
 
=== <translate>Parameters</translate> ===
 
=== <translate>Parameters</translate> ===
 
'''skin''': (string) <translate>Skin name</translate><br/>
 
'''skin''': (string) <translate>Skin name</translate><br/>

Latest revision as of 14:33, 13 July 2023


Available since: Gideros 2018.12
Class: SpineSprite

Description

Set skin

(boolean) = SpineSprite:setSkin(skin)

Parameters

skin: (string) Skin name

Return values

Returns (boolean) True if the specified skin was found and set