public void AfterTest() { _transformSpecies = null; _species = null; _actionStateMachineComponent = null; _totem = null; }
public void BeforeTest() { _totem = new GameObject().AddComponent <TestTotemComponent>(); _actionStateMachineComponent = new GameObject().AddComponent <MockActionStateMachineComponent>(); _species = _actionStateMachineComponent.gameObject.AddComponent <MockSpeciesComponent>(); var transformObject = new GameObject(); _transformSpecies = transformObject.AddComponent <MockSpeciesComponent>(); _totem.TransformTypePrefab = transformObject; _totem.TestStart(); }