From cba28ca317ff18552be8291693f2bc57ec7e1682 Mon Sep 17 00:00:00 2001 From: mackysoft Date: Fri, 31 Dec 2021 11:04:21 +0900 Subject: [PATCH] Update README.md --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7c497e4..14a973d 100644 --- a/README.md +++ b/README.md @@ -111,13 +111,19 @@ public class AddTypeMenuCommand : ICommand { Debug.Log("Execute AddTypeMenuCommand"); } } + +[Serializable] +public struct StructCommand : ICommand { + public void Execute () { + Debug.Log("Execute StructCommand"); + } +} ``` #### Supported Types The `SubclassSelector` attribute supports types that meet the following conditions. -- Class - Public - Not abstract - Not generic