This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
public class AudioSourceLoudnessTester : MonoBehaviour { | |
public AudioSource audioSource; | |
public float updateStep = 0.1f; | |
public int sampleDataLength = 1024; | |
private float currentUpdateTime = 0f; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
public class MouseRotateTransformY : MonoBehaviour | |
{ | |
private float sensitivity; | |
private Vector3 mousePos; | |
private Vector3 mouseOffset; | |
private Vector3 rotation; | |
OlderNewer