Component:ViolentAprilFoolsExplosion

From Resonite Wiki
Revision as of 08:40, 8 November 2020 by imported>Epsilion (Created page with "<languages></languages> <translate> {{stub}} {{Infobox Component |Image=ViolentAprilFoolsExplosionComponent.png |Name=ViolentAprilFoolsExplosion }} == Intoduction == The '''Vi...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


This article or section is a Stub. You can help the Resonite Wiki by expanding it.


Component image 
ViolentAprilFoolsExplosion component as seen in the Scene Inspector

Intoduction

The ViolentAprilFoolsExplosion component, when deleted, causes an explosion animation to be played on any mesh below it in the hierarchy.

This component was added as an April Fool's Day joke on April 1st, 2019.

Usage

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled.
BloatMagnitude Float Intensity of the bloat, prior to explosion
_bloatingClip AudioClip Automatically Assigned
_explosionClip AudioClip Automatically Assigned

Behavior

This component causes all MeshRenderers under it in the hierarchy to expand outwards based on the BloatMagnitude while playing the audio in _bloatingClip, followed by an explosion particle effect, the playing of the audio in _explosionClip, and the deletion of the slot it's attached to.

Examples

Related Components