コード例 #1
0
 private void RemoteStartLift()
 {
     AttachedObject.enabled = true;
     AttachedObject.SetValue("_initLocalPos", AttachedObject.transform.localPosition);
     AttachedObject.SetValue("_initLiftTime", Time.time);
     _owAudioSourceOneShot.PlayOneShot(AudioType.TH_LiftActivate);
     _owAudioSourceLP.FadeIn(0.5f);
     _interactVolume.DisableInteraction();
 }
コード例 #2
0
 private void OnLaunch() => _flightLoopAudio.FadeIn(0.1f, true, true);