Made windowspawner keep track of spawned window count
This commit is contained in:
@@ -12,10 +12,5 @@ namespace InterfaceOff
|
||||
Components.InfoText.text = advert.Name;
|
||||
Components.WindowImage.color = new Color(1, 1, 1, 1);
|
||||
}
|
||||
|
||||
public override void OnWindowCloseButtonClicked()
|
||||
{
|
||||
Destroy(gameObject);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user