// Use this for initialization void Awake() { if (instance == null) instance = this; else if (instance != this) Destroy(gameObject); DontDestroyOnLoad(gameObject); distanceEntendu =SOUND_BROADCASTING_RUN ; totalNoiseHear = 0; playerRigidBody = GetComponent<Rigidbody>(); }
void Start() { soundGaugeManager = SoundGaugeManager.getInstance(); }