| | 1 | | using UnityEngine; |
| | 2 | |
|
| | 3 | | public interface IFeatureEncapsulatorComponentView |
| | 4 | | { |
| | 5 | | /// <summary> |
| | 6 | | /// Encapsulates a feature HUD into the section. |
| | 7 | | /// </summary> |
| | 8 | | /// <param name="featureConfiguratorFlag">Flag used to configurates the feature.</param> |
| | 9 | | void EncapsulateFeature(BaseVariable<Transform> featureConfiguratorFlag); |
| | 10 | | } |
| | 11 | |
|
| | 12 | | public class FeatureEncapsulatorComponentView : BaseComponentView, IFeatureEncapsulatorComponentView |
| | 13 | | { |
| | 14 | | [Header("Prefab References")] |
| | 15 | | [SerializeField] internal Transform featureContainer; |
| | 16 | |
|
| 0 | 17 | | public override void RefreshControl() { } |
| | 18 | |
|
| 10 | 19 | | public void EncapsulateFeature(BaseVariable<Transform> featureConfiguratorFlag) { featureConfiguratorFlag.Set(featur |
| | 20 | | } |