public float volumeMeter = 0.5f;//デフォルトを0.5f音量 /// <summary> /// 初期値設定 /// </summary> /// <param name="controller"></param> /// <param name="volume"></param> public SettingData(GravityController.ControllerState controller, float volume) { this.controllerState = controller; this.volumeMeter = volume; }
/// <summary> /// GravityControllerを変更する際呼び出す /// </summary> /// <param name="controllerState">変更したいコントロール</param> public void ChangeGravityController(GravityController.ControllerState controllerState) { m_settingData.controllerState = controllerState; }