Replace runtime union metadata
This commit is contained in:
parent
181a0d0a79
commit
d2c062c94d
10 changed files with 59 additions and 93 deletions
|
|
@ -9,12 +9,7 @@ using MessagePack;
|
|||
using Unity.Mathematics;
|
||||
using static Unity.Mathematics.math;
|
||||
|
||||
[Inspectable,
|
||||
Union(0, typeof(InstantWeaponData)),
|
||||
Union(1, typeof(LauncherData)),
|
||||
Union(2, typeof(ConstantWeaponData)),
|
||||
Union(3, typeof(ChargedWeaponData)),
|
||||
RuntimeInspectable]
|
||||
[Inspectable, RuntimeInspectable]
|
||||
public abstract class WeaponData : BehaviorData
|
||||
{
|
||||
[Inspectable, Key(1), RuntimeInspectable]
|
||||
|
|
|
|||
Loading…
Reference in a new issue