Exemple #1
0
        public void BeforeTest()
        {
            var staminaObject = new GameObject();

            staminaObject.AddComponent <TestUnityMessageEventDispatcherComponent>().TestAwake();

            _stamina = staminaObject.AddComponent <TestStaminaComponent>();
        }
Exemple #2
0
 public void AfterTest()
 {
     _stamina = null;
 }