Пример #1
0
 public void GivenCripIsAlive()
 {
     var componentsHolder = new GameObject();
     componentsHolder.AddComponent<ApplyingDamage>();
     _crip = componentsHolder.AddComponent<HaveHitPoint>();
     _crip.Awake();
 }
Пример #2
0
        public void GivenCripIsAlive()
        {
            var componentsHolder = new GameObject();

            componentsHolder.AddComponent <ApplyingDamage>();
            _crip = componentsHolder.AddComponent <HaveHitPoint>();
            _crip.Awake();
        }