We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7252a43 commit 8a2c121Copy full SHA for 8a2c121
2 files changed
Assets/Scenes/TestScene.unity
@@ -214,8 +214,8 @@ MonoBehaviour:
214
m_fontSizeMin: 18
215
m_fontSizeMax: 72
216
m_fontStyle: 0
217
- m_HorizontalAlignment: 1
218
- m_VerticalAlignment: 256
+ m_HorizontalAlignment: 2
+ m_VerticalAlignment: 512
219
m_textAlignment: 65535
220
m_characterSpacing: 0
221
m_wordSpacing: 0
Assets/Scripts/GameManager.cs
@@ -43,5 +43,13 @@ private void Update()
43
Debug.Log("Token: " + _kit.GetPlayroomToken());
44
text.text = _kit.GetPlayroomToken();
45
}
46
+
47
+ if (Input.GetKeyDown(KeyCode.I))
48
+ {
49
+ _kit.OpenDiscordInviteDialog(()=>
50
51
+ text.text = "Discord invite dialog opened!";
52
+ });
53
+ }
54
55
0 commit comments