Skip to main content

DisableHatParticles

Functions

new

DisableHatParticles.new(
characterModel--

The character to disable particles for

) → DisableHatParticles

Disables all particles and sounds in hats for the lifetime of the object

Show raw api
{
    "functions": [
        {
            "name": "new",
            "desc": "Disables all particles and sounds in hats for the lifetime of the object",
            "params": [
                {
                    "name": "character",
                    "desc": "The character to disable particles for",
                    "lua_type": "Model"
                }
            ],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "DisableHatParticles"
                }
            ],
            "function_type": "static",
            "source": {
                "line": 30,
                "path": "src/ugcsanitize/src/Shared/DisableHatParticles.lua"
            }
        }
    ],
    "properties": [],
    "types": [],
    "name": "DisableHatParticles",
    "desc": "",
    "source": {
        "line": 5,
        "path": "src/ugcsanitize/src/Shared/DisableHatParticles.lua"
    }
}