<fix 18>
This commit is contained in:
parent
d0f3e2e70b
commit
ca884bd45d
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: bf6b3223aa3c5814da2a5d76d09afd71
|
||||
guid: fd6edeb246893bf4dae8963836e40cc4
|
||||
VideoClipImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 3
|
||||
|
||||
@ -781,7 +781,7 @@ GameObject:
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
m_IsActive: 0
|
||||
--- !u!224 &41462179
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -1530,7 +1530,7 @@ GameObject:
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &53498680
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -2109,7 +2109,7 @@ GameObject:
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &85247803
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -19160,7 +19160,7 @@ VideoPlayer:
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1389573207}
|
||||
m_Enabled: 1
|
||||
m_VideoClip: {fileID: 32900000, guid: bf6b3223aa3c5814da2a5d76d09afd71, type: 3}
|
||||
m_VideoClip: {fileID: 32900000, guid: fd6edeb246893bf4dae8963836e40cc4, type: 3}
|
||||
m_TargetCameraAlpha: 1
|
||||
m_TargetCamera3DLayout: 0
|
||||
m_TargetCamera: {fileID: 0}
|
||||
@ -20426,7 +20426,7 @@ GameObject:
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
m_IsActive: 0
|
||||
--- !u!224 &1490525277
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
|
||||
@ -80,7 +80,7 @@ public class ServerWorkGameFinalPanel : MonoBehaviour
|
||||
// 設置影片顯示
|
||||
if (waittingVideoPlayer != null)
|
||||
{
|
||||
waittingVideoPlayer.isLooping = true;
|
||||
waittingVideoPlayer.isLooping = false;
|
||||
waittingVideoPlayer.targetTexture = null;
|
||||
waittingVideoPlayer.renderMode = VideoRenderMode.RenderTexture;
|
||||
RenderTexture rt = new RenderTexture(1920, 1080, 24);
|
||||
@ -92,6 +92,9 @@ public class ServerWorkGameFinalPanel : MonoBehaviour
|
||||
|
||||
void OnIntroVideoFinished(VideoPlayer vp)
|
||||
{
|
||||
vp.frame = (long)(vp.frameCount - 1);
|
||||
vp.Pause();
|
||||
Debug.Log("影片播放完成,停在最後一幀");
|
||||
//Debug.Log("影片播放完成");
|
||||
//StartCoroutine(LoadNextScene());
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user