Initial Wwise Integration

Created wwise project
Integrated inventory UI sounds
Improved projectile weapon behavior (randomized start position, stopped them from self-destructing at target range when airburst is disabled)
This commit is contained in:
Reinier Vens 2021-02-27 20:53:36 +00:00
commit db8c3c7779
1019 changed files with 76372 additions and 110 deletions

View file

@ -85,6 +85,10 @@ public class InventoryPanel : MonoBehaviour
int2(-1, 1)
};
public InventoryPanelTarget Target =>
_displayedEntity != null ? InventoryPanelTarget.Equipment :
_displayedCargo != null ? InventoryPanelTarget.Cargo : InventoryPanelTarget.None;
private void Start()
{
if (Thermal)
@ -692,3 +696,10 @@ public class InventoryCargoEventData : InventoryEventData
public EquippedCargoBay CargoBay { get; }
}
public enum InventoryPanelTarget
{
None,
Cargo,
Equipment
}