コード例 #1
0
 public void Update()
 {
             #if UNITY_EDITOR
     //update every second
     if (Time.frameCount % Application.targetFrameRate == 0)
     {
         RXProfiler.CheckInstanceCounts();
     }
             #endif
 }
コード例 #2
0
ファイル: FNode.cs プロジェクト: SimianLogic/LD29_LakeMonster
    public FNode()
    {
        _matrix             = new FMatrix();
        _concatenatedMatrix = new FMatrix();

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