add 完成部分第一模块的修改

hebing
zc 2023-10-05 02:31:29 +08:00
parent c15aaa82cd
commit 35c14dc721
47 changed files with 11860 additions and 4233 deletions

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="UserContentModel">
<attachedFolders />
<explicitIncludes />
<explicitExcludes />
</component>
</project>

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>

View File

@ -95,7 +95,7 @@ ModelImporter:
takeName: Take 001
internalID: -3291206362154003629
firstFrame: 220
lastFrame: 230
lastFrame: 249
wrapMode: 0
orientationOffsetY: 0
level: 0
@ -123,7 +123,7 @@ ModelImporter:
name: "F\u5367\u5012"
takeName: Take 001
internalID: 1465369574596688972
firstFrame: 230
firstFrame: 250
lastFrame: 280
wrapMode: 0
orientationOffsetY: 0

View File

@ -12,9 +12,9 @@ ModelImporter:
animations:
legacyGenerateAnimations: 4
bakeSimulation: 0
resampleCurves: 1
resampleCurves: 0
optimizeGameObjects: 0
removeConstantScaleCurves: 1
removeConstantScaleCurves: 0
motionNodeName:
rigImportErrors:
rigImportWarnings:
@ -24,10 +24,10 @@ ModelImporter:
animationDoRetargetingWarnings: 0
importAnimatedCustomProperties: 0
importConstraints: 0
animationCompression: 1
animationRotationError: 0.5
animationPositionError: 0.5
animationScaleError: 0.5
animationCompression: 3
animationRotationError: 0.1
animationPositionError: 0.1
animationScaleError: 0.1
animationWrapMode: 0
extraExposedTransformPaths: []
extraUserProperties: []
@ -235,6 +235,35 @@ ModelImporter:
maskType: 3
maskSource: {instanceID: 0}
additiveReferencePoseFrame: 0
- serializedVersion: 16
name: "\u7AD9\u7ACB"
takeName: Take 001
internalID: 2937323276152918717
firstFrame: 410
lastFrame: 411
wrapMode: 0
orientationOffsetY: 0
level: 0
cycleOffset: 0
loop: 0
hasAdditiveReferencePose: 0
loopTime: 1
loopBlend: 0
loopBlendOrientation: 0
loopBlendPositionY: 0
loopBlendPositionXZ: 0
keepOriginalOrientation: 0
keepOriginalPositionY: 1
keepOriginalPositionXZ: 0
heightFromFeet: 0
mirror: 0
bodyMask: 01000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000
curves: []
events: []
transformMask: []
maskType: 3
maskSource: {instanceID: 0}
additiveReferencePoseFrame: 0
isReadable: 0
meshes:
lODScreenPercentages: []

View File

@ -85,7 +85,7 @@ MonoBehaviour:
m_FallbackScreenDPI: 96
m_DefaultSpriteDPI: 96
m_DynamicPixelsPerUnit: 1
m_PresetInfoIsWorld: 1
m_PresetInfoIsWorld: 0
--- !u!114 &2657602411704145123
MonoBehaviour:
m_ObjectHideFlags: 0
@ -144,7 +144,7 @@ RectTransform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2657602411822548861}
m_LocalRotation: {x: 0, y: 1, z: 0, w: 0}
m_LocalPosition: {x: 0, y: 0, z: -0}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
@ -153,8 +153,8 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 180, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 12.5, y: 3.8}
m_SizeDelta: {x: 280.91, y: 101.5}
m_AnchoredPosition: {x: 7.6, y: 3.8}
m_SizeDelta: {x: 271.11, y: 101.5}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &2657602411822548848
CanvasRenderer:
@ -401,6 +401,8 @@ GameObject:
- component: {fileID: 2657602412798002378}
- component: {fileID: 2657602412798002376}
- component: {fileID: 2657602412798002379}
- component: {fileID: 6044037897717386667}
- component: {fileID: 7029743700120857576}
m_Layer: 0
m_Name: Speak
m_TagString: Untagged
@ -467,6 +469,115 @@ MonoBehaviour:
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!82 &6044037897717386667
AudioSource:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2657602412798002389}
m_Enabled: 1
serializedVersion: 4
OutputAudioMixerGroup: {fileID: 0}
m_audioClip: {fileID: 0}
m_PlayOnAwake: 1
m_Volume: 1
m_Pitch: 1
Loop: 0
Mute: 0
Spatialize: 0
SpatializePostEffects: 0
Priority: 128
DopplerLevel: 1
MinDistance: 1
MaxDistance: 500
Pan2D: 0
rolloffMode: 0
BypassEffects: 0
BypassListenerEffects: 0
BypassReverbZones: 0
rolloffCustomCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 1
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
panLevelCustomCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
spreadCustomCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
reverbZoneMixCustomCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
--- !u!114 &7029743700120857576
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2657602412798002389}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f94cf4a923084957923c59621dfa067c, type: 3}
m_Name:
m_EditorClassIdentifier:
speakContent: {fileID: 2657602411822548851}
--- !u!1 &2657602413369362665
GameObject:
m_ObjectHideFlags: 0

