Exemple #1
0
 private void OnDisable()
 {
     // Unsubscribe the function form the event
     DamageIndicatorEvent -= OnNewIndicator;
 }
Exemple #2
0
 private void OnEnable()
 {
     // Subscribe the function to the event
     DamageIndicatorEvent += OnNewIndicator;
 }