Skip to content

Commit

Permalink
Merge branch 'master' of github.com:Smidgens/unity-extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
Smidgens committed Nov 17, 2022
2 parents e51eda5 + 5d1acb2 commit ba6305f
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@

# ℹ️ Features

* Various utility extensions for working with common System and Unity types.
* Various utility extensions for commonly used Unity and System types.
* Supports disabling extensions on a per-type basis: `EXT_0_<NAMESPACE>_<TYPE>`

<br/>


**⌛ Planned**

* [ ] Preprocessor symbols to disable extensions on a per-type basis (ie. `EXTENSIONS_DISABLE_UNITYENGINE_RECT`.
* [ ] Extensions for types defined outside Unity core module (Animation, UI, etc.) and preprocessor symbols to selectively enable them: `EXT_1_<NAMESPACE>_<TYPE>`
* [ ] Online documentation

<br/>
Expand All @@ -27,4 +28,19 @@

See `Runtime` folder for full list of extensions.

<br/>

#### ⭕ Disabling extensions for specific type



Add a preprocessor symbol to your project settings on the form: `EXT_0_<NAMESPACE>_<TYPE>`.

Example:

```cs
// disables extensions for System.Float
EXT_0_SYSTEM_FLOAT
```


0 comments on commit ba6305f

Please sign in to comment.