Skip to content

Well-designed package with useful scripting tools for Unity development​

License

Unknown, Unknown licenses found

Licenses found

Unknown
LICENSE
Unknown
LICENSE.meta
Notifications You must be signed in to change notification settings

Bodix/Evolunity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌿 Evolunity

Unity version License

Well-designed package with useful scripting tools for Unity development​.

Content

Extension methods

  • System types:

    • char
    • string
    • IDictionary
    • IEnumerable
    • IComparable
  • Unity types:

    • Animator
    • Color
    • Graphic
    • LayerMask
    • Quaternion
    • Rect
    • Renderer
    • Transform
    • Vector

Utilities

  • StaticCoroutine - Static coroutine.
  • Delay - Utility for calling functions with a delay. Based on StaticCoroutine.
  • Performance - Utility for measuring functions performance.
  • BinarySerializer - Utility for serializing objects.
  • StringEncryptor - Utility for encrypting strings.
  • Enum - Utility for parsing and working with enums.
  • RegexPatterns - Set of default regular expression patterns.

Unity components

  • PeriodicBehaviour - Calls the given function periodically.
  • Spawner - Spawns objects one-time or periodically. Based on PeriodicBehaviour.
  • InputReader - Reads click, drag and zoom (cross-platform).
  • LongPressReader - Reads long press (cross-platform).
  • Comment - Contains a comment to the GameObject.
  • DevelopmentOnly - Destroys/disable the object if the DEVELOPMENT define is not set in the project settings.
  • PlatformDependent - Destroys/disable the object if the platform specified in it does not match the current one.
  • DontDestroyOnLoad - Makes GameObject persistent.
  • SingletonBehaviour - Singleton MonoBehaviour.

Editor

  • UnityConstantsGenerator - Tool for generating static classes with tags, layers, scenes, and input axes.
  • CameraScreenshot - Tool for taking screenshot from the main camera.
  • MenuItems - Useful menu items.
  • Config - Editor window with different project settings (e.g., target frame rate).
  • LayerDrawer - Property drawer for LayerAttribute that shows a popup with layers (not mask).
  • Define - Defines management.
  • EditorConsole - Utility for working with the Editor console.
  • OpenInFileManager - Utility to open the given path in the file manager.

Structs

  • FloatRange - Range given by two floats.
  • IntRange - Range given by two ints.

Other

  • StateMachine - Immutable state machine without using strings, enums or reflections.
  • WeightQueue - Queue filled with elements in which the number of each element is determined by its weight.

Dependencies

Warning

Evolunity may receive breaking changes, so be sure to make a backup before updating the package.

Install

Open {ProjectFolder}/Packages/manifest.json and add the following line:

{
  "dependencies":
  {
    "com.evolutex.evolunity": "https://github.com/Bodix/Evolunity.git",
    ...
  }
}

Requirements

  • Unity 2018.4+
    (You can try the lower version, but I haven't tested that)

  • Git
    (Must be added to the PATH environment variable)

License

CC BY-ND 4.0

  1. You can use this package in commercial projects.

  2. You can modify or extend this package only for your own use but you can't distribute the modified version.

    Note: You can submit a pull request to this repository and if your change is useful, I'll be sure to add it!

  3. You must indicate the author.

    Note: You don't need to take any action on this point, because all attributions are written at the head of the scripts!