Update README.md

This commit is contained in:
mackysoft 2021-12-31 11:04:21 +09:00
parent e7d200c091
commit cba28ca317

View File

@ -111,13 +111,19 @@ public class AddTypeMenuCommand : ICommand {
Debug.Log("Execute AddTypeMenuCommand"); Debug.Log("Execute AddTypeMenuCommand");
} }
} }
[Serializable]
public struct StructCommand : ICommand {
public void Execute () {
Debug.Log("Execute StructCommand");
}
}
``` ```
#### Supported Types #### Supported Types
The `SubclassSelector` attribute supports types that meet the following conditions. The `SubclassSelector` attribute supports types that meet the following conditions.
- Class
- Public - Public
- Not abstract - Not abstract
- Not generic - Not generic