21 lines
598 B
C#
21 lines
598 B
C#
namespace SepCore.UI
|
|
{
|
|
public partial class ShowAreaForm
|
|
{
|
|
public void ShowRandomRole()
|
|
{
|
|
View.randomRoleCardObject.gameObject.SetActive(true);
|
|
View.roleCardObject.gameObject.SetActive(false);
|
|
}
|
|
|
|
public void ShowRoleProperty(ShowAreaContext context)
|
|
{
|
|
View.roleNameText.text = context.RoleName;
|
|
View.initialPropertyText.text = context.InitialPropertyText;
|
|
|
|
View.randomRoleCardObject.gameObject.SetActive(false);
|
|
View.roleCardObject.gameObject.SetActive(true);
|
|
}
|
|
}
|
|
}
|