21 lines
455 B
C#
21 lines
455 B
C#
using UnityEngine;
|
|
using BrewMonster.Network;
|
|
|
|
namespace BrewMonster.UI
|
|
{
|
|
/// <summary>
|
|
/// Attach to the in-game button: sends LOGOUT(1) and returns to Select Role.
|
|
/// </summary>
|
|
public class BtnBackToSelectRole : MonoBehaviour
|
|
{
|
|
public void OnClick()
|
|
{
|
|
CECUIManager.Instance.ShowUI( "Win_Message2" );
|
|
|
|
return;
|
|
UnityGameSession.ReturnToSelectRole();
|
|
}
|
|
}
|
|
}
|
|
|