Replace runtime MessagePack DTO keys

This commit is contained in:
Meta Vens 2026-06-13 15:02:32 +01:00
commit 066597e70b
41 changed files with 298 additions and 314 deletions

View file

@ -2,17 +2,16 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
using MessagePack;
using Unity.Mathematics;
using static Unity.Mathematics.math;
[Inspectable, MessagePackObject, RuntimeInspectable]
[Inspectable, RuntimeInspectable]
public class ReflectorData : BehaviorData
{
[Inspectable, Key(1), RuntimeInspectable]
[Inspectable, RuntimeCatalogKey(1), RuntimeInspectable]
public PerformanceStat CrossSection = new PerformanceStat();
// [InspectableAnimationCurve, Key(1)]
// [InspectableAnimationCurve, RuntimeCatalogKey(1)]
// public float4[] VisibilityCurve;
public override Behavior CreateInstance(EquippedItem item)