Update example
This commit is contained in:
parent
b9ad9838ae
commit
e7d200c091
@ -334,6 +334,7 @@ MonoBehaviour:
|
|||||||
- id: 1
|
- id: 1
|
||||||
- id: 2
|
- id: 2
|
||||||
- id: 3
|
- id: 3
|
||||||
|
- id: 4
|
||||||
references:
|
references:
|
||||||
version: 1
|
version: 1
|
||||||
00000000:
|
00000000:
|
||||||
@ -348,6 +349,8 @@ MonoBehaviour:
|
|||||||
type: {class: Example/NestedCommand, ns: MackySoft.SerializeReferenceExtensions.Example, asm: Assembly-CSharp}
|
type: {class: Example/NestedCommand, ns: MackySoft.SerializeReferenceExtensions.Example, asm: Assembly-CSharp}
|
||||||
00000003:
|
00000003:
|
||||||
type: {class: AddTypeMenuCommand, ns: MackySoft.SerializeReferenceExtensions.Example, asm: Assembly-CSharp}
|
type: {class: AddTypeMenuCommand, ns: MackySoft.SerializeReferenceExtensions.Example, asm: Assembly-CSharp}
|
||||||
|
00000004:
|
||||||
|
type: {class: StructCommand, ns: MackySoft.SerializeReferenceExtensions.Example, asm: Assembly-CSharp}
|
||||||
--- !u!4 &1098750747
|
--- !u!4 &1098750747
|
||||||
Transform:
|
Transform:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
|||||||
@ -69,5 +69,12 @@ namespace MackySoft.SerializeReferenceExtensions.Example {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[Serializable]
|
||||||
|
public struct StructCommand : ICommand {
|
||||||
|
public void Execute () {
|
||||||
|
Debug.Log("Execute StructCommand");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
Loading…
x
Reference in New Issue
Block a user