Skip to content

Commit a8c3a66

Browse files
authored
Update README.md
1 parent 431ba99 commit a8c3a66

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
Like `SerializeReference` but works for generic type.
2+
13
```c#
24
public interface IMyInterface<T> {}
35
public class MyIntObject : IMyInterface<int> {}
@@ -12,7 +14,8 @@ public class MyMonoBehavior : MonoBehaviour
1214

1315
# Limitations
1416
- Only types from referenced assemblies could be show up in inspector.
15-
- Not support `struct` type
17+
- Not support `struct` type.
18+
- Not support generic field.
1619

1720
# Costs
1821
- Extra time to generate IL instructions while building assembly
@@ -55,4 +58,4 @@ public class MyMonoBehavior : MonoBehaviour
5558
}
5659
}
5760
}
58-
```
61+
```

0 commit comments

Comments
 (0)