Effect.setDetachOnHostDestroy

Detaches the effect from its host object when the host disappears.

Kind: Function

Environments: Game

Game

effect:setDetachOnHostDestroy( detach )

Open the full Game reference

Availability: Client only

Parameters:

Name Type Description
effect Effect The effect.
detach boolean If the effect should automatically detach from the host or not.