public void SetUp() { _gameObject = new GameObject(String.Format("TestObject-{0}", DateTime.Now.Millisecond)); _gameObject.AddComponent <ConcreteScript>(); _target = _gameObject.GetComponent(typeof(ConcreteScript)) as ConcreteScript; Assert.IsNotNull(_target); }
public void TearDown() { _gameObject = null; _target = null; }