private void startAnimation(ButtonAnimation button) { button.StartAnimation(_animation, _text, _image, _border); }
public static void StartAnimation(this ButtonAnimation button, IObject obj) => button.StartAnimation(obj, obj.GetComponent <ITextComponent>(), obj, obj);