コード例 #1
0
 /** OpenPrompt
  */
 public static string OpenPrompt(Root_MonoBehaviour a_root_monobehaviour, string a_title, string a_text)
 {
     try{
         return(WebGL_OpenPrompt.Fee_Platform_WebGLPlugin_OpenPrompt(a_title, a_text));
     }catch (System.Exception t_exception) {
         Tool.DebugReThrow(t_exception);
         return(null);
     }
 }
コード例 #2
0
ファイル: Platform.cs プロジェクト: bluebackblue/jsontest
 /** プロンプトを開く。
  */
 public string OpenPrompt(string a_title, string a_text)
 {
                 #if (UNITY_EDITOR)
     {
         return(a_text);               //TODO:
     }
                 #elif (UNITY_WEBGL)
     {
         return(WebGL_OpenPrompt.OpenPrompt(this.root_monobehaviour, a_title, a_text));
     }
                 #else
     {
         return(a_text);               //TODO:
     }
                 #endif
 }