C# 클래스 Spine.Unity.Modules.AttachmentTools.SkinExtensions

파일 보기 프로젝트 열기: EsotericSoftware/spine-runtimes

공개 메소드들

메소드 설명
CopyTo ( this source, Skin destination, bool overwrite, bool cloneAttachments, bool cloneMeshesAsLinked = true ) : void
GetClone ( this original ) : Skin

Gets a shallow copy of the skin. The cloned skin's attachments are shared with the original skin.

GetClonedSkin ( this skeleton, string newSkinName, bool includeDefaultSkin = false, bool cloneAttachments = false, bool cloneMeshesAsLinked = true ) : Skin
UnshareSkin ( this skeleton, bool includeDefaultSkin, bool unshareAttachments, AnimationState state = null ) : Skin

Convenience method for duplicating a skeleton's current active skin so changes to it will not affect other skeleton instances. .

메소드 상세

CopyTo() 공개 정적인 메소드

public static CopyTo ( this source, Skin destination, bool overwrite, bool cloneAttachments, bool cloneMeshesAsLinked = true ) : void
source this
destination Skin
overwrite bool
cloneAttachments bool
cloneMeshesAsLinked bool
리턴 void

GetClone() 공개 정적인 메소드

Gets a shallow copy of the skin. The cloned skin's attachments are shared with the original skin.
public static GetClone ( this original ) : Skin
original this
리턴 Skin

GetClonedSkin() 공개 정적인 메소드

public static GetClonedSkin ( this skeleton, string newSkinName, bool includeDefaultSkin = false, bool cloneAttachments = false, bool cloneMeshesAsLinked = true ) : Skin
skeleton this
newSkinName string
includeDefaultSkin bool
cloneAttachments bool
cloneMeshesAsLinked bool
리턴 Skin

UnshareSkin() 공개 정적인 메소드

Convenience method for duplicating a skeleton's current active skin so changes to it will not affect other skeleton instances. .
public static UnshareSkin ( this skeleton, bool includeDefaultSkin, bool unshareAttachments, AnimationState state = null ) : Skin
skeleton this
includeDefaultSkin bool
unshareAttachments bool
state UnityEngine.AnimationState
리턴 Skin