public void Update() { #if UNITY_EDITOR //update every second if (Time.frameCount % Application.targetFrameRate == 0) { RXProfiler.CheckInstanceCounts(); } #endif }
public FNode() { _matrix = new FMatrix(); _concatenatedMatrix = new FMatrix(); #if UNITY_EDITOR if (Futile.instance.shouldTrackNodesInRXProfiler) { RXProfiler.TrackLifeCycle(this); } #endif }