안녕하세요
유니티에서 GetAttachment함수를 이용중인데 null값이 나와서 질문드립니다.
[SpineAttachment]
public string weaponKey = null;
선언후에 유니티 인스펙터에서 sword attachment를 지정해줬는데 실제로는 찾을수가 없습니다.
첨부파일을 보면 sword attachment가 없어서 그런거같은데 GetAttachment안에 attachments는 어떤데이터를 불러오는건지 알고싶습니다.
스파인에선 이렇게 되어있습니다
1. sayfa (Toplam 1 sayfa)
lus6
Bu mesaja eklenen dosyaları görüntülemek için gerekli yetkilere sahip değilsiniz.
11 months ago
- lus6
- Mesajlar: 5
Harald
어떤 버전의
현재 스켈레톤에 할당되지 않은 특정 스킨에서 첨부 파일을 가져오려면
여기에서 이러한 방법에 대한 문서를 찾을 수 있습니다.
-----
Which version of the
You would need to call
You can find documentation of these methods here:
GetAttachment()
메서드를 호출했습니까? skeleton.GetAttachment()
을 사용하실 경우, 활성 스킨과 기본 스킨을 확인하므로, 다른 비활성 스킨이 아닙니다.현재 스켈레톤에 할당되지 않은 특정 스킨에서 첨부 파일을 가져오려면
skin.GetAttachment
를 호출해야 합니다. .여기에서 이러한 방법에 대한 문서를 찾을 수 있습니다.
Skeleton getAttachment
Skin getAttachment
-----
Which version of the
GetAttachment()
method did you call? If you are using skeleton.GetAttachment()
, please note that it checks the active skin and the default skin, not other inactive skins.You would need to call
skin.GetAttachment
to get attachments at a specific skin which is not currently assigned at a skeleton.You can find documentation of these methods here:
Skeleton getAttachment
Skin getAttachment
11 months ago
-
Harald - Mesajlar: 4462
Mark topic unread
• 1. sayfa (Toplam 1 sayfa)
Dön 한국어 Spine 사용자
- Tüm zamanlar UTC