using XCEngine; namespace ProjectScripts { public sealed class TickLogProbe : MonoBehaviour { public int FixedUpdateCount; public int UpdateCount; public int LateUpdateCount; public void Awake() { Debug.Log("[Project TickLogProbe] Awake"); } public void Start() { Debug.Log("[Project TickLogProbe] Start"); } public void FixedUpdate() { FixedUpdateCount += 1; if (FixedUpdateCount <= 3) { Debug.Log("[Project TickLogProbe] FixedUpdate " + FixedUpdateCount); } } public void Update() { UpdateCount += 1; if (UpdateCount <= 3) { Debug.Log("[Project TickLogProbe] Update " + UpdateCount); } } public void LateUpdate() { LateUpdateCount += 1; if (LateUpdateCount <= 3) { Debug.Log("[Project TickLogProbe] LateUpdate " + LateUpdateCount); } } } }