private void OnEnable()
 {
     InitAnimBool(out usesContantValue);
     InitAnimBool(out usesTimeController);
     effect = (FreezeFrameEffect)target;
     header = new EffectHeader(typeof(FreezeFrameEffect));
 }
        private void OnEnable()
        {
            InitAnimBool(out usesContantValue);
            InitAnimBool(out usesTimeController);


            effect = (FreezeFrameEffect)target;
            var type = effect.GetType();

            TryLoadAttribute(type, out requiredFeature);
            TryLoadAttribute(type, out optinalFeature);
        }