We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 431ba99 commit a8c3a66Copy full SHA for a8c3a66
README.md
@@ -1,3 +1,5 @@
1
+Like `SerializeReference` but works for generic type.
2
+
3
```c#
4
public interface IMyInterface<T> {}
5
public class MyIntObject : IMyInterface<int> {}
@@ -12,7 +14,8 @@ public class MyMonoBehavior : MonoBehaviour
12
14
13
15
# Limitations
16
- Only types from referenced assemblies could be show up in inspector.
-- Not support `struct` type
17
+- Not support `struct` type.
18
+- Not support generic field.
19
20
# Costs
21
- Extra time to generate IL instructions while building assembly
@@ -55,4 +58,4 @@ public class MyMonoBehavior : MonoBehaviour
55
58
}
56
59
57
60
-```
61
+```
0 commit comments