增加收获属性逻辑,优化掉落物表现效果
This commit is contained in:
+9
-1
@@ -3,8 +3,16 @@ namespace SepCore.Simulation
|
||||
internal struct PickupStateSim : ISimulationComponent
|
||||
{
|
||||
public const int StateIdle = 0;
|
||||
public const int StateAbsorbing = 1;
|
||||
public const int StateAbsorbRequested = 1;
|
||||
public const int StateRecoil = 2;
|
||||
public const int StateDash = 3;
|
||||
public const int StateCollected = 4;
|
||||
|
||||
public int State;
|
||||
public float PhaseElapsed;
|
||||
public float IdleElapsed;
|
||||
public float FloatBaseHeight;
|
||||
public Unity.Mathematics.float3 RecoilStartPosition;
|
||||
public Unity.Mathematics.float3 RecoilDirection;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user