Skip to content

Commit 5d1acb2

Browse files
authored
Update README.md
1 parent 9f4e4ad commit 5d1acb2

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

README.md

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@
22

33
# ℹ️ Features
44

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

78
<br/>
89

910

1011
**⌛ Planned**
1112

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

1516
<br/>
@@ -27,4 +28,19 @@
2728

2829
See `Runtime` folder for full list of extensions.
2930

31+
<br/>
32+
33+
#### ⭕ Disabling extensions for specific type
34+
35+
36+
37+
Add a preprocessor symbol to your project settings on the form: `EXT_0_<NAMESPACE>_<TYPE>`.
38+
39+
Example:
40+
41+
```cs
42+
// disables extensions for System.Float
43+
EXT_0_SYSTEM_FLOAT
44+
```
45+
3046

0 commit comments

Comments
 (0)