Pixel-Composer/objects/o_dialog_textbox_function_guide/Create_0.gml

27 lines
363 B
Text
Raw Normal View History

2023-07-12 16:28:32 +02:00
/// @description
#region data
depth = -9999;
dialog_x = 0;
dialog_y = 0;
dialog_w = 280;
dialog_h = 32;
textbox = noone;
prompt = "";
index = 0;
2023-11-08 08:38:04 +01:00
2023-11-10 11:32:46 +01:00
function activate(textbox) {
2023-11-08 08:38:04 +01:00
INLINE
self.textbox = textbox;
}
function deactivate(textbox) {
INLINE
if(textbox != self.textbox) return;
self.textbox = noone;
}
2023-07-12 16:28:32 +02:00
#endregion