InventoryThemeUI.OpenWindow
#
Declarationpublic ThemeWindowUI OpenWindow(string id, Object[] args)
#
ParametersName | Description |
---|---|
id | Id of window to open |
args | Parameters to pass to window |
#
DescriptionOpens a Window (of any type)
#
Usageusing NullSave.GDTK.Inventory;using UnityEngine;
public class Example : MonoBehaviour{
public void ExampleMethod(InventoryThemeUI target, string id, object[] args) { target.OpenWindow(id, args); }
}
#
Declarationpublic ThemeWindowUI OpenWindow(Type windowType, string id, Object[] args)
#
ParametersName | Description |
---|---|
windowType | Type of window to open |
id | Id to use (if found) |
args | Parameters to pass to window |
#
DescriptionOpens a Window (of specified type)
#
Usageusing NullSave.GDTK.Inventory;using UnityEngine;
public class Example : MonoBehaviour{
public void ExampleMethod(InventoryThemeUI target, string id, object[] args) { target.OpenWindow(typeof(CraftinWindowUI), id, args); }
}
#
Declarationpublic ThemeWindowUI OpenWindow(ThemeWindowUI window, Object[] args)
#
ParametersName | Description |
---|---|
window | Window to open |
args | Parameters to pass to window |
#
DescriptionOpens a supplied Window
#
Usageusing NullSave.GDTK.Inventory;using UnityEngine;
public class Example : MonoBehaviour{
public void ExampleMethod(InventoryThemeUI target, ThemeWindowUI other, object[] args) { target.OpenWindow(other, args); }
}
#
Declarationpublic ThemeWindowUI OpenWindow(Type windowType, Object[] args)
#
ParametersName | Description |
---|---|
windowType | Type of window to open |
args | Parameters to pass to window |
#
DescriptionOpens a Window (of specified type)
#
Usageusing NullSave.GDTK.Inventory;using UnityEngine;
public class Example : MonoBehaviour{
public void ExampleMethod(InventoryThemeUI target, object[] args) { target.OpenWindow(typeof(TransferWindowUI), args); }
}