Murder Satellites
Created TurretController, which performs basic combat for fixed orbital installations Projectiles self-destruct at maximum range Created turret prefab Outfitted turret in game manager Entity position is now 3D Entities responsible for updating their own position and orientation Barrel positions and orientations available from entity code Inventory code will display modal dialog for invalid item moves instead of breaking Yaw articulation working (full 360 rotation still borked)
This commit is contained in:
parent
8aaccac2b5
commit
ef816cc7e0
60 changed files with 2536 additions and 244 deletions
|
|
@ -22,6 +22,11 @@ namespace UniRx.Triggers
|
|||
return onPointerClick ?? (onPointerClick = new Subject<PointerEventData>());
|
||||
}
|
||||
|
||||
private void OnDisable()
|
||||
{
|
||||
onPointerClick = null;
|
||||
}
|
||||
|
||||
protected override void RaiseOnCompletedOnDestroy()
|
||||
{
|
||||
if (onPointerClick != null)
|
||||
|
|
|
|||
Loading…
Reference in a new issue