top of page
RandomElementsSystem.png

Random Elements System is a flexible weighted & ranged randomizer for Unity with an amount of build-in types and the possibility of adding unlimited custom types in one click.

It has all complicated logic encapsulated and provides simple API for robust usage.

Forget about magic numbers in different parts of your code, strange min max fields for each random usage, and trivial implementation of a weighted random system - just call GetRandomValue()

Implemented concrete types:

  • Selective Random Weight Collection

    • char

    • string

    • float

    • int

    • Color

    • Vector2

    • Vector2Int

    • Vector3

    • Vector3Int

    • Quaternion

    • GameObject

    • ScriptableObject

    • UnityEngine.Object

    • MonoBehaviour

  • Min Max Random Range Property

    • int

    • float

    • Color

    • Vector2

    • Vector2Int

    • Vector3

    • Vector3Int

    • Quaternion

  • Random Bool Property

  • Random Percentage Property

  • Random String Property

Implemented extra abstract types:

  • Random Enum Property

 

Special features for Selective Random Weight Collection:

  • Equal weight for all items

  • Use each item once per cycle (non-repetitions random during each cycle)

  • Get probability at runtime in the code and the Editor Inspector

Possibility to subscribe for OnGenerated event to be up to date for all new generating

 

⚙️ Simple configuration and usage in one line code or via Editor Inspector - all implementation encapsulated

 

🪄 Flexible and extendable for all own types using Editor Tool for generating new classes with one click

 

Many examples that cover a lot of standard use cases

 

✍️ Well-commented and documented source code

 

IMPORTANT: We use Newtonsoft Json Unity Package in our plugin, so if you use an old version of Unity you will required to integrate the Newtonsoft Json manually into your project.

 

 

🧡 ENJOY

By Developer For Developers.

© 2024 by vodoleystudio

bottom of page