예제 #1
0
 public void before_every_test()
 {
     _distanceTolerance = 0.105f;
     TestableTime.ResetTime();
     _updateManager.Reset();
     AsteroidManager.Instance.Reset();
 }
예제 #2
0
            public void before_every_test()
            {
                var centerPosition = Vector3.zero;
                var worldSize      = new Vector3(_worldSize, _worldSize, _worldSize);

                _worldBounds       = new Bounds(centerPosition, worldSize);
                _distanceTolerance = 0.105f;
                TestableTime.ResetTime();
                _updateManager.Reset();
                AsteroidManager.Instance.Reset();
            }
예제 #3
0
 public void before_every_test()
 {
     TestableTime.ResetTime();
 }
예제 #4
0
 public void before_every_test()
 {
     TestableTime.ResetTime();
     _cooldown = new Cooldown(1f);
 }
예제 #5
0
 public void before_every_test()
 {
     _floatTolerance = 0.01f;
     TestableTime.ResetTime();
 }
예제 #6
0
 public void before_every_test()
 {
     _updater = Substitute.For <IProvideUpdates>();
     TestableTime.ResetTime();
 }