Exemple #1
0
        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);
        }
Exemple #2
0
 public void TearDown()
 {
     _gameObject = null;
     _target     = null;
 }