查找資料的過程
- https://forum.unity.com/threads/how-to-make-static-update-method.1326297/
- https://medium.com/@thebeardphantom/unity-2018-and-playerloop-5c46a12a677
var playerLoop = UnityEngine.LowLevel.PlayerLoop.GetCurrentPlayerLoop() // subSystem[5] is Update playerLoop.subSystem[5].updateDelegate += myStaticFunction; UnityEngine.LowLevel.PlayerLoop.SetPlayerLoop(playerLoop);
其實更詳盡的解答在 Medium 那邊.