Class Dialogue
Editorの場合にUnityのダイアログを表示します。 Runtimeの場合に代わりにログを出力します。
Inheritance
System.Object
Dialogue
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: PLATEAU.Util
Assembly: cs.temp.dll.dll
Syntax
public class Dialogue
Methods
Display(String, String)
Editorの場合、キャンセルボタンのないダイアログを表示します。
Declaration
public static void Display(string message, string ok)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | |
System.String | ok |
Display(String, String, String)
Editorの場合、ダイアログで2択の選択肢を提示し、結果をboolで返します。
Declaration
public static bool Display(string message, string ok, string cancel)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | |
System.String | ok | |
System.String | cancel |
Returns
Type | Description |
---|---|
System.Boolean |