/// <inheritdoc /> public override void Enable() { base.Enable(); this.groupActiveSetter = new GroupActiveSetter <bool>( this.GameObjects, this.Data, (gameObjectValue, isActive) => isActive); this.groupActiveSetter.Enable(); }
/// <inheritdoc /> public override void Enable() { base.Enable(); this.groupActiveSetter = new GroupActiveSetter <TEnum>( this.GetGameObjects(), this.EnumValue, this.IsGameObjectActive); this.groupActiveSetter.Enable(); }
/// <inheritdoc /> public override void Disable() { base.Disable(); if (this.groupActiveSetter != null) { this.groupActiveSetter.Disable(); this.groupActiveSetter = null; } }