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)); }
private void OnEnable() { _target = (FadableGroup)target; }