Sample docking state through current typed access
This commit is contained in:
parent
ac82c7f88e
commit
ade95ae5b6
8 changed files with 27 additions and 63 deletions
|
|
@ -91,7 +91,6 @@ public class InventoryPanel : MonoBehaviour, IPointerClickHandler
|
|||
{
|
||||
if (!ReferenceEquals(_observedEntityIndex, observedEntityIndex))
|
||||
{
|
||||
_observedDockingIndex?.Dispose();
|
||||
_observedDockingIndex = null;
|
||||
}
|
||||
|
||||
|
|
@ -1466,7 +1465,6 @@ private void Update()
|
|||
_currentEntity?.Dispose();
|
||||
_stationRefit?.Dispose();
|
||||
_loadoutFrame?.Dispose();
|
||||
_observedDockingIndex?.Dispose();
|
||||
_inventory?.Dispose();
|
||||
_catalog = null;
|
||||
_playerSettings = null;
|
||||
|
|
|
|||
Loading…
Reference in a new issue