View File

@ -14,130 +14,43 @@ AnimationClip:
m_RotationCurves: []
m_CompressedRotationCurves: []
m_EulerCurves: []
m_PositionCurves: []
m_ScaleCurves: []
m_FloatCurves:
m_PositionCurves:
- curve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 136
value: {x: 2.052, y: 2.845, z: -4.083}
inSlope: {x: 0, y: 0, z: 0}
outSlope: {x: 0, y: 0, z: 0}
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 1
value: 1
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
attribute: m_Color.r
path:
classID: 212
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 1
value: 1
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
attribute: m_Color.g
path:
classID: 212
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 1
value: 1
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
attribute: m_Color.b
path:
classID: 212
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
- serializedVersion: 3
time: 0.5
value: 0
inSlope: 0
outSlope: 0
tangentMode: 136
value: {x: 2.052, y: 2.9, z: -4.083}
inSlope: {x: 0, y: 0, z: 0}
outSlope: {x: 0, y: 0, z: 0}
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
- serializedVersion: 3
time: 1
value: 1
inSlope: 0
outSlope: 0
tangentMode: 136
value: {x: 2.052, y: 2.845, z: -4.083}
inSlope: {x: 0, y: 0, z: 0}
outSlope: {x: 0, y: 0, z: 0}
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
attribute: m_Color.a
path:
classID: 212
script: {fileID: 0}
m_ScaleCurves: []
m_FloatCurves: []
m_PPtrCurves: []
m_SampleRate: 60
m_WrapMode: 0
@ -148,30 +61,9 @@ AnimationClip:
genericBindings:
- serializedVersion: 2
path: 0
attribute: 304273561
attribute: 1
script: {fileID: 0}
typeID: 212
customType: 0
isPPtrCurve: 0
- serializedVersion: 2
path: 0
attribute: 2526845255
script: {fileID: 0}
typeID: 212
customType: 0
isPPtrCurve: 0
- serializedVersion: 2
path: 0
attribute: 4215373228
script: {fileID: 0}
typeID: 212
customType: 0
isPPtrCurve: 0
- serializedVersion: 2
path: 0
attribute: 2334886179
script: {fileID: 0}
typeID: 212
typeID: 4
customType: 0
isPPtrCurve: 0
pptrCurveMapping: []
@ -201,91 +93,7 @@ AnimationClip:
m_Curve:
- serializedVersion: 3
time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 1
value: 1
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
attribute: m_Color.r
path:
classID: 212
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 1
value: 1
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
attribute: m_Color.g
path:
classID: 212
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 1
value: 1
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
attribute: m_Color.b
path:
classID: 212
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 1
value: 2.052
inSlope: 0
outSlope: 0
tangentMode: 136
@ -294,7 +102,7 @@ AnimationClip:
outWeight: 0.33333334
- serializedVersion: 3
time: 0.5
value: 0
value: 2.052
inSlope: 0
outSlope: 0
tangentMode: 136
@ -303,7 +111,7 @@ AnimationClip:
outWeight: 0.33333334
- serializedVersion: 3
time: 1
value: 1
value: 2.052
inSlope: 0
outSlope: 0
tangentMode: 136
@ -313,11 +121,85 @@ AnimationClip:
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
attribute: m_Color.a
attribute: m_LocalPosition.x
path:
classID: 212
classID: 4
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 2.845
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 0.5
value: 2.9
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 1
value: 2.845
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
attribute: m_LocalPosition.y
path:
classID: 4
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: -4.083
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 0.5
value: -4.083
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 1
value: -4.083
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
attribute: m_LocalPosition.z
path:
classID: 4
script: {fileID: 0}
m_EulerEditorCurves: []
m_HasGenericRootTransform: 0
m_HasGenericRootTransform: 1
m_HasMotionFloatCurves: 0
m_Events: []

