public void removeIcon(charaStatusIconAdding argsStat) { if (thisStatusSet.Contains(argsStat) == true) { //存在する場合は削除 thisStatusSet.Remove(argsStat); thisSR.sprite = null; //thisSR.color = new Color(1f,1f,1f,0f); } }
public void setIcon(charaStatusIconAdding argsStat) { thisStatusSet.Add(argsStat); }