Delete dormant legacy audio DTO reads
This commit is contained in:
parent
6b8ac0cb07
commit
6df3cd0ede
5 changed files with 3 additions and 17 deletions
|
|
@ -264,15 +264,6 @@ public class EntityInstance : MonoBehaviour
|
|||
}
|
||||
}
|
||||
|
||||
var hp = Entity.Hardpoints[item.Position.x, item.Position.y];
|
||||
if (hp != null && item.Data.SoundBank != 0)
|
||||
{
|
||||
var hardpointTransform = EquipmentHardpoints.FirstOrDefault(x => x.name == hp.Transform);
|
||||
if (hardpointTransform != null)
|
||||
{
|
||||
var hardpointGameObject = hardpointTransform.gameObject;
|
||||
}
|
||||
}
|
||||
}
|
||||
RadiatorMeshes = new Dictionary<Radiator, MeshRenderer>();
|
||||
Barrels = new Dictionary<HardpointData, Transform[]>();
|
||||
|
|
|
|||
|
|
@ -68,11 +68,6 @@ public class ShipInstance : EntityInstance
|
|||
var thrusterHardpoint = ThrusterHardpoints
|
||||
.FirstOrDefault(t => t.name == ship.Hardpoints[thruster.Item.Position.x, thruster.Item.Position.y].Transform);
|
||||
particlesShape.meshRenderer = thrusterHardpoint?.Emitter;
|
||||
// if (!string.IsNullOrEmpty(thruster.Item.Data.SoundEffectTrigger) && thrusterHardpoint != null)
|
||||
// {
|
||||
// AkSoundEngine.RegisterGameObj(thrusterHardpoint.gameObject);
|
||||
// AkSoundEngine.PostEvent(thruster.Item.Data.SoundEffectTrigger, thrusterHardpoint.gameObject);
|
||||
// }
|
||||
|
||||
return new ThrusterInstance
|
||||
{
|
||||
|
|
|
|||
|
|
@ -387,9 +387,6 @@ public abstract class EquippableItemData : CraftedItemData
|
|||
[Inspectable, LegacyPayloadKey(18)]
|
||||
public float ThermalResilience = 1;
|
||||
|
||||
// [Inspectable, LegacyPayloadKey(19)]
|
||||
// public string SoundEffectTrigger;
|
||||
|
||||
[InspectableTexture, LegacyPayloadKey(20)]
|
||||
public string ActionBarIcon;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue