提交场景跳转,修复360视频播放,更新场景播放效果
This commit is contained in:
@@ -19,6 +19,7 @@ namespace LevelUp.GrabInteractions
|
||||
|
||||
[Tooltip("指示物体是否应该被重置。子类可用于逻辑判断。")]
|
||||
public bool shouldReturnHome { get; protected set; } = true;
|
||||
public AudioSource downAudio;
|
||||
|
||||
protected void Awake()
|
||||
{
|
||||
@@ -60,6 +61,8 @@ namespace LevelUp.GrabInteractions
|
||||
{
|
||||
// 松手时延迟调用 ReturnHome
|
||||
Invoke(nameof(ReturnHome), resetDelayTime);
|
||||
if (downAudio != null)
|
||||
downAudio.Play();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user