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