File diff suppressed because it is too large Load Diff

View File

@ -24,7 +24,7 @@ namespace UnityTest.ZXL
private void AudioEvent(object sender, GameEventArgs e)
{
var args = e as AudioEventArgs;
var str = $"6-4/{args.audioName}";
var str = $"{args.audioName}";
AudioManager.Instance.PlayMainSounds(str);
}
}

View File

@ -83,6 +83,10 @@ namespace UnityTest.ZXL
,
,
// 1-5
,
,
// 3-1
,

View File

@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using Mono.Event;
using Sirenix.OdinInspector;
using UnityEngine;
@ -12,6 +13,31 @@ namespace UnityTest.ZXL
private void Start()
{
HideAllEffect();
EventManager.Instance.Subscribe(EffectEventArgs.EventId, EffectEvent);
}
private void OnDestroy()
{
EventManager.Instance.Unsubscribe(EffectEventArgs.EventId, EffectEvent);
}
private void EffectEvent(object sender, GameEventArgs e)
{
var args = e as EffectEventArgs;
EffectData data = null;
if (Enum.TryParse(args.effectName, out EffectType effectType))
{
foreach (var effectData in effectDatas)
{
if (effectData.effectType == effectType)
{
data = effectData;
break;
}
}
ShowOrHideEffect(data.effectType, args.isShow);
}
}
public void ShowOrHideEffect(EffectType effectType, bool isShow)
@ -26,7 +52,7 @@ namespace UnityTest.ZXL
}
}
public void HideAllEffect()
private void HideAllEffect()
{
foreach (var effectData in effectDatas)
{

View File

@ -0,0 +1,17 @@
namespace Mono.Event
{
public class EffectEventArgs : GameEventArgs
{
public static readonly int EventId = typeof(EffectEventArgs).GetHashCode();
public override int Id => EventId;
public string effectName;
public bool isShow;
public EffectEventArgs(string effectName, bool isShow)
{
this.effectName = effectName;
this.isShow = isShow;
}
}
}

View File

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 62de4f71e9484cb087fe0b0eb884c8e8
timeCreated: 1696317920

View File

@ -42,7 +42,17 @@ namespace UnityTest.ZXL
public void PlayAudio(string str)
{
EventManager.Instance.FireNow(this,new AudioEventArgs(str));
EventManager.Instance.FireNow(this, new AudioEventArgs(str));
}
public void OpenEffect(string str)
{
EventManager.Instance.FireNow(this, new EffectEventArgs(str, true));
}
public void CloseEffect(string str)
{
EventManager.Instance.FireNow(this, new EffectEventArgs(str, false));
}
}
}

View File

