private void Awake() { //Debug.Log("sizeOfVOXEL:" + sizeOfVoxelData + " SIZE OF QUAD?:" + sizeOfQuadData + " sizeofflot: " + sizeof(float)); DanceBoxManager.inst = this; if (captureFrametime > 0) { Time.captureFramerate = captureFrametime; } }
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; } }