/// <summary> /// Prepares the game. /// </summary> void Start() { StopAllCoroutines(); mainCam = Camera.main; wiimoteController = GetComponent <C_Wiimote>(); followingPosition = Input.mousePosition; wMod = FindObjectOfType <C_WeaponMod>(); hSoundHandlerMainMusic = CustomSoundManager.Instance.PlaySound(Camera.main.gameObject, "Drone_Ambiant", true, 0.5f); //CustomSoundManager.Instance.PlaySound(Camera.main.gameObject, "Turbine_Ambiant", true, 1f); }
// Start is called before the first frame update void Start() { wiimoteController = GetComponent <C_Wiimote>(); followingPosition = Input.mousePosition; }