Esempio n. 1
0
 public void Update()
 {
             #if UNITY_EDITOR
     //update every second
     if (Time.frameCount % Application.targetFrameRate == 0)
     {
         RXProfiler.CheckInstanceCounts();
     }
             #endif
 }
Esempio n. 2
0
    public FNode()
    {
        _matrix             = new FMatrix();
        _concatenatedMatrix = new FMatrix();

                #if UNITY_EDITOR
        if (Futile.instance.shouldTrackNodesInRXProfiler)
        {
            RXProfiler.TrackLifeCycle(this);
        }
                #endif
    }