@ -67,6 +67,9 @@ namespace UnityTest.ZXL
case 3:
Minutia1_4().Coroutine();
break;
case 4:
Minutia1_5().Coroutine();
break;
default:
EventManager.Instance.FireNow(this, new ProcessOverEventArgs(processType));
break;
@ -122,6 +125,12 @@ namespace UnityTest.ZXL
EventManager.Instance.FireNow(this, new DoorEventArgs(false));
this.SetPlayDirector(CurrentPlayableDirector, PlayTimelineMode.Resume);
break;
case ConstDataType.:
WaitOperateFinish1_5_1().Coroutine();
break;
case ConstDataType.:
WaitOperateFinish1_5_2().Coroutine();
break;
default:
throw new ArgumentOutOfRangeException();
}
@ -199,27 +208,30 @@ namespace UnityTest.ZXL
private async ETTask WaitOperateFinish1_3_2() // 拧紧阀门时弹出选择题并等待关闭
{
// TODO: 待添加选择题
// 添加选择题
var ui = UIManager.Instance().ShowUI(UIType.ChoiceQuestion);
var choiceQuestionUI = ui as ChoiceQuestionUI;
choiceQuestionUI.SetIndex(0);
var result = await WaitOperateFinish_Click();
UIManager.Instance().HideUI(UIType.ChoiceQuestion);
string choiceQuestionResult;
string clipName;
if (result)
{
choiceQuestionResult = "已关闭事故瓶出气口阀门,火焰熄灭,周围未有新的引燃物。";
EffectManager.Instance().ShowOrHideEffect(EffectType., false);
EventManager.Instance.FireNow(this, new AudioEventArgs("1-3-2"));
clipName = "1-3-2";
}
else
{
choiceQuestionResult = "无法关闭事故瓶出气口阀门,火焰依然燃烧,周围未有新的引燃物。";
EventManager.Instance.FireNow(this, new AudioEventArgs("1-3-1"));
clipName = "1-3-1";
}
EventManager.Instance.FireNow(this, new RoleLabelEventArgs() { speakContent = choiceQuestionResult });
EventManager.Instance.FireNow(this, new RoleLabelEventArgs() { speakContent = choiceQuestionResult, data = clipName });
await ETTask.CompletedTask;
}
@ -270,6 +282,44 @@ namespace UnityTest.ZXL
UIManager.Instance().HideUI(UIType.StrongTips);
}
private async ETTask WaitOperateFinish1_5_1() // 等待回放视频结束
{
var showUI = UIManager.Instance().ShowUI(UIType.TimeReversal);
var timeReversalUI = showUI as TimeReversalUI;
timeReversalUI.SetAction(() => { currentTask.SetResult(true); });
await WaitOperateFinish_Click();
await currentTask;
UIManager.Instance().HideUI(UIType.TimeReversal);
}
private async ETTask WaitOperateFinish1_5_2() // 弹出第二选项选择题并等待关闭
{
var ui = UIManager.Instance().ShowUI(UIType.ChoiceQuestion);
var choiceQuestionUI = ui as ChoiceQuestionUI;
choiceQuestionUI.SetIndex(1);
var result = await WaitOperateFinish_Click();
UIManager.Instance().HideUI(UIType.ChoiceQuestion);
string choiceQuestionResult;
string clipName;
if (result)
{
choiceQuestionResult = "已关闭事故瓶出气口阀门,火焰熄灭,周围未有新的引燃物。";
EffectManager.Instance().ShowOrHideEffect(EffectType., false);
clipName = "1-3-2";
}
else
{
choiceQuestionResult = "无法关闭事故瓶出气口阀门,火焰依然燃烧,周围未有新的引燃物。";
clipName = "1-3-1";
}
EventManager.Instance.FireNow(this, new RoleLabelEventArgs() { speakContent = choiceQuestionResult, data = clipName });
await ETTask.CompletedTask;
}
#endregion
@ -314,5 +364,11 @@ namespace UnityTest.ZXL
this.SetPlayDirector(playableDirectors[3], PlayTimelineMode.Play);
await ETTask.CompletedTask;
}
private async ETTask Minutia1_5()
{
this.SetPlayDirector(playableDirectors[4], PlayTimelineMode.Play);
await ETTask.CompletedTask;
}
}
}

View File

@ -0,0 +1,71 @@
using System;
using System.Collections;
using UnityEngine;
namespace UnityTest.ZXL
{
[RequireComponent(typeof(AudioSource))]
public class AutoCloseSelf : MonoBehaviour
{
[SerializeField] private AutoCloseSelfType _autoCloseSelfType;
private AudioSource _audioSource;
private void Awake()
{
_audioSource = GetComponent<AudioSource>();
}
private void OnEnable()
{
StartCoroutine(WaitClose());
}
IEnumerator WaitClose()
{
yield return new WaitForSeconds(0.1f);
_audioSource.Play();
Debug.Log("播放开始");
while (_audioSource.isPlaying)
{
yield return new WaitForFixedUpdate();
}
Debug.Log("播放结束");
gameObject.SetActive(false);
}
}
public enum AutoCloseSelfType
{
None,
_1_1_1_,
_1_1_2_,
_1_2_1,
_1_2_2,
_1_3_1,
_1_3_2,
_1_3_3,
_2_1_1,
_2_1_2,
_2_1_3,
_2_1_4,
_2_2_1,
_2_2_2,
_2_2_3,
_2_2_4,
_2_3_1,
_2_3_2,
_2_3_3,
_2_3_4,
_2_4_1,
_2_4_2,
_2_4_3,
_2_4_4,
_3_3,
_119,
,
,
_,
}
}

View File

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: be414c9f91f344fc9b263f988d20c548
timeCreated: 1696431083

View File

