SCoroutineRunner.cs 710 B

123456789101112131415161718192021222324252627282930313233
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. namespace SFramework
  5. {
  6. public class SCoroutineRunner : MonoBehaviour
  7. {
  8. }
  9. // now don't need config the waitforseconds and other functions.
  10. // Modify by sunxun 20200725
  11. /*
  12. public static class CoroutineConfig
  13. {
  14. [LuaCallCSharp]
  15. public static List<Type> LuaCallCSharp
  16. {
  17. get
  18. {
  19. return new List<Type>()
  20. {
  21. //typeof(WaitForSeconds),
  22. // Modify On 20200707 For Warning.
  23. #pragma warning disable 0618
  24. typeof(WWW)
  25. #pragma warning restore 0618
  26. };
  27. }
  28. }
  29. }
  30. */
  31. }