Extensions & Helpers

$4
Publisher Mystic ERA games
File size 131.23kB
Number of files 55
Latest version 1.2.1
Latest release date 2023-08-14 04:15:16
First release date 2023-08-14 04:15:16
Supported Unity versions 2018.4.2 or higher

Mystic ERA games - Extensions & Helpers


Description

Code faster and cleaner with the use of Extensions.


Docs + Methods:

https://www.mysticeragames.com/assets/extensions-helpers


Features:

- Adjustments: Quick Vector adjustments: Set|Increase|Decrease[X|Y|Z]

- Conversions: From/to float arrays

- Distance: InRange, FlatDistance, Closest, Farthest

- FileHandler: Save/Load savegames to binary files

- Ground: PlaceOnGround, GetGroundPosition

- MapValue: Clamped and Unclamped mapping of floats

- RandomPosition: Random point around a Vector3 in a given radius

- Rounding: Round(2.5f==2) + RoundExact(2.5f==3)

- SnapToGrid: Snap a float/Vector2 or Vector3 to a given gridSize

- String: StartsWith, EndsWith, TrimStart, TrimEnd (extending C# for easy string usage)

- Some MonoBehaviour scripts for quick setups without coding


Demos + UnitTests

You don't have to import the Demos + Tests folders, but there are some examples in there how to use the methods (for example the 'MapValue' to calculate percentages or amount of stars).


See 'Technical details' for installation steps.


For more information and documentation:

https://www.mysticeragames.com/assets/extensions-helpers


Troubleshooting

For any issues or questions, please mail to [email protected]

( Please use something like 'Unity Asset Store - QUESTION' in the subject title )

Top Publisher Assets