@ -17,7 +17,7 @@ namespace UnityTest.ZXL
{
HideAll();
images[index].SetActive(true);
blackImage.color = new Color(1, 1, 1, 0);
blackImage.color = new Color(0, 0, 0, 0);
}
private void HideAll()
@ -34,7 +34,7 @@ namespace UnityTest.ZXL
await ETTaskHelper.WaitTime(1);
blackImage.DOColor(new Color(1, 1, 1, 1), 1);
blackImage.DOColor(new Color(0, 0, 0, 1), 1);
await ETTaskHelper.WaitTime(1);
// 加载后面的内容

View File

@ -17,6 +17,20 @@ namespace UnityTest.ZXL
btnSecond.onClick.AddListener(ClickSecond);
}
public void SetIndex(int index)
{
if (index == 0)
{
btnFirst.interactable = true;
btnSecond.interactable = false;
}
else if (index == 1)
{
btnFirst.interactable = false;
btnSecond.interactable = true;
}
}
private void ClickFirst()
{
EventManager.Instance.FireNow(this, new ChoiceQuestionEventArgs(true));

View File

@ -1,5 +1,7 @@
using System;
using System.Collections;
using Mono.Event;
using Script;
using Sirenix.OdinInspector;
using TMPro;
using UnityEngine;
@ -12,16 +14,27 @@ namespace UnityTest.ZXL
public TextMeshProUGUI roleName;
public TextMeshProUGUI speakContent;
private AudioSource _audioSource;
private void Awake()
{
EventManager.Instance.Subscribe(RoleLabelEventArgs.EventId, RoleLabelEvent);
roleName.text = roleLabelType.ToString();
_audioSource = transform.GetChild(1).GetComponent<AudioSource>();
}
private void RoleLabelEvent(object sender, GameEventArgs e)
{
var args = e as RoleLabelEventArgs;
speakContent.text = args.speakContent;
if (args.data != null)
{
var str = args.data as string;
// EventManager.Instance.FireNow(this, new AudioEventArgs(str));
var clip = Resources.Load<AudioClip>($"Sounds/6-4/{str}");
_audioSource.clip = clip;
}
}
private void OnDestroy()
@ -36,6 +49,7 @@ namespace UnityTest.ZXL
roleName = transform.GetChild(0).GetChild(0).GetComponent<TextMeshProUGUI>();
speakContent = transform.GetChild(1).GetChild(0).GetComponent<TextMeshProUGUI>();
roleName.text = roleLabelType.ToString();
UnityEditor.EditorUtility.SetDirty(this);
}
#endif
}
@ -49,5 +63,8 @@ namespace UnityTest.ZXL
E,
F,
G,
J,
L,
,
}
}

View File

@ -0,0 +1,40 @@
using System.Collections;
using TMPro;
using UnityEngine;
namespace UnityTest.ZXL
{
public class Speak : MonoBehaviour
{
public TextMeshProUGUI speakContent;
private AudioSource _audioSource;
private void Awake()
{
_audioSource = GetComponent<AudioSource>();
gameObject.SetActive(false);
}
private void OnEnable()
{
if (_audioSource.clip != null)
{
StartCoroutine(PlayAudio());
}
}
IEnumerator PlayAudio()
{
var length = _audioSource.clip.length;
yield return new WaitForSeconds(length);
_audioSource.clip = null;
}
private void OnDisable()
{
StopAllCoroutines();
_audioSource.clip = null;
}
}
}

View File

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: f94cf4a923084957923c59621dfa067c
timeCreated: 1696354179

View File

@ -0,0 +1,46 @@
using System;
using UnityEngine;
using UnityEngine.Video;
namespace UnityTest.ZXL
{
public class TimeReversalUI : UI
{
private VideoPlayer _videoPlayer;
private Action _action;
public override void OnInit()
{
base.OnInit();
_videoPlayer = GetComponentInChildren<VideoPlayer>();
_videoPlayer.started += Started;
_videoPlayer.loopPointReached += End;
}
private void OnDestroy()
{
_videoPlayer.started -= Started;
_videoPlayer.loopPointReached -= End;
}
private void Started(VideoPlayer source)
{
Debug.Log("播放开始");
// TODO: 关闭所有UI待播放结束后开启被关闭的UI
UIManager.Instance().HideAllUI();
UIManager.Instance().ShowUI(UIType.TimeReversal);
}
private void End(VideoPlayer source)
{
Debug.Log("播放结束");
_action?.Invoke();
}
public void SetAction(Action action)
{
_action = action;
_videoPlayer.Play();
}
}
}

