mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
[csharp] Minor improvement of documentation.
This commit is contained in:
parent
1552fc843a
commit
1624960dae
@ -540,7 +540,7 @@ namespace Spine {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>Sets a skin by name (<see cref="SetSkin(Skin)"/>).</summary>
|
/// <summary>Sets a skin by name (see <see cref="SetSkin(Skin)"/>).</summary>
|
||||||
public void SetSkin (string skinName) {
|
public void SetSkin (string skinName) {
|
||||||
Skin foundSkin = data.FindSkin(skinName);
|
Skin foundSkin = data.FindSkin(skinName);
|
||||||
if (foundSkin == null) throw new ArgumentException("Skin not found: " + skinName, "skinName");
|
if (foundSkin == null) throw new ArgumentException("Skin not found: " + skinName, "skinName");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user