static duk_ret_t ParticleSystem_UpdateMode(duk_context* ctx)
{
    ParticleSystem* thisObj = GetThisWeakObject<ParticleSystem>(ctx);
    AttributeChange::Type ret = thisObj->UpdateMode();
    duk_push_number(ctx, ret);
    return 1;
}