mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2024-12-28 16:06:20 +01:00
8 lines
No EOL
255 B
Text
8 lines
No EOL
255 B
Text
function variable_instance_set_struct(object, params) {
|
|
var _keys = variable_struct_get_names(params);
|
|
|
|
for( var i = 0, n = array_length(_keys); i < n; i++ ) {
|
|
var _k = array_safe_get(_keys, i);
|
|
variable_instance_set(object, _k, params[$ _k]);
|
|
}
|
|
} |