Skip to content

Commit cba28ca

Browse files
committed
Update README.md
1 parent e7d200c commit cba28ca

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,13 +111,19 @@ public class AddTypeMenuCommand : ICommand {
111111
Debug.Log("Execute AddTypeMenuCommand");
112112
}
113113
}
114+
115+
[Serializable]
116+
public struct StructCommand : ICommand {
117+
public void Execute () {
118+
Debug.Log("Execute StructCommand");
119+
}
120+
}
114121
```
115122

116123
#### Supported Types
117124

118125
The `SubclassSelector` attribute supports types that meet the following conditions.
119126

120-
- Class
121127
- Public
122128
- Not abstract
123129
- Not generic

0 commit comments

Comments
 (0)