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:
334
334
- id : 1
335
335
- id : 2
336
336
- id : 3
337
+ - id : 4
337
338
references :
338
339
version : 1
339
340
00000000 :
@@ -348,6 +349,8 @@ MonoBehaviour:
348
349
type : {class: Example/NestedCommand, ns: MackySoft.SerializeReferenceExtensions.Example, asm: Assembly-CSharp}
349
350
00000003 :
350
351
type : {class: AddTypeMenuCommand, ns: MackySoft.SerializeReferenceExtensions.Example, asm: Assembly-CSharp}
352
+ 00000004 :
353
+ type : {class: StructCommand, ns: MackySoft.SerializeReferenceExtensions.Example, asm: Assembly-CSharp}
351
354
--- !u!4 &1098750747
352
355
Transform :
353
356
m_ObjectHideFlags : 0
Original file line number Diff line number Diff line change @@ -69,5 +69,12 @@ public void Execute () {
69
69
}
70
70
}
71
71
72
+ [ Serializable ]
73
+ public struct StructCommand : ICommand {
74
+ public void Execute ( ) {
75
+ Debug . Log ( "Execute StructCommand" ) ;
76
+ }
77
+ }
78
+
72
79
}
73
80
#endif
You can’t perform that action at this time.
0 commit comments