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:
parent
b53e4aec8c
commit
db8c3c7779
1019 changed files with 76372 additions and 110 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue