Delete dead RuntimeInspectable metadata
This commit is contained in:
parent
77b2c74375
commit
5196ee4c3c
29 changed files with 86 additions and 88 deletions
|
|
@ -1,4 +1,4 @@
|
|||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* 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/. */
|
||||
|
||||
|
|
@ -15,7 +15,6 @@ public class EntityTypeRestrictionAttribute : Attribute
|
|||
}
|
||||
}
|
||||
|
||||
public class RuntimeInspectable : Attribute { }
|
||||
// public class CategoryAttribute : Attribute
|
||||
// {
|
||||
// public readonly Type Type;
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
using Unity.Mathematics;
|
||||
using static Unity.Mathematics.math;
|
||||
|
||||
[Inspectable, EntityTypeRestriction(HullType.Ship), RuntimeInspectable]
|
||||
[Inspectable, EntityTypeRestriction(HullType.Ship)]
|
||||
public class AetherDriveData : BehaviorData
|
||||
{
|
||||
[Inspectable, LegacyPayloadKey(1)]
|
||||
|
|
@ -14,7 +14,7 @@ public class AetherDriveData : BehaviorData
|
|||
[Inspectable, LegacyPayloadKey(2)]
|
||||
public float3 RotorMass;
|
||||
|
||||
[Inspectable, LegacyPayloadKey(3), RuntimeInspectable]
|
||||
[Inspectable, LegacyPayloadKey(3)]
|
||||
public PerformanceStat MaximumRpm;
|
||||
|
||||
[Inspectable, LegacyPayloadKey(4)]
|
||||
|
|
@ -23,25 +23,25 @@ public class AetherDriveData : BehaviorData
|
|||
[Inspectable, LegacyPayloadKey(5)]
|
||||
public PerformanceStat LambdaMultiplier;
|
||||
|
||||
[Inspectable, LegacyPayloadKey(6), RuntimeInspectable]
|
||||
[Inspectable, LegacyPayloadKey(6)]
|
||||
public PerformanceStat CouplingEfficiency;
|
||||
|
||||
[Inspectable, LegacyPayloadKey(7), RuntimeInspectable]
|
||||
[Inspectable, LegacyPayloadKey(7)]
|
||||
public PerformanceStat Torque;
|
||||
|
||||
[Inspectable, LegacyPayloadKey(8), RuntimeInspectable]
|
||||
[Inspectable, LegacyPayloadKey(8)]
|
||||
public BezierCurve TorqueProfile;
|
||||
|
||||
[Inspectable, LegacyPayloadKey(9), RuntimeInspectable]
|
||||
[Inspectable, LegacyPayloadKey(9)]
|
||||
public PerformanceStat EnergyDraw;
|
||||
|
||||
[Inspectable, LegacyPayloadKey(10), RuntimeInspectable]
|
||||
[Inspectable, LegacyPayloadKey(10)]
|
||||
public PerformanceStat PassiveCoupling;
|
||||
|
||||
[InspectableAudioParameter, LegacyPayloadKey(11), RuntimeInspectable]
|
||||
[InspectableAudioParameter, LegacyPayloadKey(11)]
|
||||
public uint RpmAudioParameter;
|
||||
|
||||
[InspectableAudioParameter, LegacyPayloadKey(12), RuntimeInspectable]
|
||||
[InspectableAudioParameter, LegacyPayloadKey(12)]
|
||||
public uint TorqueRatioAudioParameter;
|
||||
|
||||
[InspectablePrefab, LegacyPayloadKey(13)]
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ using System.Collections.Generic;
|
|||
using Unity.Mathematics;
|
||||
using static Unity.Mathematics.math;
|
||||
|
||||
[Inspectable, RuntimeInspectable]
|
||||
[Inspectable]
|
||||
public class AutoWeaponData : InstantWeaponData
|
||||
{
|
||||
public override Behavior CreateInstance(EquippedItem item)
|
||||
|
|
|
|||
|
|
@ -6,13 +6,13 @@ using System.Collections.Generic;
|
|||
using Unity.Mathematics;
|
||||
using static Unity.Mathematics.math;
|
||||
|
||||
[Inspectable, RuntimeInspectable]
|
||||
[Inspectable]
|
||||
public class CapacitorData : BehaviorData
|
||||
{
|
||||
[Inspectable, LegacyPayloadKey(1), RuntimeInspectable]
|
||||
[Inspectable, LegacyPayloadKey(1)]
|
||||
public PerformanceStat Capacity = new PerformanceStat();
|
||||
|
||||
[Inspectable, LegacyPayloadKey(2), RuntimeInspectable]
|
||||
[Inspectable, LegacyPayloadKey(2)]
|
||||
public PerformanceStat Efficiency = new PerformanceStat();
|
||||
|
||||
public override Behavior CreateInstance(EquippedItem item)
|
||||
|
|
|
|||
|
|
@ -4,16 +4,16 @@ using System.Collections.Generic;
|
|||
using Unity.Mathematics;
|
||||
using static Unity.Mathematics.math;
|
||||
|
||||
[Inspectable, RuntimeInspectable]
|
||||
[Inspectable]
|
||||
public class ChargedWeaponData : InstantWeaponData
|
||||
{
|
||||
[Inspectable, LegacyPayloadKey(21), RuntimeInspectable]
|
||||
[Inspectable, LegacyPayloadKey(21)]
|
||||
public PerformanceStat ChargeTime = new PerformanceStat();
|
||||
|
||||
[Inspectable, LegacyPayloadKey(22), RuntimeInspectable]
|
||||
[Inspectable, LegacyPayloadKey(22)]
|
||||
public PerformanceStat ChargeEnergy = new PerformanceStat();
|
||||
|
||||
[Inspectable, LegacyPayloadKey(23), RuntimeInspectable]
|
||||
[Inspectable, LegacyPayloadKey(23)]
|
||||
public PerformanceStat ChargeHeat = new PerformanceStat();
|
||||
|
||||
[Inspectable, LegacyPayloadKey(24)]
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ using System.Collections.Generic;
|
|||
using Unity.Mathematics;
|
||||
using static Unity.Mathematics.math;
|
||||
|
||||
[Inspectable, RuntimeInspectable]
|
||||
[Inspectable]
|
||||
public class CockpitData : BehaviorData
|
||||
{
|
||||
public override Behavior CreateInstance(EquippedItem item)
|
||||
|
|
|
|||
|
|
@ -7,10 +7,10 @@ using System.Linq;
|
|||
using Unity.Mathematics;
|
||||
using static Unity.Mathematics.math;
|
||||
|
||||
[Inspectable, Order(-10), RuntimeInspectable]
|
||||
[Inspectable, Order(-10)]
|
||||
public class CooldownData : BehaviorData
|
||||
{
|
||||
[Inspectable, LegacyPayloadKey(1), RuntimeInspectable]
|
||||
[Inspectable, LegacyPayloadKey(1)]
|
||||
public PerformanceStat Cooldown = new PerformanceStat();
|
||||
|
||||
public override Behavior CreateInstance(EquippedItem item)
|
||||
|
|
|
|||
|
|
@ -4,10 +4,10 @@
|
|||
|
||||
using System;
|
||||
using System.Linq;
|
||||
[Inspectable, Order(-20), RuntimeInspectable]
|
||||
[Inspectable, Order(-20)]
|
||||
public class EnergyDrawData : BehaviorData
|
||||
{
|
||||
[Inspectable, LegacyPayloadKey(1), RuntimeInspectable]
|
||||
[Inspectable, LegacyPayloadKey(1)]
|
||||
public PerformanceStat EnergyDraw = new PerformanceStat();
|
||||
|
||||
[Inspectable, LegacyPayloadKey(2)]
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ using System.Linq;
|
|||
[Inspectable, Order(10)]
|
||||
public class HeatData : BehaviorData
|
||||
{
|
||||
[Inspectable, LegacyPayloadKey(1), RuntimeInspectable]
|
||||
[Inspectable, LegacyPayloadKey(1)]
|
||||
public PerformanceStat Heat = new PerformanceStat();
|
||||
|
||||
[Inspectable, LegacyPayloadKey(2)]
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ using System.Collections.Generic;
|
|||
using Unity.Mathematics;
|
||||
using static Unity.Mathematics.math;
|
||||
|
||||
[Inspectable, RuntimeInspectable]
|
||||
[Inspectable]
|
||||
public class HeatStorageData : BehaviorData
|
||||
{
|
||||
public override Behavior CreateInstance(EquippedItem item)
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ using System.Collections.Generic;
|
|||
using Unity.Mathematics;
|
||||
using static Unity.Mathematics.math;
|
||||
|
||||
[Inspectable, RuntimeInspectable]
|
||||
[Inspectable]
|
||||
public class InstantWeaponData : WeaponData
|
||||
{
|
||||
[Inspectable, LegacyPayloadKey(17)]
|
||||
|
|
@ -13,7 +13,7 @@ public class InstantWeaponData : WeaponData
|
|||
[Inspectable, LegacyPayloadKey(18)]
|
||||
public PerformanceStat BurstTime = new PerformanceStat();
|
||||
|
||||
[Inspectable, LegacyPayloadKey(19), RuntimeInspectable]
|
||||
[Inspectable, LegacyPayloadKey(19)]
|
||||
public PerformanceStat Cooldown = new PerformanceStat();
|
||||
|
||||
[InspectablePrefab, LegacyPayloadKey(20)]
|
||||
|
|
|
|||
|
|
@ -4,10 +4,10 @@
|
|||
|
||||
using System;
|
||||
using System.Linq;
|
||||
[Inspectable, Order(-5), RuntimeInspectable]
|
||||
[Inspectable, Order(-5)]
|
||||
public class ItemUsageData : BehaviorData
|
||||
{
|
||||
[LegacyPayloadKey(1), RuntimeInspectable]
|
||||
[LegacyPayloadKey(1)]
|
||||
public Guid Item;
|
||||
|
||||
public override Behavior CreateInstance(EquippedItem item)
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ public class LauncherData : LockWeaponData
|
|||
[Inspectable, LegacyPayloadKey(30)]
|
||||
public float DodgeFrequency;
|
||||
|
||||
[Inspectable, LegacyPayloadKey(31), RuntimeInspectable]
|
||||
[Inspectable, LegacyPayloadKey(31)]
|
||||
public PerformanceStat MissileVelocity = new PerformanceStat();
|
||||
|
||||
public override Behavior CreateInstance(EquippedItem item)
|
||||
|
|
@ -49,7 +49,7 @@ public class GuidedWeaponData : InstantWeaponData
|
|||
[Inspectable, LegacyPayloadKey(25)]
|
||||
public float DodgeFrequency;
|
||||
|
||||
[Inspectable, LegacyPayloadKey(26), RuntimeInspectable]
|
||||
[Inspectable, LegacyPayloadKey(26)]
|
||||
public PerformanceStat MissileVelocity = new PerformanceStat();
|
||||
|
||||
public override Behavior CreateInstance(EquippedItem item)
|
||||
|
|
|
|||
|
|
@ -4,16 +4,16 @@ using System.Collections.Generic;
|
|||
using Unity.Mathematics;
|
||||
using static Unity.Mathematics.math;
|
||||
|
||||
[Inspectable, RuntimeInspectable]
|
||||
[Inspectable]
|
||||
public class LockWeaponData : InstantWeaponData
|
||||
{
|
||||
[Inspectable, LegacyPayloadKey(21), RuntimeInspectable]
|
||||
[Inspectable, LegacyPayloadKey(21)]
|
||||
public PerformanceStat LockSpeed = new PerformanceStat();
|
||||
|
||||
[Inspectable, LegacyPayloadKey(22)]
|
||||
public PerformanceStat SensorImpact = new PerformanceStat();
|
||||
|
||||
[Inspectable, LegacyPayloadKey(23), RuntimeInspectable]
|
||||
[Inspectable, LegacyPayloadKey(23)]
|
||||
public PerformanceStat LockAngle = new PerformanceStat();
|
||||
|
||||
[Inspectable, LegacyPayloadKey(24)]
|
||||
|
|
|
|||
|
|
@ -5,25 +5,25 @@
|
|||
using Unity.Mathematics;
|
||||
using static Unity.Mathematics.math;
|
||||
|
||||
[Inspectable, RuntimeInspectable]
|
||||
[Inspectable]
|
||||
public class RadiatorData : BehaviorData
|
||||
{
|
||||
[Inspectable, LegacyPayloadKey(1), RuntimeInspectable]
|
||||
[Inspectable, LegacyPayloadKey(1)]
|
||||
public PerformanceStat Emissivity = new PerformanceStat();
|
||||
|
||||
[Inspectable, LegacyPayloadKey(2), RuntimeInspectable]
|
||||
[Inspectable, LegacyPayloadKey(2)]
|
||||
public PerformanceStat PumpedHeat = new PerformanceStat();
|
||||
|
||||
[InspectableTemperature, LegacyPayloadKey(3), RuntimeInspectable]
|
||||
[InspectableTemperature, LegacyPayloadKey(3)]
|
||||
public float TemperatureFloor;
|
||||
|
||||
[Inspectable, LegacyPayloadKey(4), RuntimeInspectable]
|
||||
[Inspectable, LegacyPayloadKey(4)]
|
||||
public PerformanceStat WasteHeat = new PerformanceStat();
|
||||
|
||||
[Inspectable, LegacyPayloadKey(5), RuntimeInspectable]
|
||||
[Inspectable, LegacyPayloadKey(5)]
|
||||
public PerformanceStat EnergyUsage = new PerformanceStat();
|
||||
|
||||
[Inspectable, LegacyPayloadKey(6), RuntimeInspectable]
|
||||
[Inspectable, LegacyPayloadKey(6)]
|
||||
public PerformanceStat ThermalMass = new PerformanceStat();
|
||||
|
||||
public override Behavior CreateInstance(EquippedItem item)
|
||||
|
|
|
|||
|
|
@ -9,19 +9,19 @@ using UniRx;
|
|||
using Unity.Mathematics;
|
||||
using static Unity.Mathematics.math;
|
||||
|
||||
[Inspectable, RuntimeInspectable]
|
||||
[Inspectable]
|
||||
public class ReactorData : BehaviorData
|
||||
{
|
||||
[Inspectable, LegacyPayloadKey(1), RuntimeInspectable]
|
||||
[Inspectable, LegacyPayloadKey(1)]
|
||||
public PerformanceStat Charge = new PerformanceStat();
|
||||
|
||||
[Inspectable, LegacyPayloadKey(2), RuntimeInspectable]
|
||||
[Inspectable, LegacyPayloadKey(2)]
|
||||
public PerformanceStat Efficiency = new PerformanceStat();
|
||||
|
||||
[Inspectable, LegacyPayloadKey(3), RuntimeInspectable]
|
||||
[Inspectable, LegacyPayloadKey(3)]
|
||||
public PerformanceStat OverloadEfficiency = new PerformanceStat();
|
||||
|
||||
[Inspectable, LegacyPayloadKey(4), RuntimeInspectable]
|
||||
[Inspectable, LegacyPayloadKey(4)]
|
||||
public PerformanceStat ThrottlingFactor = new PerformanceStat();
|
||||
|
||||
public override Behavior CreateInstance(EquippedItem item)
|
||||
|
|
|
|||
|
|
@ -5,10 +5,10 @@
|
|||
using Unity.Mathematics;
|
||||
using static Unity.Mathematics.math;
|
||||
|
||||
[Inspectable, RuntimeInspectable]
|
||||
[Inspectable]
|
||||
public class ReflectorData : BehaviorData
|
||||
{
|
||||
[Inspectable, LegacyPayloadKey(1), RuntimeInspectable]
|
||||
[Inspectable, LegacyPayloadKey(1)]
|
||||
public PerformanceStat CrossSection = new PerformanceStat();
|
||||
|
||||
// [InspectableAnimationCurve, LegacyPayloadKey(1)]
|
||||
|
|
|
|||
|
|
@ -7,16 +7,16 @@ using System.Linq;
|
|||
using Unity.Mathematics;
|
||||
using static Unity.Mathematics.math;
|
||||
|
||||
[Inspectable, RuntimeInspectable]
|
||||
[Inspectable]
|
||||
public class ResourceScannerData : BehaviorData
|
||||
{
|
||||
[Inspectable, LegacyPayloadKey(1), RuntimeInspectable]
|
||||
[Inspectable, LegacyPayloadKey(1)]
|
||||
public PerformanceStat Range = new PerformanceStat();
|
||||
|
||||
[Inspectable, LegacyPayloadKey(2), RuntimeInspectable]
|
||||
[Inspectable, LegacyPayloadKey(2)]
|
||||
public PerformanceStat MinimumDensity = new PerformanceStat();
|
||||
|
||||
[Inspectable, LegacyPayloadKey(3), RuntimeInspectable]
|
||||
[Inspectable, LegacyPayloadKey(3)]
|
||||
public PerformanceStat ScanDuration = new PerformanceStat();
|
||||
|
||||
public override Behavior CreateInstance(EquippedItem item)
|
||||
|
|
|
|||
|
|
@ -7,28 +7,28 @@ using System.Collections.Generic;
|
|||
using Unity.Mathematics;
|
||||
using static Unity.Mathematics.math;
|
||||
|
||||
[Inspectable, RuntimeInspectable]
|
||||
[Inspectable]
|
||||
public class SensorData : BehaviorData
|
||||
{
|
||||
[Inspectable, LegacyPayloadKey(3), RuntimeInspectable]
|
||||
[Inspectable, LegacyPayloadKey(3)]
|
||||
public PerformanceStat Sensitivity = new PerformanceStat();
|
||||
|
||||
[InspectableAnimationCurve, LegacyPayloadKey(4), RuntimeInspectable]
|
||||
[InspectableAnimationCurve, LegacyPayloadKey(4)]
|
||||
public BezierCurve SensitivityCurve;
|
||||
|
||||
[Inspectable, LegacyPayloadKey(5), RuntimeInspectable]
|
||||
[Inspectable, LegacyPayloadKey(5)]
|
||||
public PerformanceStat PingBoost;
|
||||
|
||||
[Inspectable, LegacyPayloadKey(6), RuntimeInspectable]
|
||||
[Inspectable, LegacyPayloadKey(6)]
|
||||
public PerformanceStat PingEnergy;
|
||||
|
||||
[Inspectable, LegacyPayloadKey(7), RuntimeInspectable]
|
||||
[Inspectable, LegacyPayloadKey(7)]
|
||||
public PerformanceStat PingVisibility;
|
||||
|
||||
[Inspectable, LegacyPayloadKey(8), RuntimeInspectable]
|
||||
[Inspectable, LegacyPayloadKey(8)]
|
||||
public PerformanceStat PingRange;
|
||||
|
||||
[Inspectable, LegacyPayloadKey(9), RuntimeInspectable]
|
||||
[Inspectable, LegacyPayloadKey(9)]
|
||||
public PerformanceStat PingCooldown;
|
||||
|
||||
[Inspectable, LegacyPayloadKey(10)]
|
||||
|
|
|
|||
|
|
@ -5,13 +5,13 @@
|
|||
using Unity.Mathematics;
|
||||
using static Unity.Mathematics.math;
|
||||
|
||||
[Inspectable, RuntimeInspectable]
|
||||
[Inspectable]
|
||||
public class ShieldData : BehaviorData
|
||||
{
|
||||
[Inspectable, LegacyPayloadKey(1), RuntimeInspectable]
|
||||
[Inspectable, LegacyPayloadKey(1)]
|
||||
public PerformanceStat Efficiency = new PerformanceStat();
|
||||
|
||||
[Inspectable, LegacyPayloadKey(2), RuntimeInspectable]
|
||||
[Inspectable, LegacyPayloadKey(2)]
|
||||
public PerformanceStat EnergyUsage = new PerformanceStat();
|
||||
|
||||
public override Behavior CreateInstance(EquippedItem item)
|
||||
|
|
|
|||
|
|
@ -5,19 +5,19 @@
|
|||
using Unity.Mathematics;
|
||||
using static Unity.Mathematics.math;
|
||||
|
||||
[Inspectable, EntityTypeRestriction(HullType.Ship), RuntimeInspectable]
|
||||
[Inspectable, EntityTypeRestriction(HullType.Ship)]
|
||||
public class ThrusterData : BehaviorData
|
||||
{
|
||||
[Inspectable, LegacyPayloadKey(1), RuntimeInspectable]
|
||||
[Inspectable, LegacyPayloadKey(1)]
|
||||
public PerformanceStat Thrust = new PerformanceStat();
|
||||
|
||||
[Inspectable, LegacyPayloadKey(2), RuntimeInspectable]
|
||||
[Inspectable, LegacyPayloadKey(2)]
|
||||
public PerformanceStat Visibility = new PerformanceStat();
|
||||
|
||||
[Inspectable, LegacyPayloadKey(3), RuntimeInspectable]
|
||||
[Inspectable, LegacyPayloadKey(3)]
|
||||
public PerformanceStat Heat = new PerformanceStat();
|
||||
|
||||
[Inspectable, LegacyPayloadKey(4), RuntimeInspectable]
|
||||
[Inspectable, LegacyPayloadKey(4)]
|
||||
public PerformanceStat EnergyUsage = new PerformanceStat();
|
||||
|
||||
[InspectablePrefab, LegacyPayloadKey(5)]
|
||||
|
|
|
|||
|
|
@ -8,8 +8,6 @@ using UniRx;
|
|||
using Unity.Mathematics;
|
||||
using static Unity.Mathematics.math;
|
||||
using float3 = Unity.Mathematics.float3;
|
||||
|
||||
[RuntimeInspectable]
|
||||
public class TurretControllerData : BehaviorData
|
||||
{
|
||||
public override Behavior CreateInstance(EquippedItem item)
|
||||
|
|
|
|||
|
|
@ -4,11 +4,9 @@
|
|||
|
||||
using Unity.Mathematics;
|
||||
using static Unity.Mathematics.math;
|
||||
|
||||
[RuntimeInspectable]
|
||||
public class VelocityConversionData : BehaviorData
|
||||
{
|
||||
[Inspectable, LegacyPayloadKey(1), RuntimeInspectable]
|
||||
[Inspectable, LegacyPayloadKey(1)]
|
||||
public PerformanceStat Lambda = new PerformanceStat();
|
||||
|
||||
public override Behavior CreateInstance(EquippedItem item)
|
||||
|
|
|
|||
|
|
@ -5,10 +5,10 @@
|
|||
using Unity.Mathematics;
|
||||
using static Unity.Mathematics.math;
|
||||
|
||||
[Inspectable, RuntimeInspectable]
|
||||
[Inspectable]
|
||||
public class VelocityLimitData : BehaviorData
|
||||
{
|
||||
[Inspectable, LegacyPayloadKey(1), RuntimeInspectable]
|
||||
[Inspectable, LegacyPayloadKey(1)]
|
||||
public PerformanceStat TopSpeed = new PerformanceStat();
|
||||
|
||||
public override Behavior CreateInstance(EquippedItem item)
|
||||
|
|
|
|||
|
|
@ -4,10 +4,10 @@
|
|||
|
||||
using System;
|
||||
using System.Linq;
|
||||
[Inspectable, RuntimeInspectable]
|
||||
[Inspectable]
|
||||
public class VisibilityData : BehaviorData
|
||||
{
|
||||
[Inspectable, LegacyPayloadKey(1), RuntimeInspectable]
|
||||
[Inspectable, LegacyPayloadKey(1)]
|
||||
public PerformanceStat Visibility = new PerformanceStat();
|
||||
|
||||
[Inspectable, LegacyPayloadKey(2)]
|
||||
|
|
|
|||
|
|
@ -8,16 +8,16 @@ using System.Linq;
|
|||
using Unity.Mathematics;
|
||||
using static Unity.Mathematics.math;
|
||||
|
||||
[Inspectable, RuntimeInspectable]
|
||||
[Inspectable]
|
||||
public abstract class WeaponData : BehaviorData
|
||||
{
|
||||
[Inspectable, LegacyPayloadKey(1), RuntimeInspectable]
|
||||
[Inspectable, LegacyPayloadKey(1)]
|
||||
public DamageType DamageType;
|
||||
|
||||
[Inspectable, LegacyPayloadKey(2), RuntimeInspectable]
|
||||
[Inspectable, LegacyPayloadKey(2)]
|
||||
public PerformanceStat Damage = new PerformanceStat();
|
||||
|
||||
[InspectableRangedFloat(0,1), LegacyPayloadKey(3), RuntimeInspectable]
|
||||
[InspectableRangedFloat(0,1), LegacyPayloadKey(3)]
|
||||
public PerformanceStat Penetration = new PerformanceStat();
|
||||
|
||||
[InspectableRangedFloat(0,1), LegacyPayloadKey(4)]
|
||||
|
|
@ -35,16 +35,16 @@ public abstract class WeaponData : BehaviorData
|
|||
[InspectablePrefab, LegacyPayloadKey(8)]
|
||||
public string EffectPrefab;
|
||||
|
||||
[InspectablePrefab, LegacyPayloadKey(9), RuntimeInspectable]
|
||||
[InspectablePrefab, LegacyPayloadKey(9)]
|
||||
public PerformanceStat Energy = new PerformanceStat();
|
||||
|
||||
[InspectablePrefab, LegacyPayloadKey(10), RuntimeInspectable]
|
||||
[InspectablePrefab, LegacyPayloadKey(10)]
|
||||
public PerformanceStat Heat = new PerformanceStat();
|
||||
|
||||
[InspectablePrefab, LegacyPayloadKey(11), RuntimeInspectable]
|
||||
[InspectablePrefab, LegacyPayloadKey(11)]
|
||||
public PerformanceStat Visibility = new PerformanceStat();
|
||||
|
||||
[LegacyPayloadKey(12), RuntimeInspectable]
|
||||
[LegacyPayloadKey(12)]
|
||||
public Guid AmmoType;
|
||||
|
||||
[InspectablePrefab, LegacyPayloadKey(13)]
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ using System.Collections.Generic;
|
|||
using Unity.Mathematics;
|
||||
using static Unity.Mathematics.math;
|
||||
|
||||
[Inspectable, Order(1000), RuntimeInspectable]
|
||||
[Inspectable, Order(1000)]
|
||||
public class WearData : BehaviorData
|
||||
{
|
||||
[InspectableTemperature, LegacyPayloadKey(1)]
|
||||
|
|
|
|||
Loading…
Reference in a new issue