Enables this FX Component and applies the FXPipeline to the parent Game Object.
This is called automatically whenever you call a method such as addBloom
, etc.
You can check the enabled
property to see if the Game Object is already enabled, or not.
This only applies to Pre FX. Post FX are always enabled.
name | type | arguments | description |
---|---|---|---|
padding | number | <optional> |
The amount of padding to add to this Game Object. |