Exemple #1
0
        public void BeforeTest()
        {
            _rigidbody = new GameObject().AddComponent <Rigidbody2D>();
            _pushable  = _rigidbody.gameObject.AddComponent <TestPushableObjectComponent>();

            _pushable.PushModifier = 1.5f;
            _pushable.TestStart();
        }
Exemple #2
0
 public void AfterTest()
 {
     _pushable  = null;
     _rigidbody = null;
 }