8 public string DialogText
10 get {
return _dialogText.text; }
11 set { _dialogText.text = value; }
14 public string PlayerCountText
16 get {
return _playerCountText.text; }
17 set { _playerCountText.text = value; }
20 public Sprite StickerSprite
22 get {
return _stickerImage.sprite; }
26 _stickerImage.sprite = value;
27 _stickerImage.SetNativeSize();
31 public IPEndPoint EndPoint;
34 Text _playerCountText;
40 _dialogText = transform.FindChild(
"dialog_text").GetComponent<Text>();
41 _playerCountText = transform.FindChild(
"player_count_text").GetComponent<Text>();
42 _stickerImage = transform.FindChild(
"sticker").GetComponent<Image>();
43 _outline = GetComponent<Outline>();
48 _outline.enabled =
true;
51 public void Deselect ()
53 _outline.enabled =
false;