Delete runtime behavior config bridge
This commit is contained in:
parent
6479f6fcfa
commit
18a4ead6f8
13 changed files with 243 additions and 705 deletions
|
|
@ -1,59 +0,0 @@
|
|||
/* 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/. */
|
||||
|
||||
using Unity.Mathematics;
|
||||
|
||||
[Inspectable]
|
||||
public class LauncherConfig : LockWeaponConfig
|
||||
{
|
||||
[InspectableAnimationCurve]
|
||||
public float4[] GuidanceCurve;
|
||||
|
||||
[InspectableAnimationCurve]
|
||||
public float4[] ThrustCurve;
|
||||
|
||||
[InspectableAnimationCurve]
|
||||
public float4[] LiftCurve;
|
||||
|
||||
[Inspectable]
|
||||
public PerformanceStat Thrust = new PerformanceStat();
|
||||
|
||||
[Inspectable]
|
||||
public float DodgeFrequency;
|
||||
|
||||
[Inspectable]
|
||||
public PerformanceStat MissileVelocity = new PerformanceStat();
|
||||
|
||||
public override Behavior CreateInstance(EquippedItem item)
|
||||
{
|
||||
return new LockWeapon(this, item);
|
||||
}
|
||||
}
|
||||
|
||||
[Inspectable]
|
||||
public class GuidedWeaponConfig : InstantWeaponConfig
|
||||
{
|
||||
[InspectableAnimationCurve]
|
||||
public float4[] GuidanceCurve;
|
||||
|
||||
[InspectableAnimationCurve]
|
||||
public float4[] ThrustCurve;
|
||||
|
||||
[InspectableAnimationCurve]
|
||||
public float4[] LiftCurve;
|
||||
|
||||
[Inspectable]
|
||||
public PerformanceStat Thrust = new PerformanceStat();
|
||||
|
||||
[Inspectable]
|
||||
public float DodgeFrequency;
|
||||
|
||||
[Inspectable]
|
||||
public PerformanceStat MissileVelocity = new PerformanceStat();
|
||||
|
||||
public override Behavior CreateInstance(EquippedItem item)
|
||||
{
|
||||
return new InstantWeapon(this, item);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue