Exemplo n.º 1
0
 public void Dispose()
 {
     _automationPresentation.UpgradeButtonPressed -= TryUpgradeAutomation;
     _playerData.Detach(this);
     _automationData.Detach(this);
 }
Exemplo n.º 2
0
 private void OnDisable()
 {
     _automation.Detach(this);
 }