private void OnEnable()
        {
            _target = (FadableGroup)target;

            _alphaOnly        = serializedObject.FindProperty(nameof(_target.AlphaOnly));
            _invertAlpha      = serializedObject.FindProperty(nameof(_target.InvertAlpha));
            _invertPercentage = serializedObject.FindProperty(nameof(_target.InvertPercentage));
            _fadables         = serializedObject.FindProperty(nameof(_target.Fadables));
        }
Exemple #2
0
 private void OnEnable()
 {
     _target = (FadableGroup)target;
 }