private void CreateHero(EnumHeroes eHero) { MyHero = (IHero)heroFactroy.Create(eHero); MyHero.Ability = (IAbility)abilityFactory.Create(eHero); Debug.Log(MyHero.Health); MyHero.Attack(); MyHero.CastAbility(); MyHero.Death(); MyHero.Move(); MyHero.Resurection(); }