public void RemoveEnabler(FNodeEnabler enabler) { if(_enablers == null) return; if(_isOnStage) { enabler.Disconnect(); } _enablers.Remove(enabler); }
public void AddEnabler(FNodeEnabler enabler) { if(_enablers == null) _enablers = new List<FNodeEnabler>(); _enablers.Add(enabler); if(_isOnStage) { enabler.Connect(); } }
protected void RemoveEnabler(FNodeEnabler enabler) { if (_enablers == null) { return; } if (_isOnStage) { enabler.Disconnect(); } _enablers.Remove(enabler); }
protected void AddEnabler(FNodeEnabler enabler) { if (_enablers == null) { _enablers = new List <FNodeEnabler>(); } _enablers.Add(enabler); if (_isOnStage) { enabler.Connect(); } }