No Description
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.

EditorExampleTest.cs 538B

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