Ejemplo n.º 1
0
 private void Awake()
 {
     //Debug.Log("sizeOfVOXEL:" + sizeOfVoxelData + " SIZE OF QUAD?:" + sizeOfQuadData + " sizeofflot: " + sizeof(float));
     DanceBoxManager.inst = this;
     if (captureFrametime > 0)
     {
         Time.captureFramerate = captureFrametime;
     }
 }
Ejemplo n.º 2
0
        private void Awake()
        {
            if (sizeAdjuster != null)
            {
                sizeAdjuster.localScale = voxelDimensions;
            }
            //Debug.Log("sizeOfVOXEL:" + sizeOfVoxelData + " SIZE OF QUAD?:" + sizeOfQuadData + " sizeofflot: " + sizeof(float));
            DanceBoxManager.inst = this;
            if (captureFrametime > 0)
            {
                Time.captureFramerate = captureFrametime;
            }

            if (caputreDeltaTime > 0)
            {
                Time.captureDeltaTime = caputreDeltaTime;
            }
        }