View File

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 6c8c717c51e1415bb117a9546dac94f1
timeCreated: 1696311918

View File

@ -70,6 +70,7 @@ namespace UnityTest.ZXL
Summarize, // 总结面板
ComputerScreen, // 电脑屏幕
RePlacement, // 换装
TimeReversal, // 回访效果
}
[System.Serializable]

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,14 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d6fa2d92fc1b3f34da284357edf89c3b, type: 3}
m_Name: "\u8BBE\u7F6E\u97F3\u9891\u7247\u6BB5"
m_EditorClassIdentifier:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 6c1fbb9be3c1c6c46ba35411150e4270
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -44,99 +44,6 @@ MonoBehaviour:
m_Loop: 0
m_Version: 1
m_Rotation: {x: 0, y: 0, z: 0, w: 1}
--- !u!114 &-8991209064723080625
MonoBehaviour:
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 21bf7f712d84d26478ebe6a299f21738, type: 3}
m_Name: Activation Track (17)
m_EditorClassIdentifier:
m_Version: 3
m_AnimClip: {fileID: 0}
m_Locked: 0
m_Muted: 0
m_CustomPlayableFullTypename:
m_Curves: {fileID: 0}
m_Parent: {fileID: 11400000}
m_Children: []
m_Clips:
- m_Version: 1
m_Start: 0
m_ClipIn: 0
m_Asset: {fileID: -5136838565213129109}
m_Duration: 42.38333333333331
m_TimeScale: 1
m_ParentTrack: {fileID: -8991209064723080625}
m_EaseInDuration: 0
m_EaseOutDuration: 0
m_BlendInDuration: 0
m_BlendOutDuration: 0
m_MixInCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 1
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
m_MixOutCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 1
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
m_BlendInCurveMode: 0
m_BlendOutCurveMode: 0
m_ExposedParameterNames: []
m_AnimationCurves: {fileID: 0}
m_Recordable: 0
m_PostExtrapolationMode: 0
m_PreExtrapolationMode: 0
m_PostExtrapolationTime: 0
m_PreExtrapolationTime: 0
m_DisplayName: Active
m_Markers:
m_Objects: []
m_PostPlaybackState: 3
--- !u!114 &-8897867890654043411
MonoBehaviour:
m_ObjectHideFlags: 1
@ -2422,7 +2329,7 @@ MonoBehaviour:
m_Start: 34.54999999999997
m_ClipIn: 0
m_Asset: {fileID: -5149898027035530852}
m_Duration: 7.833333333333339
m_Duration: 9.743333333333375
m_TimeScale: 1
m_ParentTrack: {fileID: -5151550474741809273}
m_EaseInDuration: 0
@ -2491,18 +2398,6 @@ MonoBehaviour:
m_Objects: []
m_PostPlaybackState: 3
--- !u!114 &-5149898027035530852
MonoBehaviour:
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fde0d25a170598d46a0b9dc16b4527a5, type: 3}
m_Name: ActivationPlayableAsset
m_EditorClassIdentifier:
--- !u!114 &-5136838565213129109
MonoBehaviour:
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
@ -3045,7 +2940,7 @@ MonoBehaviour:
m_Start: 34.54999999999997
m_ClipIn: 0
m_Asset: {fileID: -5346931738947419045}
m_Duration: 7.833333333333339
m_Duration: 9.743333333333375
m_TimeScale: 1
m_ParentTrack: {fileID: -4124674343242872667}
m_EaseInDuration: 0
@ -3150,7 +3045,7 @@ MonoBehaviour:
m_Start: 0
m_ClipIn: 0
m_Asset: {fileID: -4762838336947859482}
m_Duration: 42.383333333333304
m_Duration: 44.293333333333344
m_TimeScale: 1
m_ParentTrack: {fileID: -3890754444066327061}
m_EaseInDuration: 0
@ -3243,7 +3138,7 @@ MonoBehaviour:
m_Start: 34.54999999999997
m_ClipIn: 0
m_Asset: {fileID: -8696194140056387067}
m_Duration: 7.833333333333339
m_Duration: 9.743333333333375
m_TimeScale: 1
m_ParentTrack: {fileID: -3727953138479953394}
m_EaseInDuration: 0
@ -3379,10 +3274,10 @@ MonoBehaviour:
m_Children: []
m_Clips:
- m_Version: 1
m_Start: 15.483333333333333
m_Start: 15.316666666666666
m_ClipIn: 0
m_Asset: {fileID: 4149460252181152793}
m_Duration: 6.316666666666668
m_Duration: 6.483333333333334
m_TimeScale: 1
m_ParentTrack: {fileID: -2704216600416496437}
m_EaseInDuration: 0
@ -3519,30 +3414,6 @@ MonoBehaviour:
m_Markers:
m_Objects: []
m_PostPlaybackState: 3
--- !u!114 &-2290668608329556643
MonoBehaviour:
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 21bf7f712d84d26478ebe6a299f21738, type: 3}
m_Name: Activation Track (12)
m_EditorClassIdentifier:
m_Version: 3
m_AnimClip: {fileID: 0}
m_Locked: 0
m_Muted: 0
m_CustomPlayableFullTypename:
m_Curves: {fileID: 0}
m_Parent: {fileID: 11400000}
m_Children: []
m_Clips: []
m_Markers:
m_Objects: []
m_PostPlaybackState: 3
--- !u!114 &-1983992737184934353
MonoBehaviour:
m_ObjectHideFlags: 1
@ -3648,7 +3519,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 15c38f6fa1940124db1ab7f6fe7268d1, type: 3}
m_Name: Signal Emitter
m_EditorClassIdentifier:
m_Time: 42.16666666666667
m_Time: 44.293333333333344
m_Retroactive: 0
m_EmitOnce: 0
m_Asset: {fileID: 11400000, guid: 8cd1ab51649b3204087a6a1d41d2ba9b, type: 2}
@ -3696,7 +3567,7 @@ MonoBehaviour:
m_Children: []
m_Clips:
- m_Version: 1
m_Start: 35.1999994913737
m_Start: 37.109999491373735
m_ClipIn: 0
m_Asset: {fileID: -1828137710314647635}
m_Duration: 3.7833338419596103
@ -3762,10 +3633,10 @@ MonoBehaviour:
m_PostExtrapolationMode: 1
m_PreExtrapolationMode: 1
m_PostExtrapolationTime: 0
m_PreExtrapolationTime: 35.1999994913737
m_PreExtrapolationTime: 37.109999491373735
m_DisplayName: Recorded (1)
- m_Version: 1
m_Start: 38.98333333333331
m_Start: 40.893333333333345
m_ClipIn: 0
m_Asset: {fileID: -6041971536049601286}
m_Duration: 3.4
@ -3864,7 +3735,7 @@ MonoBehaviour:
m_Start: 34.54999999999997
m_ClipIn: 0
m_Asset: {fileID: -8167625125837047439}
m_Duration: 7.833333333333339
m_Duration: 9.743333333333375
m_TimeScale: 1
m_ParentTrack: {fileID: -1265208951627154482}
m_EaseInDuration: 0
@ -3950,10 +3821,6 @@ MonoBehaviour:
- {fileID: -5231455683635465303}
- {fileID: -4250705456642191807}
- {fileID: 1279630312936573731}
- {fileID: -2290668608329556643}
- {fileID: 971019826737060474}
- {fileID: 2608976644778656348}
- {fileID: -8991209064723080625}
- {fileID: 2210909402877853480}
- {fileID: 1663104044600511777}
- {fileID: 9083399298919590985}
@ -4294,30 +4161,6 @@ AnimationClip:
m_HasGenericRootTransform: 0
m_HasMotionFloatCurves: 0
m_Events: []
--- !u!114 &971019826737060474
MonoBehaviour:
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 21bf7f712d84d26478ebe6a299f21738, type: 3}
m_Name: Activation Track (15)
m_EditorClassIdentifier:
m_Version: 3
m_AnimClip: {fileID: 0}
m_Locked: 0
m_Muted: 0
m_CustomPlayableFullTypename:
m_Curves: {fileID: 0}
m_Parent: {fileID: 11400000}
m_Children: []
m_Clips: []
m_Markers:
m_Objects: []
m_PostPlaybackState: 3
--- !u!114 &1254718098186419084
MonoBehaviour:
m_ObjectHideFlags: 1
@ -4473,7 +4316,7 @@ MonoBehaviour:
- {fileID: -1519651742238878987}
m_Clips:
- m_Version: 1
m_Start: 35.18999999999997
m_Start: 37.1
m_ClipIn: 0
m_Asset: {fileID: -4437585367896845837}
m_Duration: 3.79333333333334
@ -4553,7 +4396,7 @@ MonoBehaviour:
m_Recordable: 0
m_PostExtrapolationMode: 1
m_PreExtrapolationMode: 1
m_PostExtrapolationTime: 4.916666666666668
m_PostExtrapolationTime: 6.8266666666667
m_PreExtrapolationTime: 29.6333333333333
m_DisplayName: "\u7AD9\u7ACB\u63A5\u8D70"
m_Markers:
@ -4893,30 +4736,6 @@ MonoBehaviour:
m_Markers:
m_Objects: []
m_PostPlaybackState: 3
--- !u!114 &2608976644778656348
MonoBehaviour:
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 21bf7f712d84d26478ebe6a299f21738, type: 3}
m_Name: Activation Track (16)
m_EditorClassIdentifier:
m_Version: 3
m_AnimClip: {fileID: 0}
m_Locked: 0
m_Muted: 0
m_CustomPlayableFullTypename:
m_Curves: {fileID: 0}
m_Parent: {fileID: 11400000}
m_Children: []
m_Clips: []
m_Markers:
m_Objects: []
m_PostPlaybackState: 3
--- !u!114 &2762096808785315924
MonoBehaviour:
m_ObjectHideFlags: 1

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 2ed9ffb08a4ba6b4c9355d3f0ebcb27d
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: fde41bc45e9f84b4099fa29762823535
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

