CoroutineTest.cs 358 B

12345678910111213141516
  1. using System.Collections;
  2. using UnityEngine.TestTools;
  3. namespace LitMotion.Tests.Runtime
  4. {
  5. public class CoroutineTest
  6. {
  7. [UnityTest]
  8. public IEnumerator Test_ToYieldInteraction()
  9. {
  10. yield return LMotion.Create(0f, 10f, 3f)
  11. .BindToUnityLogger()
  12. .ToYieldInteraction();
  13. }
  14. }
  15. }