public void Create(AnimationEffect effect) { AnimationEffect d = Instantiate(effect); d.effect = effect.Create(this); OnEffectCreated?.Invoke(d); }