This component will randomize the object's sprite renderer's sprite out of a collection
More...
|
virtual void | Start () |
| On Start, initializes the renderer and randomizes it More...
|
|
virtual void | Randomize () |
| Returns a random sprite out of the collection More...
|
|
This component will randomize the object's sprite renderer's sprite out of a collection
◆ Randomize()
virtual void MoreMountains.CorgiEngine.RandomSprite.Randomize |
( |
| ) |
|
|
protectedvirtual |
Returns a random sprite out of the collection
◆ Start()
virtual void MoreMountains.CorgiEngine.RandomSprite.Start |
( |
| ) |
|
|
protectedvirtual |
On Start, initializes the renderer and randomizes it
◆ _spriteRenderer
SpriteRenderer MoreMountains.CorgiEngine.RandomSprite._spriteRenderer |
|
protected |
◆ SpriteCollection
Sprite [] MoreMountains.CorgiEngine.RandomSprite.SpriteCollection |
the collection of sprite to choose from
The documentation for this class was generated from the following file: