Replace runtime MessagePack DTO keys
This commit is contained in:
parent
98d58cac92
commit
066597e70b
41 changed files with 298 additions and 314 deletions
|
|
@ -3,14 +3,13 @@
|
|||
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
||||
|
||||
using System;
|
||||
using MessagePack;
|
||||
using Unity.Mathematics;
|
||||
using static Unity.Mathematics.math;
|
||||
|
||||
[Inspectable, MessagePackObject]
|
||||
[Inspectable]
|
||||
public class ConstantWeaponData : WeaponData
|
||||
{
|
||||
[InspectablePrefab, Key(17)]
|
||||
[InspectablePrefab, RuntimeCatalogKey(17)]
|
||||
public float AmmoInterval = 1;
|
||||
|
||||
public override Behavior CreateInstance(EquippedItem item)
|
||||
|
|
|
|||
Loading…
Reference in a new issue