feat: add initial People Playground mod development kit
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
URL: https://wiki.studiominus.nl/internalReference/ShowDialogBehaviour.html
|
||||
Title: People Playground Modding - ShowDialogBehaviour
|
||||
==================================================
|
||||
|
||||
public class ShowDialogBehaviour
|
||||
Inherits MonoBehaviour
|
||||
Can be invoked to show a dialog box
|
||||
Fields
|
||||
public bool ShouldShowOnStart
|
||||
Should the dialog box be shown when the behaviour first starts?
|
||||
|
||||
public OptionalFloat Width
|
||||
Width override in pixels
|
||||
|
||||
public OptionalFloat Height
|
||||
Height override in pixels
|
||||
|
||||
public string Title
|
||||
The title of the dialog box, displayed at the top in bold. Can be null.
|
||||
|
||||
public string Message
|
||||
[NaughtyAttributes.ResizableTextArea()]
|
||||
The message of the dialog box, displayed under the title. Can be null.
|
||||
|
||||
public bool PlayErrorSound
|
||||
Should an error noise be played when shown?
|
||||
|
||||
public bool PlayWarningSound
|
||||
Should a warning noise be played when shown?
|
||||
|
||||
Methods
|
||||
public void ShowDialog()
|
||||
Show the dialog box
|
||||
Reference in New Issue
Block a user