Instantly share code, notes, and snippets.

Embed
What would you like to do?
PlayerLoopの一覧表示
using UnityEngine;
using UnityEngine.Experimental.LowLevel;
public class ShowPlayerLoop
{
[RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.BeforeSceneLoad)]
static void Init()
{
var playerLoop = PlayerLoop.GetDefaultPlayerLoop();
foreach(var header in playerLoop.subSystemList)
{
Debug.LogFormat("------{0}------", header.type.Name);
foreach( var subSystem in header.subSystemList)
{
Debug.LogFormat("{0}.{1}", header.type.Name ,subSystem.type.Name);
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment