示例#1
0
 public void AfterTest()
 {
     _camera   = null;
     _movement = null;
     _heldItem = null;
 }
示例#2
0
 public void BeforeTest()
 {
     _movement = new GameObject().AddComponent <MockMovementComponent>();
     _camera   = _movement.gameObject.AddComponent <MockPlayerCameraComponent>();
     _heldItem = _movement.gameObject.AddComponent <MockHeldItemComponent>();
 }