修改工具间场景
This commit is contained in:
parent
5caf71a5cc
commit
c2581ef8b7
File diff suppressed because it is too large
Load Diff
|
@ -33,6 +33,7 @@ namespace Adam
|
||||||
public void OnLoad()
|
public void OnLoad()
|
||||||
{
|
{
|
||||||
SceneLoad.Instance.SceneChange("工具间场景");
|
SceneLoad.Instance.SceneChange("工具间场景");
|
||||||
|
UIManager.Instance.bottomCotroller.SwitchPanel(true);
|
||||||
loadBtn.gameObject.SetActive(false);
|
loadBtn.gameObject.SetActive(false);
|
||||||
SwitchPanel(false);
|
SwitchPanel(false);
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,16 +6,17 @@ using UnityEngine.UI;
|
||||||
//支持中文,文件使用UTF-8编码
|
//支持中文,文件使用UTF-8编码
|
||||||
//@author YangHua
|
//@author YangHua
|
||||||
//@create 20230913
|
//@create 20230913
|
||||||
//@company QianHuo
|
//@company Adam
|
||||||
//
|
//
|
||||||
//@description:
|
//@description:
|
||||||
//============================================================
|
//============================================================
|
||||||
namespace QianHuo
|
namespace Adam
|
||||||
{
|
{
|
||||||
public class BottomController : MonoBehaviour
|
public class BottomController : MonoBehaviour
|
||||||
{
|
{
|
||||||
public Toggle[] toggles;
|
public Toggle[] toggles;
|
||||||
public GameObject[] panels;
|
public GameObject[] panels;
|
||||||
|
public GameObject buttomPanel;
|
||||||
// Use this for initialization
|
// Use this for initialization
|
||||||
private void Start()
|
private void Start()
|
||||||
{
|
{
|
||||||
|
@ -31,6 +32,12 @@ namespace QianHuo
|
||||||
panels[index].SetActive(isOn);
|
panels[index].SetActive(isOn);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
SwitchPanel(false);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void SwitchPanel(bool isActive)
|
||||||
|
{
|
||||||
|
buttomPanel.SetActive(isActive);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,7 @@ public class UIManager : MonoSingleton<UIManager>
|
||||||
public ToolsItemManager ToolsItemManager;
|
public ToolsItemManager ToolsItemManager;
|
||||||
public MobileTerminalController MobileTerminalController;
|
public MobileTerminalController MobileTerminalController;
|
||||||
public AssignmentController assignmentController;
|
public AssignmentController assignmentController;
|
||||||
|
public BottomController bottomCotroller;
|
||||||
// Use this for initialization
|
// Use this for initialization
|
||||||
private void Start()
|
private void Start()
|
||||||
{
|
{
|
||||||
|
|
|
@ -10,6 +10,7 @@ public class MapFlowManager : MonoBehaviour
|
||||||
void Start()
|
void Start()
|
||||||
{
|
{
|
||||||
//XUIPanel.ShowPanel<ExamDataPanel>("畿窟묏데푯澗");
|
//XUIPanel.ShowPanel<ExamDataPanel>("畿窟묏데푯澗");
|
||||||
|
obj.SetActive(false);
|
||||||
Invoke("Delay",12f);
|
Invoke("Delay",12f);
|
||||||
}
|
}
|
||||||
void Delay()
|
void Delay()
|
||||||
|
|
|
@ -2,7 +2,10 @@ fileFormatVersion: 2
|
||||||
guid: e5988130443eacd4680af289719aeb23
|
guid: e5988130443eacd4680af289719aeb23
|
||||||
ModelImporter:
|
ModelImporter:
|
||||||
serializedVersion: 21300
|
serializedVersion: 21300
|
||||||
internalIDToNameTable: []
|
internalIDToNameTable:
|
||||||
|
- first:
|
||||||
|
74: 1827226128182048838
|
||||||
|
second: Take 001
|
||||||
externalObjects:
|
externalObjects:
|
||||||
- first:
|
- first:
|
||||||
type: UnityEngine:Material
|
type: UnityEngine:Material
|
||||||
|
|
|
@ -2,7 +2,10 @@ fileFormatVersion: 2
|
||||||
guid: ca3ae87322d659b4a9bbc188b8f02848
|
guid: ca3ae87322d659b4a9bbc188b8f02848
|
||||||
ModelImporter:
|
ModelImporter:
|
||||||
serializedVersion: 21300
|
serializedVersion: 21300
|
||||||
internalIDToNameTable: []
|
internalIDToNameTable:
|
||||||
|
- first:
|
||||||
|
74: 1827226128182048838
|
||||||
|
second: Take 001
|
||||||
externalObjects:
|
externalObjects:
|
||||||
- first:
|
- first:
|
||||||
type: UnityEngine:Material
|
type: UnityEngine:Material
|
||||||
|
|
|
@ -2,7 +2,10 @@ fileFormatVersion: 2
|
||||||
guid: 33d7b0c7dd7a15249a5c8ea65c997e47
|
guid: 33d7b0c7dd7a15249a5c8ea65c997e47
|
||||||
ModelImporter:
|
ModelImporter:
|
||||||
serializedVersion: 21300
|
serializedVersion: 21300
|
||||||
internalIDToNameTable: []
|
internalIDToNameTable:
|
||||||
|
- first:
|
||||||
|
74: 1827226128182048838
|
||||||
|
second: Take 001
|
||||||
externalObjects:
|
externalObjects:
|
||||||
- first:
|
- first:
|
||||||
type: UnityEngine:Material
|
type: UnityEngine:Material
|
||||||
|
|
|
@ -2,7 +2,10 @@ fileFormatVersion: 2
|
||||||
guid: 1e8d0871f7b20144da00917f3f74d3cc
|
guid: 1e8d0871f7b20144da00917f3f74d3cc
|
||||||
ModelImporter:
|
ModelImporter:
|
||||||
serializedVersion: 21300
|
serializedVersion: 21300
|
||||||
internalIDToNameTable: []
|
internalIDToNameTable:
|
||||||
|
- first:
|
||||||
|
74: 1827226128182048838
|
||||||
|
second: Take 001
|
||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
materials:
|
materials:
|
||||||
materialImportMode: 2
|
materialImportMode: 2
|
||||||
|
|
|
@ -1392,6 +1392,74 @@ RectTransform:
|
||||||
m_AnchoredPosition: {x: 0, y: 0}
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
m_SizeDelta: {x: 0, y: 0}
|
m_SizeDelta: {x: 0, y: 0}
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!1 &1367307655
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 1367307658}
|
||||||
|
- component: {fileID: 1367307657}
|
||||||
|
- component: {fileID: 1367307656}
|
||||||
|
m_Layer: 0
|
||||||
|
m_Name: EventSystem
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!114 &1367307656
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1367307655}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 4f231c4fb786f3946a6b90b886c48677, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_SendPointerHoverToParent: 1
|
||||||
|
m_HorizontalAxis: Horizontal
|
||||||
|
m_VerticalAxis: Vertical
|
||||||
|
m_SubmitButton: Submit
|
||||||
|
m_CancelButton: Cancel
|
||||||
|
m_InputActionsPerSecond: 10
|
||||||
|
m_RepeatDelay: 0.5
|
||||||
|
m_ForceModuleActive: 0
|
||||||
|
--- !u!114 &1367307657
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1367307655}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 76c392e42b5098c458856cdf6ecaaaa1, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_FirstSelected: {fileID: 0}
|
||||||
|
m_sendNavigationEvents: 1
|
||||||
|
m_DragThreshold: 10
|
||||||
|
--- !u!4 &1367307658
|
||||||
|
Transform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1367307655}
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_ConstrainProportionsScale: 0
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 0}
|
||||||
|
m_RootOrder: 8
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
--- !u!1 &1453251944
|
--- !u!1 &1453251944
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue