Component:ViolentAprilFoolsExplosion: Difference between revisions

From Resonite Wiki
m ProbablePrime moved page ViolentAprilFoolsExplosion (Component) to Component:ViolentAprilFoolsExplosion: Creating component Namespace
Automated: update Fields, Categories
 
Line 13: Line 13:
{{Table ComponentFields
{{Table ComponentFields
|BloatMagnitude|Float| Intensity of the bloat, prior to explosion
|BloatMagnitude|Float| Intensity of the bloat, prior to explosion
|_bloatingClip|AudioClip| ''Automatically Assigned''
|_bloatingClip|{{RootFieldType|AssetRef`1|[[Type:AudioClip|AudioClip]]}}|TypeAdv1=true| ''Automatically Assigned''
|_explosionClip|AudioClip| ''Automatically Assigned''
|_explosionClip|{{RootFieldType|AssetRef`1|[[Type:AudioClip|AudioClip]]}}|TypeAdv2=true| ''Automatically Assigned''
}}
}}
== Behavior ==
== Behavior ==
Line 21: Line 21:
== Related Components ==
== Related Components ==
</translate>
</translate>
[[Category:Components{{#translation:}}|ViolentAprilFoolsExplosion (Component){{#translation:}}]]
[[Category:Components{{#translation:}}|Violent April Fools Explosion]]
[[Category:Components:Utility{{#translation:}}|ViolentAprilFoolsExplosion (Component){{#translation:}}]]
[[Category:Components:Utility{{#translation:}}|Violent April Fools Explosion]]

Latest revision as of 22:56, 3 March 2024


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

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