OpenDashboardButton
How do I use Open Dashboard Button
Below are practical examples compiled from projects for learning and reference purposes
Featured Snippets
Line | Code | Ex.. |
---|---|---|
642 | if (GUILayout.Button(CurrentLang.OpenDashboardButton)) | 1 |
File name: PhotonEditor.cs
Copy
630 protected virtual void OnGuiCompareAndHelpOptions()
631 {
632 GUILayout.FlexibleSpace();
633
634 GUILayout.Label(CurrentLang.QuestionsLabel);
635 if (GUILayout.Button(CurrentLang.SeeForumButton))
636 {
637 Application.OpenURL(UrlForum);
638 }
639
640 if (photonSetupState != PhotonSetupStates.SetupSelfHosted)
641 {
642 if (GUILayout.Button(CurrentLang.OpenDashboardButton))
643 {
644 EditorUtility.OpenWithDefaultApp(UrlCloudDashboard + Uri.EscapeUriString(this.emailAddress));
645 }
646 }
647 }
OpenDashboardButton 161 lượt xem
Gõ tìm kiếm nhanh...