Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  About the cloth generation script before execution
#5
(12-10-2019, 05:12 PM)josemendez Wrote: Hi.

cloth.GeneratePhysicRepresentationForMesh is a coroutine, and CoroutineJob() is meant  to execute coroutines in the editor. Use StartCoroutine instead. See:
https://docs.unity3d.com/ScriptReference...utine.html




Thank you for your polite explanation and quick reply.

I would like to use StartCoroutine.
Thank you very much.
Reply


Messages In This Thread
RE: About the cloth generation script before execution - by tukuyo - 14-10-2019, 08:57 AM