update logic select last role
This commit is contained in:
@@ -19,7 +19,8 @@ public class CharacterItemUI : MonoBehaviour
|
||||
|
||||
private void OnEnable()
|
||||
{
|
||||
_goFocusImage.SetActive(false);
|
||||
if(_goFocusImage!=null)
|
||||
_goFocusImage.SetActive(false);
|
||||
}
|
||||
|
||||
// Start is called once before the first execution of Update after the MonoBehaviour is created
|
||||
@@ -53,7 +54,11 @@ public class CharacterItemUI : MonoBehaviour
|
||||
}
|
||||
}
|
||||
|
||||
public void OnClickBtn()
|
||||
private void OnClickBtn()
|
||||
{
|
||||
onClick?.Invoke(this);
|
||||
}
|
||||
public void ForceClickBtn()
|
||||
{
|
||||
onClick?.Invoke(this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user