Class ChangeSlot
교체슬롯을 관리하는 클래스
네임스페이스: Game.Scripts
어셈블리: Assembly-CSharp.dll
Syntax
[MoonSharpUserData]
public class ChangeSlot : BaseControl
생성자
ChangeSlot(ChangeSlot)
교체슬롯을 관리하는 클래스
선언
public ChangeSlot(ChangeSlot slot)
매개 변수(인자)
타입 | 이름 | 설명 |
---|---|---|
ChangeSlot | slot |
프로퍼티
icon
교체 아이콘 컨트롤
선언
public BaseControl icon { get; }
프로퍼티 값
타입 | 설명 |
---|---|
BaseControl |
iconImage
교체 아이콘 이미지 경로
선언
public string iconImage { set; }
프로퍼티 값
타입 | 설명 |
---|---|
string |
slotImage
교체 버튼 이미지 경로
선언
public string slotImage { set; }
프로퍼티 값
타입 | 설명 |
---|---|
string |
함수
SetSlotImage(string, string)
교체슬롯 이미지 변경
선언
public void SetSlotImage(string backGroundPath = "", string iconPath = "")
매개 변수(인자)
타입 | 이름 | 설명 |
---|---|---|
string | backGroundPath | 배경 이미지 경로 |
string | iconPath | 아이콘 이미지 경로 |