13 lines
316 B
C#
13 lines
316 B
C#
|
using System.Collections;
|
|||
|
using System.Collections.Generic;
|
|||
|
using UnityEngine;
|
|||
|
|
|||
|
public class ButtonReadyUp : ButtonOnClick {
|
|||
|
|
|||
|
public override void OnClick() {
|
|||
|
if (GameTransition.Instance.state == GameState.Lobby)
|
|||
|
PlayerProperties.lobbyStatus.SetLocal(!PlayerProperties.lobbyStatus.GetLocal());
|
|||
|
}
|
|||
|
|
|||
|
}
|