View File

@ -0,0 +1,18 @@
fileFormatVersion: 2
guid: 500c107ff6bce5442a282fbc68fbeec1
VideoClipImporter:
externalObjects: {}
serializedVersion: 2
frameRange: 0
startFrame: -1
endFrame: -1
colorSpace: 0
deinterlace: 0
encodeAlpha: 0
flipVertical: 0
flipHorizontal: 0
importAudio: 1
targetSettings: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,39 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!84 &8400000
RenderTexture:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: video
m_ImageContentsHash:
serializedVersion: 2
Hash: 00000000000000000000000000000000
m_ForcedFallbackFormat: 4
m_DownscaleFallback: 0
m_IsAlphaChannelOptional: 0
serializedVersion: 5
m_Width: 1920
m_Height: 1080
m_AntiAliasing: 1
m_MipCount: -1
m_DepthStencilFormat: 94
m_ColorFormat: 8
m_MipMap: 0
m_GenerateMips: 1
m_SRGB: 0
m_UseDynamicScale: 0
m_BindMS: 0
m_EnableCompatibleFormat: 1
m_TextureSettings:
serializedVersion: 2
m_FilterMode: 1
m_Aniso: 0
m_MipBias: 0
m_WrapU: 1
m_WrapV: 1
m_WrapW: 1
m_Dimension: 2
m_VolumeDepth: 1
m_ShadowSamplingMode: 2

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 13bdc1fa14734a84e975fcc873962842
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 8400000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,14 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d6fa2d92fc1b3f34da284357edf89c3b, type: 3}
m_Name: "\u5F39\u51FA\u7B2C\u4E8C\u9009\u9879\u9009\u62E9\u9898\u5E76\u7B49\u5F85\u5173\u95ED"
m_EditorClassIdentifier:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: ba0f4f6ed924b6f4baf0e0fef503073f
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,14 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d6fa2d92fc1b3f34da284357edf89c3b, type: 3}
m_Name: "\u7B49\u5F85\u56DE\u653E\u89C6\u9891\u7ED3\u675F"
m_EditorClassIdentifier:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: d04ad0aaf8c96724a8612466a773861b
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,14 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d6fa2d92fc1b3f34da284357edf89c3b, type: 3}
m_Name: "\u5173\u95ED\u7279\u6548"
m_EditorClassIdentifier:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: f9018c8c9511dde4a878ef78928dc6c9
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,14 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d6fa2d92fc1b3f34da284357edf89c3b, type: 3}
m_Name: "\u5F00\u542F\u7279\u6548"
m_EditorClassIdentifier:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: c1fc6472764c959469d35e25c617d831
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -5,5 +5,5 @@ TimeManager:
m_ObjectHideFlags: 0
Fixed Timestep: 0.02
Maximum Allowed Timestep: 0.33333334
m_TimeScale: 1
m_TimeScale: 2
Maximum Particle Timestep: 0.03