暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

RuntimeExampleTest.cs 576B

1234567891011121314151617181920212223
  1. using UnityEngine;
  2. using UnityEngine.TestTools;
  3. using NUnit.Framework;
  4. using System.Collections;
  5. class RuntimeExampleTest
  6. {
  7. [Test]
  8. public void PlayModeSampleTestSimplePasses()
  9. {
  10. // Use the Assert class to test conditions.
  11. }
  12. // A UnityTest behaves like a coroutine in PlayMode
  13. // and allows you to yield null to skip a frame in EditMode
  14. [UnityTest]
  15. public IEnumerator PlayModeSampleTestWithEnumeratorPasses()
  16. {
  17. // Use the Assert class to test conditions.
  18. // yield to skip a frame
  19. yield return null;
  20. }
  21. }