TopDown Engine v4.5
Loading...
Searching...
No Matches
MoreMountains.TopDownEngine.ExplodudesCrate Class Reference

A class that modifies the y scale of crates in the Explodudes demo scene. More...

Inheritance diagram for MoreMountains.TopDownEngine.ExplodudesCrate:
MoreMountains.TopDownEngine.TopDownMonoBehaviour MoreMountains.Tools.MMMonoBehaviour

Protected Member Functions

virtual void Start ()
 On Start we randomize our y scale for aesthetic considerations only.

Protected Attributes

Vector3 _newScale = Vector3.one

Static Protected Attributes

const float MinHeight = 0.8f
const float MaxHeight = 1.1f

Detailed Description

A class that modifies the y scale of crates in the Explodudes demo scene.

Member Function Documentation

◆ Start()

virtual void MoreMountains.TopDownEngine.ExplodudesCrate.Start ( )
protectedvirtual

On Start we randomize our y scale for aesthetic considerations only.

Member Data Documentation

◆ _newScale

Vector3 MoreMountains.TopDownEngine.ExplodudesCrate._newScale = Vector3.one
protected

◆ MaxHeight

const float MoreMountains.TopDownEngine.ExplodudesCrate.MaxHeight = 1.1f
staticprotected

◆ MinHeight

const float MoreMountains.TopDownEngine.ExplodudesCrate.MinHeight = 0.8f
staticprotected

The documentation for this class was generated from the following file:
  • H:/Code/MoreMountains/topdownengine/Assets/TopDownEngine/Demos/Explodudes/Scripts/ExplodudesCrate.cs