示例#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;
     }
 }
示例#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;
            }
        }