public void BeforeTest() { var staminaObject = new GameObject(); staminaObject.AddComponent <TestUnityMessageEventDispatcherComponent>().TestAwake(); _stamina = staminaObject.AddComponent <TestStaminaComponent>(); }
public void AfterTest() { _stamina = null; }