mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2024-11-16 07:23:52 +01:00
5 lines
224 B
Plaintext
5 lines
224 B
Plaintext
|
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++ )
|
||
|
variable_instance_set(object, _keys[i], params[$ _keys[i]]);
|
||
|
}
|