File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
Assets/MackySoft/MackySoft.SerializeReferenceExtensions/Example
ExampleAssets/Scripts/Runtime Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -334,6 +334,7 @@ MonoBehaviour:
334334 - id : 1
335335 - id : 2
336336 - id : 3
337+ - id : 4
337338 references :
338339 version : 1
339340 00000000 :
@@ -348,6 +349,8 @@ MonoBehaviour:
348349 type : {class: Example/NestedCommand, ns: MackySoft.SerializeReferenceExtensions.Example, asm: Assembly-CSharp}
349350 00000003 :
350351 type : {class: AddTypeMenuCommand, ns: MackySoft.SerializeReferenceExtensions.Example, asm: Assembly-CSharp}
352+ 00000004 :
353+ type : {class: StructCommand, ns: MackySoft.SerializeReferenceExtensions.Example, asm: Assembly-CSharp}
351354--- !u!4 &1098750747
352355Transform :
353356 m_ObjectHideFlags : 0
Original file line number Diff line number Diff line change @@ -69,5 +69,12 @@ public void Execute () {
6969 }
7070 }
7171
72+ [ Serializable ]
73+ public struct StructCommand : ICommand {
74+ public void Execute ( ) {
75+ Debug . Log ( "Execute StructCommand" ) ;
76+ }
77+ }
78+
7279}
7380#endif
You can’t perform that action at this time.
0 commit comments