Using unityengine experimental playerloop. The class representing the player loop in Unity.