Свойство | Тип | Описание | |
---|---|---|---|
onDestroy | FunOnDestroy | ||
onSelectSkill | SelectSkillFun | ||
panelSkill | GameObject | ||
prefabSkillIcon | GameObject |
Метод | Описание | |
---|---|---|
AddSkill ( int objID, int skillID, int icon, float cooldownTime, bool canSelect = true ) : SkillInfo, | ||
Clear ( ) : void | ||
GetSkillByID ( int objID ) : SkillInfo, | ||
GetSkillByIndex ( int index ) : SkillInfo, | ||
GetSkillCount ( ) : int | ||
OnDestroy ( ) : void | ||
RemoveAllSkills ( ) : void | ||
RemoveSkill ( int objID ) : void | ||
Start ( ) : void | ||
Update ( ) : void |
Метод | Описание | |
---|---|---|
RefreshSkillPosition ( ) : void |
public AddSkill ( int objID, int skillID, int icon, float cooldownTime, bool canSelect = true ) : SkillInfo, | ||
objID | int | |
skillID | int | |
icon | int | |
cooldownTime | float | |
canSelect | bool | |
Результат | SkillInfo, |
public GetSkillByID ( int objID ) : SkillInfo, | ||
objID | int | |
Результат | SkillInfo, |
public GetSkillByIndex ( int index ) : SkillInfo, | ||
index | int | |
Результат | SkillInfo, |