暫無描述
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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. }