Compare commits
3 Commits
d39c8b7683
...
bff2d1e78d
Author | SHA1 | Date |
---|---|---|
|
bff2d1e78d | |
|
52732ff896 | |
|
1ab135be02 |
|
@ -8004,7 +8004,7 @@ GameObject:
|
||||||
- component: {fileID: 2576541080985544079}
|
- component: {fileID: 2576541080985544079}
|
||||||
- component: {fileID: 2576541080985544080}
|
- component: {fileID: 2576541080985544080}
|
||||||
- component: {fileID: 2576541080985544078}
|
- component: {fileID: 2576541080985544078}
|
||||||
m_Layer: 8
|
m_Layer: 10
|
||||||
m_Name: "\u7535\u80FD\u8868\u76D6\u5B50"
|
m_Name: "\u7535\u80FD\u8868\u76D6\u5B50"
|
||||||
m_TagString: Untagged
|
m_TagString: Untagged
|
||||||
m_Icon: {fileID: 0}
|
m_Icon: {fileID: 0}
|
||||||
|
|
|
@ -295,22 +295,6 @@ PrefabInstance:
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
m_RemovedComponents: []
|
m_RemovedComponents: []
|
||||||
m_SourcePrefab: {fileID: 100100000, guid: 86a8666f9623b6b46b8f4b860a11546f, type: 3}
|
m_SourcePrefab: {fileID: 100100000, guid: 86a8666f9623b6b46b8f4b860a11546f, type: 3}
|
||||||
--- !u!1 &267617285 stripped
|
|
||||||
GameObject:
|
|
||||||
m_CorrespondingSourceObject: {fileID: 2399593117452945565, guid: 86a8666f9623b6b46b8f4b860a11546f, type: 3}
|
|
||||||
m_PrefabInstance: {fileID: 267617284}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
--- !u!114 &267617286 stripped
|
|
||||||
MonoBehaviour:
|
|
||||||
m_CorrespondingSourceObject: {fileID: 2399593117452945567, guid: 86a8666f9623b6b46b8f4b860a11546f, type: 3}
|
|
||||||
m_PrefabInstance: {fileID: 267617284}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 267617285}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: d90ba6530d9bfda47abb4610956b2f44, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
--- !u!1 &772251462
|
--- !u!1 &772251462
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
@ -504,7 +488,7 @@ Transform:
|
||||||
- {fileID: 2089319124}
|
- {fileID: 2089319124}
|
||||||
- {fileID: 772251465}
|
- {fileID: 772251465}
|
||||||
m_Father: {fileID: 0}
|
m_Father: {fileID: 0}
|
||||||
m_RootOrder: 5
|
m_RootOrder: 6
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
--- !u!114 &1411090332
|
--- !u!114 &1411090332
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
|
@ -518,7 +502,6 @@ MonoBehaviour:
|
||||||
m_Script: {fileID: 11500000, guid: 5436cda1c4b71f044bcd6efe54bbfc28, type: 3}
|
m_Script: {fileID: 11500000, guid: 5436cda1c4b71f044bcd6efe54bbfc28, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
playerController: {fileID: 267617285}
|
|
||||||
aniCamera: {fileID: 772251462}
|
aniCamera: {fileID: 772251462}
|
||||||
--- !u!114 &1411090333
|
--- !u!114 &1411090333
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
|
@ -837,7 +820,7 @@ Transform:
|
||||||
m_ConstrainProportionsScale: 0
|
m_ConstrainProportionsScale: 0
|
||||||
m_Children: []
|
m_Children: []
|
||||||
m_Father: {fileID: 0}
|
m_Father: {fileID: 0}
|
||||||
m_RootOrder: 6
|
m_RootOrder: 5
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
--- !u!114 &1986188606
|
--- !u!114 &1986188606
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
|
@ -852,7 +835,6 @@ MonoBehaviour:
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
mobileController: {fileID: 919132148358585193}
|
mobileController: {fileID: 919132148358585193}
|
||||||
firstPersonController: {fileID: 267617286}
|
|
||||||
--- !u!1 &2077977345
|
--- !u!1 &2077977345
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
|
|
@ -83,7 +83,8 @@ public class LiveSceneManager : SingletonMono<LiveSceneManager>
|
||||||
if (currentTool.name.Equals("三相四线电能表"))
|
if (currentTool.name.Equals("三相四线电能表"))
|
||||||
{
|
{
|
||||||
tMDTips.gameObject.SetActive(false);
|
tMDTips.gameObject.SetActive(false);
|
||||||
currentTool.transform.localEulerAngles = new Vector3(-90, 0, -180);
|
currentTool.transform.localPosition = new Vector3(currentTool.transform.localPosition.x, currentTool.transform.localPosition.y, currentTool.transform.localPosition.z + 0.1f);
|
||||||
|
currentTool.transform.localEulerAngles = new Vector3(-90, 180, -180);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -8,13 +8,13 @@ using UnityEngine;
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class OfficeManager : SingletonMono<OfficeManager>
|
public class OfficeManager : SingletonMono<OfficeManager>
|
||||||
{
|
{
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// ÊÖ»ú
|
/// ÊÖ»ú
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public MobileController mobileController;
|
public MobileController mobileController;
|
||||||
private FirstPersonController firstPersonController;
|
private FirstPersonController firstPersonController;
|
||||||
protected override void Awake()
|
private void Start()
|
||||||
{
|
{
|
||||||
firstPersonController = GameObject.FindGameObjectWithTag("Player").GetComponent<FirstPersonController>();
|
firstPersonController = GameObject.FindGameObjectWithTag("Player").GetComponent<FirstPersonController>();
|
||||||
firstPersonController.gameObject.SetActive(false);
|
firstPersonController.gameObject.SetActive(false);
|
||||||
|
|
|
@ -33,9 +33,11 @@ public class UI_DisassemblyAssemblyNoticePanel : BasePanel
|
||||||
GameManager.UIMgr.HidePanel<UI_DisassemblyAssemblyNoticePanel>();
|
GameManager.UIMgr.HidePanel<UI_DisassemblyAssemblyNoticePanel>();
|
||||||
break;
|
break;
|
||||||
case "Button_Define":
|
case "Button_Define":
|
||||||
GameManager.ProcessMgr.IsRightSubProcessStepsTriggerID(triggerName, true);
|
if (GameManager.ProcessMgr.IsRightSubProcessStepsTriggerID(triggerName, true) == 0)
|
||||||
ScoreManager.instance.Check(triggerName, null);
|
{
|
||||||
GameManager.UIMgr.HidePanel<UI_DisassemblyAssemblyNoticePanel>();
|
ScoreManager.instance.Check(triggerName, null);
|
||||||
|
GameManager.UIMgr.HidePanel<UI_DisassemblyAssemblyNoticePanel>();
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using System.Threading.Tasks;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using UnityEngine.Playables;
|
using UnityEngine.Playables;
|
||||||
|
|
||||||
|
@ -13,16 +14,15 @@ public class OfficeTimelineControl : MonoBehaviour
|
||||||
public GameObject aniCamera;
|
public GameObject aniCamera;
|
||||||
|
|
||||||
// Start is called before the first frame update
|
// Start is called before the first frame update
|
||||||
void Start()
|
private async void Start()
|
||||||
{
|
{
|
||||||
|
await Task.Delay(1);
|
||||||
mPlayableDirector = GetComponent<PlayableDirector>();
|
mPlayableDirector = GetComponent<PlayableDirector>();
|
||||||
if (!GameManager.RunModelMgr.isOnceOfficeAni)
|
if (!GameManager.RunModelMgr.isOnceOfficeAni)
|
||||||
{
|
{
|
||||||
//playerController.SetActive(false);
|
|
||||||
mPlayableDirector.Stop();
|
|
||||||
//mPlayableDirector.stopped += OnPlayableDirectorStopped;
|
//mPlayableDirector.stopped += OnPlayableDirectorStopped;
|
||||||
playerModel = transform.GetChild(0).gameObject;
|
playerModel = transform.GetChild(0).gameObject;
|
||||||
StartTimeline();
|
StartTimeline();
|
||||||
GameManager.RunModelMgr.isOnceOfficeAni = true;
|
GameManager.RunModelMgr.isOnceOfficeAni = true;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -43,7 +43,9 @@ public class OfficeTimelineControl : MonoBehaviour
|
||||||
{
|
{
|
||||||
mPlayableDirector.Play();
|
mPlayableDirector.Play();
|
||||||
}
|
}
|
||||||
|
/// <summary>
|
||||||
|
/// 外挂到场景中得timeline
|
||||||
|
/// </summary>
|
||||||
public void OnPlayableDirectorStopped()
|
public void OnPlayableDirectorStopped()
|
||||||
{
|
{
|
||||||
GameManager.EventMgr.EventTrigger(Enum_EventType.OfficeTimeLineOver);
|
GameManager.EventMgr.EventTrigger(Enum_EventType.OfficeTimeLineOver);
|
||||||
|
@ -52,10 +54,10 @@ public class OfficeTimelineControl : MonoBehaviour
|
||||||
|
|
||||||
private void DestroyPlayer()
|
private void DestroyPlayer()
|
||||||
{
|
{
|
||||||
|
GameManager.EventMgr.EventTrigger(Enum_EventType.InitializationUI);
|
||||||
Destroy(playerModel);
|
Destroy(playerModel);
|
||||||
Destroy(aniCamera);
|
Destroy(aniCamera);
|
||||||
//playerController.SetActive(true);
|
//playerController.SetActive(true);
|
||||||
GameManager.EventMgr.EventTrigger(Enum_EventType.InitializationUI);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void OnDestroy()
|
void OnDestroy()
|
||||||
|
|
|
@ -18,7 +18,7 @@ PhysicsManager:
|
||||||
m_ClothInterCollisionDistance: 0.1
|
m_ClothInterCollisionDistance: 0.1
|
||||||
m_ClothInterCollisionStiffness: 0.2
|
m_ClothInterCollisionStiffness: 0.2
|
||||||
m_ContactsGeneration: 1
|
m_ContactsGeneration: 1
|
||||||
m_LayerCollisionMatrix: fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdfffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
m_LayerCollisionMatrix: fffbfffffffffffffffffffffffffffffffffffffffffffffffffffffffbfffffff9fffffff8ffff7ef8ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
|
||||||
m_AutoSimulation: 1
|
m_AutoSimulation: 1
|
||||||
m_AutoSyncTransforms: 0
|
m_AutoSyncTransforms: 0
|
||||||
m_ReuseCollisionCallbacks: 1
|
m_ReuseCollisionCallbacks: 1
|
||||||
|
|
|
@ -16,7 +16,7 @@ TagManager:
|
||||||
- Tool
|
- Tool
|
||||||
- Deveice
|
- Deveice
|
||||||
- Player
|
- Player
|
||||||
-
|
- Shell
|
||||||
-
|
-
|
||||||
-
|
-
|
||||||
-
|
-
|
||||||
|
|
Loading…
Reference in New Issue