Exemple #1
0
 public void OnDisable()
 {
     ScriptableEvent?.RemoveListener(this);
 }
Exemple #2
0
 public void OnEnable()
 {
     ScriptableEvent?.AddListener(this);
 }