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
|
|
@ -58,7 +58,6 @@ public class TradeMenu : MonoBehaviour
|
|||
{
|
||||
if (!ReferenceEquals(_observedEntityIndex, observedEntityIndex))
|
||||
{
|
||||
_observedDockingIndex?.Dispose();
|
||||
_observedDockingIndex = null;
|
||||
}
|
||||
|
||||
|
|
@ -589,7 +588,6 @@ public class TradeMenu : MonoBehaviour
|
|||
{
|
||||
_catalog?.Dispose();
|
||||
_playerSettings?.Dispose();
|
||||
_observedDockingIndex?.Dispose();
|
||||
_catalog = null;
|
||||
_playerSettings = null;
|
||||
_observedDockingIndex = null;
|
||||
|
|
|
|||
Loading…
Reference in a new issue