Table of Contents

Class DialogBoxManager

Namespace
PAC.UI
public class DialogBoxManager : MonoBehaviour
Inheritance
DialogBoxManager

Methods

CloseBrushSettingsWindow()

public void CloseBrushSettingsWindow()

CloseDialogBox(GameObject)

public void CloseDialogBox(GameObject dialogBox)

Parameters

dialogBox GameObject

CloseDialogBox(GameObject, Action)

public void CloseDialogBox(GameObject dialogBox, Action onComplete)

Parameters

dialogBox GameObject
onComplete Action

CloseExtendCropWindow()

public void CloseExtendCropWindow()

CloseGridWindow()

public void CloseGridWindow()

CloseImportPACWindow()

public void CloseImportPACWindow()

CloseKeyboardShortcutsWindow()

public void CloseKeyboardShortcutsWindow()

CloseLayerPropertiesWindow()

public void CloseLayerPropertiesWindow()

CloseModalWindow(UIModalWindow)

public void CloseModalWindow(UIModalWindow modalWindow)

Parameters

modalWindow UIModalWindow

CloseNewFileWindow()

public void CloseNewFileWindow()

CloseOutlineWindow()

public void CloseOutlineWindow()

CloseReplaceColourWindow()

public void CloseReplaceColourWindow()

CloseScaleWindow()

public void CloseScaleWindow()

ConfirmExtendCropWindow()

public void ConfirmExtendCropWindow()

ConfirmGridWindow()

public void ConfirmGridWindow()

ConfirmImportPACWindow()

public void ConfirmImportPACWindow()

ConfirmNewFileWindow()

public void ConfirmNewFileWindow()

ConfirmOutlineWindow()

public void ConfirmOutlineWindow()

ConfirmReplaceColourWindow()

public void ConfirmReplaceColourWindow()

ConfirmScaleWindow()

public void ConfirmScaleWindow()

OpenBrushSettingsWindow()

public void OpenBrushSettingsWindow()

OpenDialogBox(GameObject)

public void OpenDialogBox(GameObject dialogBox)

Parameters

dialogBox GameObject

OpenExtendCropWindow()

public void OpenExtendCropWindow()

OpenGridWindow()

public void OpenGridWindow()

OpenImportPACWindow(File)

public void OpenImportPACWindow(File file)

Parameters

file File

OpenKeyboardShortcutsWindow()

public void OpenKeyboardShortcutsWindow()

OpenLayerPropertiesWindow(int)

public void OpenLayerPropertiesWindow(int layerIndex)

Parameters

layerIndex int

OpenModalWindow()

public UIModalWindow OpenModalWindow()

Returns

UIModalWindow

OpenModalWindow(string, string)

public UIModalWindow OpenModalWindow(string title, string message)

Parameters

title string
message string

Returns

UIModalWindow

OpenModalWindow(string, string, string[], UnityAction[])

public UIModalWindow OpenModalWindow(string title, string message, string[] buttonTexts, UnityAction[] buttonOnClicks)

Parameters

title string
message string
buttonTexts string[]
buttonOnClicks UnityAction[]

Returns

UIModalWindow

OpenNewFileWindow()

public void OpenNewFileWindow()

OpenOutlineWindow()

public void OpenOutlineWindow()

OpenReplaceColourWindow()

public void OpenReplaceColourWindow()

OpenScaleWindow()

public void OpenScaleWindow()

OpenUnsavedChangesWindow(int)

public void OpenUnsavedChangesWindow(int fileIndex)

Parameters

fileIndex int

SetNewFileHeight(int)

public void SetNewFileHeight(int height)

Parameters

height int

SetNewFileWidth(int)

public void SetNewFileWidth(int width)

Parameters

width int

UnsavedChangesNo()

public void UnsavedChangesNo()

UnsavedChangesYes()

public void UnsavedChangesYes()

UpdateBrushSettingsShape()

public void UpdateBrushSettingsShape()

UpdateImportPACPreview()

public void UpdateImportPACPreview()