Difference between revisions of "SpineSprite:setSkin"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
Line 5: Line 5:
 
=== <translate>Description</translate> ===
 
=== <translate>Description</translate> ===
 
<translate>Set skin</translate>
 
<translate>Set skin</translate>
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(boolean) = SpineSprite:setSkin(skin)
 
(boolean) = SpineSprite:setSkin(skin)
 
</source>
 
</source>

Revision as of 14:31, 13 July 2023


Available since: Gideros 2018.12
Class: SpineSprite

Description

Set skin <syntaxhighlight lang="lua"> (boolean) = SpineSprite:setSkin(skin) </source>

Parameters

skin: (string) Skin name

Return values

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