视角
This commit is contained in:
parent
d93d109f6f
commit
b52ae261fd
@ -372,6 +372,15 @@ MonoBehaviour:
|
|||||||
m_Script: {fileID: 11500000, guid: 120374d73db9175439dffcbaf8d0efb0, type: 3}
|
m_Script: {fileID: 11500000, guid: 120374d73db9175439dffcbaf8d0efb0, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
|
js: {fileID: 2682777834338715495}
|
||||||
|
warningPrefab: {fileID: 0}
|
||||||
|
polePrefab: {fileID: 0}
|
||||||
|
tapePrefab: {fileID: 0}
|
||||||
|
maxDistance: 10
|
||||||
|
hasTape: 0
|
||||||
|
potentialTargets: []
|
||||||
|
deliverButton: {fileID: 0}
|
||||||
|
deliveryRange: 1
|
||||||
--- !u!1 &250457369
|
--- !u!1 &250457369
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@ -5105,6 +5114,62 @@ CanvasRenderer:
|
|||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 8888118071414884795}
|
m_GameObject: {fileID: 8888118071414884795}
|
||||||
m_CullTransparentMesh: 1
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!1 &2682777834338715488
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 2682777834338715494}
|
||||||
|
- component: {fileID: 2682777834338715495}
|
||||||
|
m_Layer: 0
|
||||||
|
m_Name: GameObject
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!4 &2682777834338715494
|
||||||
|
Transform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 2682777834338715488}
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_LocalPosition: {x: 1006.09503, y: 598.65985, z: -4.566557}
|
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_ConstrainProportionsScale: 0
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 0}
|
||||||
|
m_RootOrder: 4
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
--- !u!114 &2682777834338715495
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 2682777834338715488}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 13fa0701c49727a4c84282a40243e52d, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
npcJsonFile: {fileID: 4900000, guid: a854e20393334f04a8fc75e06404fe4f, type: 3}
|
||||||
|
locationJsonFile: {fileID: 4900000, guid: 4d6cd655327e27c4b88c2033169c8fed, type: 3}
|
||||||
|
eventJsonFile: {fileID: 4900000, guid: 2ef075e4830019a42b84d8d05d13d81c, type: 3}
|
||||||
|
matialJsonFile: {fileID: 4900000, guid: d98cb351d1a87dc4887a37106b9745d4, type: 3}
|
||||||
|
sceneJsonFile: {fileID: 4900000, guid: 06c09fd1c8b0a0a45951a1065189d922, type: 3}
|
||||||
|
incidentSiteJosnFile: {fileID: 4900000, guid: 1efa4372b10d4294199638c49173ff4c, type: 3}
|
||||||
|
NPCJosnFile: {fileID: 4900000, guid: 41009f009f0718647a782c7e1aec97dd, type: 3}
|
||||||
|
LanguageJsonFile: {fileID: 4900000, guid: 62a41129c4663ee41a06274114d28feb, type: 3}
|
||||||
|
SelectJsonFile: {fileID: 4900000, guid: 3efd15f4195557144a45659d2baa1ba3, type: 3}
|
||||||
|
TaskJsonFile: {fileID: 4900000, guid: 4dec25769ed4ed3469693b1c881248af, type: 3}
|
||||||
|
GlobalJsonFile: {fileID: 4900000, guid: 27ecc4e37cb448e45a2611c086cdfb90, type: 3}
|
||||||
|
SelectsJsonFile: {fileID: 4900000, guid: 3efd15f4195557144a45659d2baa1ba3, type: 3}
|
||||||
--- !u!222 &3209384260464141248
|
--- !u!222 &3209384260464141248
|
||||||
CanvasRenderer:
|
CanvasRenderer:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
19346
xiaofang/Assets/Res/gsj/Canvas 1.prefab
Normal file
19346
xiaofang/Assets/Res/gsj/Canvas 1.prefab
Normal file
File diff suppressed because it is too large
Load Diff
7
xiaofang/Assets/Res/gsj/Canvas 1.prefab.meta
Normal file
7
xiaofang/Assets/Res/gsj/Canvas 1.prefab.meta
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 8cafc8a94d3680f4289651176289c2c0
|
||||||
|
PrefabImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
BIN
xiaofang/Assets/Res/gsj/jiejin1.wav
Normal file
BIN
xiaofang/Assets/Res/gsj/jiejin1.wav
Normal file
Binary file not shown.
22
xiaofang/Assets/Res/gsj/jiejin1.wav.meta
Normal file
22
xiaofang/Assets/Res/gsj/jiejin1.wav.meta
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 5912e270549bdb04c848923fd9751319
|
||||||
|
AudioImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 6
|
||||||
|
defaultSettings:
|
||||||
|
loadType: 0
|
||||||
|
sampleRateSetting: 0
|
||||||
|
sampleRateOverride: 44100
|
||||||
|
compressionFormat: 1
|
||||||
|
quality: 1
|
||||||
|
conversionMode: 0
|
||||||
|
platformSettingOverrides: {}
|
||||||
|
forceToMono: 0
|
||||||
|
normalize: 1
|
||||||
|
preloadAudioData: 1
|
||||||
|
loadInBackground: 0
|
||||||
|
ambisonic: 0
|
||||||
|
3D: 1
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
135
xiaofang/Assets/Res/gsj/scripts/Godvisual.cs
Normal file
135
xiaofang/Assets/Res/gsj/scripts/Godvisual.cs
Normal file
@ -0,0 +1,135 @@
|
|||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using UnityEngine;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
public class Godvisual : MonoBehaviour
|
||||||
|
{
|
||||||
|
public Transform mainBuilding; // 主建筑的中心点
|
||||||
|
public Transform birdEyeView; // 鸟瞰视角的 Transform
|
||||||
|
public Transform[] characterViews; // 每个角色的默认视角 Transform 数组
|
||||||
|
public bool ishost; // 是否为主持人
|
||||||
|
public float voiceLength = 10f; // 语音长度,单位秒
|
||||||
|
public float rotationRadius = 100f; // 环绕半径
|
||||||
|
public float rotationHeight = 5f; // 环绕高度
|
||||||
|
public float rotationSpeed = 36f; // 环绕速度(角速度,度/秒)
|
||||||
|
private float elapsedTime = 0f; // 已经经过的时间
|
||||||
|
private bool isSwitching = false; // 是否正在切换视角
|
||||||
|
private bool isRotating = false; // 是否正在旋转
|
||||||
|
private bool isAtGodView = true; // 是否处于上帝视角
|
||||||
|
void OnEnable()
|
||||||
|
{
|
||||||
|
// 订阅事件
|
||||||
|
Starthost.OnBoolValueChanged += HandleRotationControl;
|
||||||
|
}
|
||||||
|
|
||||||
|
void OnDisable()
|
||||||
|
{
|
||||||
|
// 取消订阅事件
|
||||||
|
Starthost.OnBoolValueChanged -= HandleRotationControl;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Start is called before the first frame update
|
||||||
|
void Start()
|
||||||
|
{
|
||||||
|
// 最开始切换到上帝视角
|
||||||
|
SetToGodView();
|
||||||
|
|
||||||
|
elapsedTime = 0f;
|
||||||
|
isSwitching = false;
|
||||||
|
|
||||||
|
// 确保摄像机初始位置在环绕轨道上
|
||||||
|
//Vector3 startPosition = mainBuilding.position + new Vector3(rotationRadius, rotationHeight, 0);
|
||||||
|
//transform.position = startPosition;
|
||||||
|
//transform.LookAt(mainBuilding); // 摄像机始终朝向主建筑
|
||||||
|
}
|
||||||
|
// 切换到上帝视角
|
||||||
|
void SetToGodView()
|
||||||
|
{
|
||||||
|
transform.position = birdEyeView.position;
|
||||||
|
transform.rotation = birdEyeView.rotation;
|
||||||
|
isAtGodView = true;
|
||||||
|
isRotating = false; // 停止旋转逻辑
|
||||||
|
}
|
||||||
|
// Update is called once per frame
|
||||||
|
void Update()
|
||||||
|
{
|
||||||
|
if (!isRotating) return;
|
||||||
|
// 时间计数
|
||||||
|
elapsedTime += Time.deltaTime;
|
||||||
|
|
||||||
|
// 如果还未到最后两秒,环绕主建筑
|
||||||
|
if (elapsedTime < voiceLength - 2f && !isSwitching)
|
||||||
|
{
|
||||||
|
RotateAroundBuilding();
|
||||||
|
}
|
||||||
|
// 在最后两秒切换到目标视角
|
||||||
|
else if (!isSwitching)
|
||||||
|
{
|
||||||
|
isSwitching = true;
|
||||||
|
SwitchToFinalViewAsync();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// 环绕主建筑
|
||||||
|
void RotateAroundBuilding()
|
||||||
|
{
|
||||||
|
float angle = rotationSpeed * Time.deltaTime; // 每帧旋转的角度
|
||||||
|
Vector3 offset = transform.position - mainBuilding.position; // 当前摄像机到建筑中心的偏移
|
||||||
|
offset = Quaternion.Euler(0, angle, 0) * offset; // 绕建筑中心点旋转
|
||||||
|
transform.position = mainBuilding.position + offset; // 更新摄像机位置
|
||||||
|
transform.position = new Vector3(transform.position.x, mainBuilding.position.y + rotationHeight, transform.position.z); // 确保高度固定
|
||||||
|
transform.LookAt(mainBuilding); // 始终朝向主建筑
|
||||||
|
}
|
||||||
|
|
||||||
|
// 切换到最终视角(使用 async/await)
|
||||||
|
async void SwitchToFinalViewAsync()
|
||||||
|
{
|
||||||
|
// 切换到鸟瞰图或角色视角
|
||||||
|
Transform targetView = ishost ? birdEyeView : GetCurrentCharacterView();
|
||||||
|
|
||||||
|
// 平滑切换摄像机位置和旋转
|
||||||
|
float switchDuration = 2f; // 切换持续时间
|
||||||
|
Vector3 startPosition = transform.position;
|
||||||
|
Quaternion startRotation = transform.rotation;
|
||||||
|
Vector3 endPosition = targetView.position;
|
||||||
|
Quaternion endRotation = targetView.rotation;
|
||||||
|
|
||||||
|
// 平滑过渡
|
||||||
|
for (float t = 0; t < switchDuration; t += Time.deltaTime)
|
||||||
|
{
|
||||||
|
float progress = t / switchDuration;
|
||||||
|
transform.position = Vector3.Lerp(startPosition, endPosition, progress);
|
||||||
|
transform.rotation = Quaternion.Lerp(startRotation, endRotation, progress);
|
||||||
|
await Task.Yield(); // 等待一帧
|
||||||
|
}
|
||||||
|
|
||||||
|
// 确保最终位置和旋转准确
|
||||||
|
transform.position = endPosition;
|
||||||
|
transform.rotation = endRotation;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 获取当前角色的默认视角(假设角色索引为 0)
|
||||||
|
Transform GetCurrentCharacterView()
|
||||||
|
{
|
||||||
|
int characterIndex = 0; // 根据逻辑动态获取角色索引
|
||||||
|
if (characterIndex >= 0 && characterIndex < characterViews.Length)
|
||||||
|
{
|
||||||
|
return characterViews[characterIndex];
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Debug.LogWarning("角色视角未配置,使用默认鸟瞰视角");
|
||||||
|
return birdEyeView;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// 处理旋转控制事件
|
||||||
|
void HandleRotationControl(bool shouldRotate)
|
||||||
|
{
|
||||||
|
isRotating = shouldRotate;
|
||||||
|
if (!shouldRotate)
|
||||||
|
{
|
||||||
|
// 重置时间和切换状态
|
||||||
|
elapsedTime = 0f;
|
||||||
|
isSwitching = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
11
xiaofang/Assets/Res/gsj/scripts/Godvisual.cs.meta
Normal file
11
xiaofang/Assets/Res/gsj/scripts/Godvisual.cs.meta
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 3e706e11617e1dd49aa3be7c2f0edfa6
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
@ -3,7 +3,7 @@ using System.Collections.Generic;
|
|||||||
using Unity.VisualScripting;
|
using Unity.VisualScripting;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using UnityEngine.UI;
|
using UnityEngine.UI;
|
||||||
|
using System.Threading.Tasks;
|
||||||
public class Panel2 : MonoBehaviour
|
public class Panel2 : MonoBehaviour
|
||||||
{
|
{
|
||||||
private Toggle toggle;//角色名是否出现
|
private Toggle toggle;//角色名是否出现
|
||||||
@ -12,14 +12,17 @@ public class Panel2 : MonoBehaviour
|
|||||||
private Dropdown dropdown;
|
private Dropdown dropdown;
|
||||||
private int optionCount; // 用于存储传入的确定Dropdown选项数量的参数
|
private int optionCount; // 用于存储传入的确定Dropdown选项数量的参数
|
||||||
|
|
||||||
private List<Camera> characterCameras; // 存储每个角色的摄像头
|
|
||||||
|
|
||||||
private List<GameObject> nameImage; // 存储所有角色标签的子物体
|
private List<GameObject> nameImage; // 存储所有角色标签的子物体
|
||||||
private GameObject peopleposition;
|
private GameObject peopleposition;
|
||||||
|
|
||||||
|
public Camera godView; // 上帝视角的位置
|
||||||
|
|
||||||
|
private bool isGodView = true; // 是否为上帝视角
|
||||||
// Start is called before the first frame update
|
// Start is called before the first frame update
|
||||||
void Start()
|
void Start()
|
||||||
{
|
{
|
||||||
toggle=transform.Find("right/under/Toggle").GetComponent<Toggle>();
|
godView=GameObject.Find("TopCamera").GetComponent<Camera>();
|
||||||
|
toggle =transform.Find("right/under/Toggle").GetComponent<Toggle>();
|
||||||
toggle.onValueChanged.AddListener(OnToggleValueChanged);
|
toggle.onValueChanged.AddListener(OnToggleValueChanged);
|
||||||
toggle.isOn = true;
|
toggle.isOn = true;
|
||||||
dropdown =transform.Find("left/Dropdown").GetComponent<Dropdown>();
|
dropdown =transform.Find("left/Dropdown").GetComponent<Dropdown>();
|
||||||
@ -42,17 +45,6 @@ public class Panel2 : MonoBehaviour
|
|||||||
}
|
}
|
||||||
// 默认执行一次切换
|
// 默认执行一次切换
|
||||||
OnToggleValueChanged(toggle.isOn);
|
OnToggleValueChanged(toggle.isOn);
|
||||||
// 初始化角色摄像头列表
|
|
||||||
//characterCameras = new List<Camera>();
|
|
||||||
//// 假设角色摄像头是挂载在名为 "CharacterCamera1", "CharacterCamera2", 等等的对象上
|
|
||||||
//for (int i = 1; i <= optionCount; i++)
|
|
||||||
//{
|
|
||||||
// GameObject characterCameraObject = GameObject.Find("CharacterCamera" + i);
|
|
||||||
// if (characterCameraObject != null)
|
|
||||||
// {
|
|
||||||
// characterCameras.Add(characterCameraObject.GetComponent<Camera>());
|
|
||||||
// }
|
|
||||||
//}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
// 用于外部传入参数来设置Dropdown选项数量的方法
|
// 用于外部传入参数来设置Dropdown选项数量的方法
|
||||||
@ -88,34 +80,12 @@ public class Panel2 : MonoBehaviour
|
|||||||
//peopleposition.SetActive(false);
|
//peopleposition.SetActive(false);
|
||||||
int selectedIndex = dropdown.value;
|
int selectedIndex = dropdown.value;
|
||||||
Debug.Log("进入角色" + (selectedIndex+1) + "视角");
|
Debug.Log("进入角色" + (selectedIndex+1) + "视角");
|
||||||
|
godView.enabled = false;
|
||||||
// 切换摄像头
|
|
||||||
//SwitchToCharacterCamera(selectedIndex);
|
|
||||||
|
|
||||||
Game.uiManager.CloseUI("Panel1_2");
|
Game.uiManager.CloseUI("Panel1_2");
|
||||||
Game.uiManager.ShowUI<Image>("Panel1_3");
|
Game.uiManager.ShowUI<Image>("Panel1_3");
|
||||||
}
|
}
|
||||||
// 切换到选中的角色视角
|
|
||||||
void SwitchToCharacterCamera(int index)
|
|
||||||
{
|
|
||||||
// 禁用所有角色摄像头
|
|
||||||
foreach (var camera in characterCameras)
|
|
||||||
{
|
|
||||||
if (camera != null)
|
|
||||||
{
|
|
||||||
camera.gameObject.SetActive(false);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
// 启用选中角色的摄像头
|
|
||||||
if (index >= 0 && index < characterCameras.Count)
|
|
||||||
{
|
|
||||||
Camera selectedCamera = characterCameras[index];
|
|
||||||
if (selectedCamera != null)
|
|
||||||
{
|
|
||||||
selectedCamera.gameObject.SetActive(true);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
void EndBtn()
|
void EndBtn()
|
||||||
{
|
{
|
||||||
//结束演习
|
//结束演习
|
||||||
|
@ -11,6 +11,7 @@ public class Panel3 : MonoBehaviour
|
|||||||
private Dropdown dropdown;
|
private Dropdown dropdown;
|
||||||
private int optionCount; // 用于存储传入的确定Dropdown选项数量的参数
|
private int optionCount; // 用于存储传入的确定Dropdown选项数量的参数
|
||||||
private GameObject peopleposition;
|
private GameObject peopleposition;
|
||||||
|
private Camera godview;
|
||||||
// Start is called before the first frame update
|
// Start is called before the first frame update
|
||||||
void Start()
|
void Start()
|
||||||
{
|
{
|
||||||
@ -22,7 +23,9 @@ public class Panel3 : MonoBehaviour
|
|||||||
follow = transform.Find("left/Follow").GetComponent<Button>();
|
follow = transform.Find("left/Follow").GetComponent<Button>();
|
||||||
follow.onClick.AddListener(FollowBtn);
|
follow.onClick.AddListener(FollowBtn);
|
||||||
peopleposition = GameObject.Find("peopleposition").gameObject;
|
peopleposition = GameObject.Find("peopleposition").gameObject;
|
||||||
peopleposition.SetActive(false);
|
peopleposition.SetActive(false);
|
||||||
|
godview=GameObject.Find("TopCamera").GetComponent<Camera>();
|
||||||
|
|
||||||
}
|
}
|
||||||
// 用于外部传入参数来设置Dropdown选项数量的方法
|
// 用于外部传入参数来设置Dropdown选项数量的方法
|
||||||
public void SetOptionCount(int count)
|
public void SetOptionCount(int count)
|
||||||
@ -46,6 +49,7 @@ public class Panel3 : MonoBehaviour
|
|||||||
{
|
{
|
||||||
peopleposition.gameObject.SetActive(true);
|
peopleposition.gameObject.SetActive(true);
|
||||||
//返回上帝视角界面
|
//返回上帝视角界面
|
||||||
|
godview.enabled = true;
|
||||||
Game.uiManager.ShowUI<Image>("Panel1_2");
|
Game.uiManager.ShowUI<Image>("Panel1_2");
|
||||||
Game.uiManager.CloseUI("Panel1_3");
|
Game.uiManager.CloseUI("Panel1_3");
|
||||||
}
|
}
|
||||||
|
@ -7,6 +7,11 @@ using UnityEngine.SceneManagement;
|
|||||||
using Unity.VisualScripting;
|
using Unity.VisualScripting;
|
||||||
public class Starthost : MonoBehaviour
|
public class Starthost : MonoBehaviour
|
||||||
{
|
{
|
||||||
|
// 定义委托事件
|
||||||
|
public delegate void BoolValueChanged(bool newValue);
|
||||||
|
public static event BoolValueChanged OnBoolValueChanged;
|
||||||
|
|
||||||
|
private bool isRotating = false; // 默认旋转状态
|
||||||
private GameObject panel;
|
private GameObject panel;
|
||||||
private Button posiBtn;//人员到位情况按钮
|
private Button posiBtn;//人员到位情况按钮
|
||||||
private Button start;//开始演练按钮
|
private Button start;//开始演练按钮
|
||||||
@ -30,8 +35,26 @@ public class Starthost : MonoBehaviour
|
|||||||
public bool ishost=false;
|
public bool ishost=false;
|
||||||
private Button ready;
|
private Button ready;
|
||||||
private Image image;
|
private Image image;
|
||||||
|
|
||||||
|
//语音内容
|
||||||
|
public GameObject walkieTalkieIcon; // 对讲机图标(动态效果)
|
||||||
|
public Text dialogueText; // 显示语音内容的文本框
|
||||||
|
private AudioSource audioSource; // 用于播放语音的 AudioSource
|
||||||
|
public AudioClip staticNoiseClip; // 对讲机噪音音效
|
||||||
|
public AudioClip[] voiceClips; // 语音音频数组
|
||||||
|
public string[] dialogueLines; // 对应的语音内容
|
||||||
|
public float textSpeed = 0.1f; // 逐字显示的速度(每个字的间隔时间)
|
||||||
|
|
||||||
|
private int currentLineIndex = 0; // 当前语音和文本索引
|
||||||
|
private GameObject right;//右边图标
|
||||||
void Start()
|
void Start()
|
||||||
{
|
{
|
||||||
|
audioSource= GetComponent<AudioSource>();
|
||||||
|
// 确保对讲机图标默认隐藏
|
||||||
|
walkieTalkieIcon.SetActive(false);
|
||||||
|
|
||||||
|
|
||||||
|
right=transform.Find("Panel1/right").gameObject;
|
||||||
panel = transform.Find("Panel1").gameObject;
|
panel = transform.Find("Panel1").gameObject;
|
||||||
posiBtn = transform.Find("Panel1/right/under/btnRenYuanDaoWei").GetComponent<Button>();
|
posiBtn = transform.Find("Panel1/right/under/btnRenYuanDaoWei").GetComponent<Button>();
|
||||||
start = transform.Find("Panel1/right/under/btnRenYanLianStart").GetComponent<Button>();
|
start = transform.Find("Panel1/right/under/btnRenYanLianStart").GetComponent<Button>();
|
||||||
@ -147,13 +170,23 @@ public class Starthost : MonoBehaviour
|
|||||||
isStart = true;
|
isStart = true;
|
||||||
if (isSatisfy)
|
if (isSatisfy)
|
||||||
{
|
{
|
||||||
|
peopleposition.SetActive(false);
|
||||||
|
right.SetActive(false);
|
||||||
AnimateUIElementAsync();
|
AnimateUIElementAsync();
|
||||||
start.interactable = false; // 防止点击事件
|
start.interactable = false; // 防止点击事件
|
||||||
//总指挥接警动画
|
//总指挥接警动画
|
||||||
SceneManager.LoadScene(5);
|
// 开始对讲机效果流程
|
||||||
|
PlayDialogueSequenceAsync();
|
||||||
|
//视野开始旋转
|
||||||
|
isRotating = !isRotating; // 切换 bool 状态
|
||||||
|
Debug.Log($"旋转状态改变: {isRotating}");
|
||||||
|
|
||||||
|
// 触发事件,将新状态广播出去
|
||||||
|
OnBoolValueChanged?.Invoke(isRotating);
|
||||||
|
//SceneManager.LoadScene(4);
|
||||||
//开始计时
|
//开始计时
|
||||||
isTimerRunning = true;
|
isTimerRunning = true;
|
||||||
time.SetActive(true);
|
time.SetActive(true);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -190,7 +223,56 @@ public class Starthost : MonoBehaviour
|
|||||||
// 确保最终达到目标值
|
// 确保最终达到目标值
|
||||||
rectTransform.localScale = targetScale;
|
rectTransform.localScale = targetScale;
|
||||||
rectTransform.anchoredPosition = targetPosition;
|
rectTransform.anchoredPosition = targetPosition;
|
||||||
|
|
||||||
|
}
|
||||||
|
async void PlayDialogueSequenceAsync()
|
||||||
|
{
|
||||||
|
// 1. 播放对讲机噪音
|
||||||
|
walkieTalkieIcon.SetActive(true); // 显示对讲机图标
|
||||||
|
audioSource.clip = staticNoiseClip;
|
||||||
|
audioSource.Play();
|
||||||
|
await Task.Delay(1500); // 对讲机噪音持续时间(1.5秒)
|
||||||
|
|
||||||
|
|
||||||
|
// 2. 播放语音并逐字显示文字
|
||||||
|
audioSource.clip = voiceClips[0];
|
||||||
|
audioSource.Play();
|
||||||
|
// 获取语音持续时间
|
||||||
|
float voiceDuration = audioSource.clip.length * 1000; // 转换为毫秒
|
||||||
|
Task voicePlayTask = Task.Delay((int)voiceDuration); // 等待语音播放完成的任务
|
||||||
|
// 逐条显示对话文本
|
||||||
|
foreach (string line in dialogueLines)
|
||||||
|
{
|
||||||
|
await DisplayTextAsync(line);
|
||||||
|
|
||||||
|
// 检查语音是否播放完
|
||||||
|
if (!audioSource.isPlaying)
|
||||||
|
{
|
||||||
|
Debug.Log("语音播放已结束,但仍有未显示的文本。");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// 等待语音播放完成
|
||||||
|
await voicePlayTask;
|
||||||
|
|
||||||
|
// 对话完成,清理界面
|
||||||
|
walkieTalkieIcon.SetActive(false);
|
||||||
|
dialogueText.text = ""; // 清空文字
|
||||||
|
|
||||||
|
|
||||||
|
peopleposition.SetActive(true);
|
||||||
panel.SetActive(false);
|
panel.SetActive(false);
|
||||||
|
right.SetActive(true);
|
||||||
Game.uiManager.ShowUI<Image>("Panel1_2");
|
Game.uiManager.ShowUI<Image>("Panel1_2");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
async Task DisplayTextAsync(string line)
|
||||||
|
{
|
||||||
|
dialogueText.text = ""; // 清空当前文本
|
||||||
|
foreach (char c in line)
|
||||||
|
{
|
||||||
|
dialogueText.text += c;
|
||||||
|
await Task.Delay((int)(textSpeed * 2000)); // 等待 `textSpeed` 毫秒
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -101,6 +101,7 @@ public class UseObjects : MonoBehaviour
|
|||||||
if (matialData.ID==id)
|
if (matialData.ID==id)
|
||||||
{
|
{
|
||||||
//获取物品数据
|
//获取物品数据
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
19731
xiaofang/Assets/Resources/gsjUI/Canvas.prefab
Normal file
19731
xiaofang/Assets/Resources/gsjUI/Canvas.prefab
Normal file
File diff suppressed because it is too large
Load Diff
7
xiaofang/Assets/Resources/gsjUI/Canvas.prefab.meta
Normal file
7
xiaofang/Assets/Resources/gsjUI/Canvas.prefab.meta
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 58f7597af74cf25438dab8b0ad407d74
|
||||||
|
PrefabImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
@ -609,6 +609,7 @@ GameObject:
|
|||||||
- component: {fileID: 1939269928790309786}
|
- component: {fileID: 1939269928790309786}
|
||||||
- component: {fileID: 1939269928790309784}
|
- component: {fileID: 1939269928790309784}
|
||||||
- component: {fileID: 1939269928790309785}
|
- component: {fileID: 1939269928790309785}
|
||||||
|
- component: {fileID: 7115695004099388688}
|
||||||
m_Layer: 5
|
m_Layer: 5
|
||||||
m_Name: pop
|
m_Name: pop
|
||||||
m_TagString: Untagged
|
m_TagString: Untagged
|
||||||
@ -675,6 +676,28 @@ MonoBehaviour:
|
|||||||
m_FillOrigin: 0
|
m_FillOrigin: 0
|
||||||
m_UseSpriteMesh: 0
|
m_UseSpriteMesh: 0
|
||||||
m_PixelsPerUnitMultiplier: 1
|
m_PixelsPerUnitMultiplier: 1
|
||||||
|
--- !u!223 &7115695004099388688
|
||||||
|
Canvas:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1939269928790309787}
|
||||||
|
m_Enabled: 1
|
||||||
|
serializedVersion: 3
|
||||||
|
m_RenderMode: 2
|
||||||
|
m_Camera: {fileID: 0}
|
||||||
|
m_PlaneDistance: 100
|
||||||
|
m_PixelPerfect: 0
|
||||||
|
m_ReceivesEvents: 1
|
||||||
|
m_OverrideSorting: 1
|
||||||
|
m_OverridePixelPerfect: 0
|
||||||
|
m_SortingBucketNormalizedSize: 0
|
||||||
|
m_VertexColorAlwaysGammaSpace: 0
|
||||||
|
m_AdditionalShaderChannelsFlag: 0
|
||||||
|
m_SortingLayerID: 0
|
||||||
|
m_SortingOrder: 3000
|
||||||
|
m_TargetDisplay: 0
|
||||||
--- !u!1 &1939269929215937258
|
--- !u!1 &1939269929215937258
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@ -1644,6 +1667,11 @@ MonoBehaviour:
|
|||||||
isScheduled: 0
|
isScheduled: 0
|
||||||
isadministrator: 0
|
isadministrator: 0
|
||||||
drill: {fileID: 0}
|
drill: {fileID: 0}
|
||||||
|
RoomId:
|
||||||
|
status:
|
||||||
|
TemplateId:
|
||||||
|
SceneId:
|
||||||
|
SubjectId:
|
||||||
--- !u!114 &6282968327551755219
|
--- !u!114 &6282968327551755219
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
@ -3999,6 +3999,12 @@ MonoBehaviour:
|
|||||||
scaleDuration: 2
|
scaleDuration: 2
|
||||||
alertwindow: {fileID: 0}
|
alertwindow: {fileID: 0}
|
||||||
ishost: 0
|
ishost: 0
|
||||||
|
walkieTalkieIcon: {fileID: 0}
|
||||||
|
dialogueText: {fileID: 0}
|
||||||
|
staticNoiseClip: {fileID: 0}
|
||||||
|
voiceClips: []
|
||||||
|
dialogueLines: []
|
||||||
|
textSpeed: 0.05
|
||||||
--- !u!1 &576975544
|
--- !u!1 &576975544
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@ -7911,6 +7917,83 @@ CanvasRenderer:
|
|||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 962430761}
|
m_GameObject: {fileID: 962430761}
|
||||||
m_CullTransparentMesh: 1
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!1 &971967250
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 971967251}
|
||||||
|
- component: {fileID: 971967253}
|
||||||
|
- component: {fileID: 971967252}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: Image
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &971967251
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 971967250}
|
||||||
|
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:
|
||||||
|
- {fileID: 1495326717}
|
||||||
|
m_Father: {fileID: 1159106002}
|
||||||
|
m_RootOrder: 1
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchoredPosition: {x: 31.678314, y: -6.4407}
|
||||||
|
m_SizeDelta: {x: 515.8131, y: 165.5545}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!114 &971967252
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 971967250}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_Sprite: {fileID: 21300000, guid: 2f2dc5d4f20667144aff9b24049803b1, type: 3}
|
||||||
|
m_Type: 0
|
||||||
|
m_PreserveAspect: 0
|
||||||
|
m_FillCenter: 1
|
||||||
|
m_FillMethod: 4
|
||||||
|
m_FillAmount: 1
|
||||||
|
m_FillClockwise: 1
|
||||||
|
m_FillOrigin: 0
|
||||||
|
m_UseSpriteMesh: 0
|
||||||
|
m_PixelsPerUnitMultiplier: 1
|
||||||
|
--- !u!222 &971967253
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 971967250}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
--- !u!1 &973245770
|
--- !u!1 &973245770
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@ -8244,6 +8327,7 @@ GameObject:
|
|||||||
- component: {fileID: 1041990403}
|
- component: {fileID: 1041990403}
|
||||||
- component: {fileID: 1041990407}
|
- component: {fileID: 1041990407}
|
||||||
- component: {fileID: 1041990408}
|
- component: {fileID: 1041990408}
|
||||||
|
- component: {fileID: 1041990409}
|
||||||
m_Layer: 5
|
m_Layer: 5
|
||||||
m_Name: Canvas
|
m_Name: Canvas
|
||||||
m_TagString: Untagged
|
m_TagString: Untagged
|
||||||
@ -8331,6 +8415,7 @@ RectTransform:
|
|||||||
- {fileID: 1459077446}
|
- {fileID: 1459077446}
|
||||||
- {fileID: 1357283810}
|
- {fileID: 1357283810}
|
||||||
- {fileID: 5033458885305173407}
|
- {fileID: 5033458885305173407}
|
||||||
|
- {fileID: 1159106002}
|
||||||
m_Father: {fileID: 0}
|
m_Father: {fileID: 0}
|
||||||
m_RootOrder: 2
|
m_RootOrder: 2
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
@ -8358,6 +8443,15 @@ MonoBehaviour:
|
|||||||
scaleDuration: 2
|
scaleDuration: 2
|
||||||
alertwindow: {fileID: 0}
|
alertwindow: {fileID: 0}
|
||||||
ishost: 1
|
ishost: 1
|
||||||
|
walkieTalkieIcon: {fileID: 1159106001}
|
||||||
|
dialogueText: {fileID: 1495326715}
|
||||||
|
staticNoiseClip: {fileID: 8300000, guid: 5912e270549bdb04c848923fd9751319, type: 3}
|
||||||
|
voiceClips:
|
||||||
|
- {fileID: 8300000, guid: 5912e270549bdb04c848923fd9751319, type: 3}
|
||||||
|
dialogueLines:
|
||||||
|
- "\u5582?\u90A3\u8FB9\u597D\u50CF\u8D77\u706B\u4E86,\u5FEB\u70B9\u6D3E\u4EBA\u8FC7\u6765\u770B\u770B,\u70DF\u96FE\u4E0D\u5C0F
|
||||||
|
\u597D,\u9A6C\u4E0A\u542F\u52A8\u5E94\u6025\u9884\u6848"
|
||||||
|
textSpeed: 0.05
|
||||||
--- !u!114 &1041990408
|
--- !u!114 &1041990408
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@ -8370,6 +8464,102 @@ MonoBehaviour:
|
|||||||
m_Script: {fileID: 11500000, guid: c7a01350bfd508a4c8f671c1ccce37e2, type: 3}
|
m_Script: {fileID: 11500000, guid: c7a01350bfd508a4c8f671c1ccce37e2, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
|
--- !u!82 &1041990409
|
||||||
|
AudioSource:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1041990402}
|
||||||
|
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!1 &1068381354
|
--- !u!1 &1068381354
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@ -9072,6 +9262,44 @@ CanvasRenderer:
|
|||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 1158177841}
|
m_GameObject: {fileID: 1158177841}
|
||||||
m_CullTransparentMesh: 1
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!1 &1159106001
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 1159106002}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: Voice
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &1159106002
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1159106001}
|
||||||
|
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:
|
||||||
|
- {fileID: 1897742460}
|
||||||
|
- {fileID: 971967251}
|
||||||
|
m_Father: {fileID: 1041990406}
|
||||||
|
m_RootOrder: 6
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchoredPosition: {x: -9.992897, y: -259.96088}
|
||||||
|
m_SizeDelta: {x: 652.1064, y: 244.8969}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
--- !u!1 &1167061019
|
--- !u!1 &1167061019
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@ -12239,6 +12467,7 @@ MonoBehaviour:
|
|||||||
m_Script: {fileID: 11500000, guid: 4a817172e097c9b45abdfeebadcd984f, type: 3}
|
m_Script: {fileID: 11500000, guid: 4a817172e097c9b45abdfeebadcd984f, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
|
godView: {fileID: 0}
|
||||||
--- !u!1 &1461542169
|
--- !u!1 &1461542169
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@ -12315,6 +12544,86 @@ CanvasRenderer:
|
|||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 1461542169}
|
m_GameObject: {fileID: 1461542169}
|
||||||
m_CullTransparentMesh: 1
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!1 &1495326714
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 1495326717}
|
||||||
|
- component: {fileID: 1495326716}
|
||||||
|
- component: {fileID: 1495326715}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: Text (Legacy)
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!114 &1495326715
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1495326714}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_FontData:
|
||||||
|
m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
|
||||||
|
m_FontSize: 40
|
||||||
|
m_FontStyle: 0
|
||||||
|
m_BestFit: 0
|
||||||
|
m_MinSize: 3
|
||||||
|
m_MaxSize: 40
|
||||||
|
m_Alignment: 3
|
||||||
|
m_AlignByGeometry: 0
|
||||||
|
m_RichText: 1
|
||||||
|
m_HorizontalOverflow: 0
|
||||||
|
m_VerticalOverflow: 0
|
||||||
|
m_LineSpacing: 1
|
||||||
|
m_Text:
|
||||||
|
--- !u!222 &1495326716
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1495326714}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!224 &1495326717
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1495326714}
|
||||||
|
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: 971967251}
|
||||||
|
m_RootOrder: 0
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchoredPosition: {x: -0.00020027, y: -0.0011311}
|
||||||
|
m_SizeDelta: {x: 515.81, y: 165.55}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
--- !u!1 &1505939566
|
--- !u!1 &1505939566
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@ -15636,6 +15945,82 @@ 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 &1897742459
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 1897742460}
|
||||||
|
- component: {fileID: 1897742462}
|
||||||
|
- component: {fileID: 1897742461}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: Image
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &1897742460
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1897742459}
|
||||||
|
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: 1159106002}
|
||||||
|
m_RootOrder: 0
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchoredPosition: {x: -287.64, y: 0.000014305}
|
||||||
|
m_SizeDelta: {x: 76.8338, y: 120.6617}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!114 &1897742461
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1897742459}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_Sprite: {fileID: 21300000, guid: 05715c262d1624242af39765f5cb3cac, type: 3}
|
||||||
|
m_Type: 0
|
||||||
|
m_PreserveAspect: 0
|
||||||
|
m_FillCenter: 1
|
||||||
|
m_FillMethod: 4
|
||||||
|
m_FillAmount: 1
|
||||||
|
m_FillClockwise: 1
|
||||||
|
m_FillOrigin: 0
|
||||||
|
m_UseSpriteMesh: 0
|
||||||
|
m_PixelsPerUnitMultiplier: 1
|
||||||
|
--- !u!222 &1897742462
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 1897742459}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
--- !u!1 &1923574588
|
--- !u!1 &1923574588
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
66100
xiaofang/Assets/Scenes/Tmap 3.unity
Normal file
66100
xiaofang/Assets/Scenes/Tmap 3.unity
Normal file
File diff suppressed because it is too large
Load Diff
7
xiaofang/Assets/Scenes/Tmap 3.unity.meta
Normal file
7
xiaofang/Assets/Scenes/Tmap 3.unity.meta
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: ccc595dcd9101d643a2435d4cea61ac5
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
@ -2460,10 +2460,10 @@ RectTransform:
|
|||||||
m_Father: {fileID: 1841064747}
|
m_Father: {fileID: 1841064747}
|
||||||
m_RootOrder: 0
|
m_RootOrder: 0
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
m_AnchorMin: {x: 0, y: 0}
|
||||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
m_AnchorMax: {x: 1, y: 1}
|
||||||
m_AnchoredPosition: {x: 0, y: 0}
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
m_SizeDelta: {x: 1920, y: 1080}
|
m_SizeDelta: {x: 0, y: 0}
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
--- !u!222 &423561713
|
--- !u!222 &423561713
|
||||||
CanvasRenderer:
|
CanvasRenderer:
|
||||||
@ -16594,7 +16594,7 @@ RectTransform:
|
|||||||
m_ConstrainProportionsScale: 0
|
m_ConstrainProportionsScale: 0
|
||||||
m_Children: []
|
m_Children: []
|
||||||
m_Father: {fileID: 8312054441520403190}
|
m_Father: {fileID: 8312054441520403190}
|
||||||
m_RootOrder: 2
|
m_RootOrder: 3
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
@ -16671,7 +16671,7 @@ RectTransform:
|
|||||||
m_Children:
|
m_Children:
|
||||||
- {fileID: 5609301360518590831}
|
- {fileID: 5609301360518590831}
|
||||||
m_Father: {fileID: 8312054441520403190}
|
m_Father: {fileID: 8312054441520403190}
|
||||||
m_RootOrder: 3
|
m_RootOrder: 0
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
@ -16689,6 +16689,7 @@ GameObject:
|
|||||||
- component: {fileID: 5609301360350021424}
|
- component: {fileID: 5609301360350021424}
|
||||||
- component: {fileID: 5609301360350021426}
|
- component: {fileID: 5609301360350021426}
|
||||||
- component: {fileID: 5609301360350021427}
|
- component: {fileID: 5609301360350021427}
|
||||||
|
- component: {fileID: 5609301360350021428}
|
||||||
m_Layer: 5
|
m_Layer: 5
|
||||||
m_Name: pop
|
m_Name: pop
|
||||||
m_TagString: Untagged
|
m_TagString: Untagged
|
||||||
@ -16734,6 +16735,28 @@ MonoBehaviour:
|
|||||||
m_FillOrigin: 0
|
m_FillOrigin: 0
|
||||||
m_UseSpriteMesh: 0
|
m_UseSpriteMesh: 0
|
||||||
m_PixelsPerUnitMultiplier: 1
|
m_PixelsPerUnitMultiplier: 1
|
||||||
|
--- !u!223 &5609301360350021428
|
||||||
|
Canvas:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 5609301360350021425}
|
||||||
|
m_Enabled: 1
|
||||||
|
serializedVersion: 3
|
||||||
|
m_RenderMode: 2
|
||||||
|
m_Camera: {fileID: 0}
|
||||||
|
m_PlaneDistance: 100
|
||||||
|
m_PixelPerfect: 0
|
||||||
|
m_ReceivesEvents: 1
|
||||||
|
m_OverrideSorting: 1
|
||||||
|
m_OverridePixelPerfect: 0
|
||||||
|
m_SortingBucketNormalizedSize: 0
|
||||||
|
m_VertexColorAlwaysGammaSpace: 0
|
||||||
|
m_AdditionalShaderChannelsFlag: 0
|
||||||
|
m_SortingLayerID: 0
|
||||||
|
m_SortingOrder: 3000
|
||||||
|
m_TargetDisplay: 0
|
||||||
--- !u!1 &5609301360518590828
|
--- !u!1 &5609301360518590828
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@ -16875,7 +16898,7 @@ RectTransform:
|
|||||||
m_ConstrainProportionsScale: 0
|
m_ConstrainProportionsScale: 0
|
||||||
m_Children: []
|
m_Children: []
|
||||||
m_Father: {fileID: 8312054441520403190}
|
m_Father: {fileID: 8312054441520403190}
|
||||||
m_RootOrder: 0
|
m_RootOrder: 1
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
@ -16951,7 +16974,7 @@ RectTransform:
|
|||||||
m_ConstrainProportionsScale: 0
|
m_ConstrainProportionsScale: 0
|
||||||
m_Children: []
|
m_Children: []
|
||||||
m_Father: {fileID: 8312054441520403190}
|
m_Father: {fileID: 8312054441520403190}
|
||||||
m_RootOrder: 1
|
m_RootOrder: 2
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
@ -18777,6 +18800,7 @@ GameObject:
|
|||||||
- component: {fileID: 8048054271447890787}
|
- component: {fileID: 8048054271447890787}
|
||||||
- component: {fileID: 8048054271447890785}
|
- component: {fileID: 8048054271447890785}
|
||||||
- component: {fileID: 8048054271447890784}
|
- component: {fileID: 8048054271447890784}
|
||||||
|
- component: {fileID: 8048054271447890788}
|
||||||
m_Layer: 5
|
m_Layer: 5
|
||||||
m_Name: pop
|
m_Name: pop
|
||||||
m_TagString: Untagged
|
m_TagString: Untagged
|
||||||
@ -18805,6 +18829,28 @@ RectTransform:
|
|||||||
m_AnchoredPosition: {x: 0.00030517578, y: 45.351994}
|
m_AnchoredPosition: {x: 0.00030517578, y: 45.351994}
|
||||||
m_SizeDelta: {x: 333.3979, y: 63.863}
|
m_SizeDelta: {x: 333.3979, y: 63.863}
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!223 &8048054271447890788
|
||||||
|
Canvas:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 8048054271447890786}
|
||||||
|
m_Enabled: 1
|
||||||
|
serializedVersion: 3
|
||||||
|
m_RenderMode: 2
|
||||||
|
m_Camera: {fileID: 0}
|
||||||
|
m_PlaneDistance: 100
|
||||||
|
m_PixelPerfect: 1
|
||||||
|
m_ReceivesEvents: 1
|
||||||
|
m_OverrideSorting: 1
|
||||||
|
m_OverridePixelPerfect: 0
|
||||||
|
m_SortingBucketNormalizedSize: 0
|
||||||
|
m_VertexColorAlwaysGammaSpace: 0
|
||||||
|
m_AdditionalShaderChannelsFlag: 0
|
||||||
|
m_SortingLayerID: 0
|
||||||
|
m_SortingOrder: 3000
|
||||||
|
m_TargetDisplay: 0
|
||||||
--- !u!222 &8048054271547231522
|
--- !u!222 &8048054271547231522
|
||||||
CanvasRenderer:
|
CanvasRenderer:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@ -19144,6 +19190,7 @@ GameObject:
|
|||||||
- component: {fileID: 8089844375897106909}
|
- component: {fileID: 8089844375897106909}
|
||||||
- component: {fileID: 8089844375897106911}
|
- component: {fileID: 8089844375897106911}
|
||||||
- component: {fileID: 8089844375897106910}
|
- component: {fileID: 8089844375897106910}
|
||||||
|
- component: {fileID: 8089844375897106912}
|
||||||
m_Layer: 5
|
m_Layer: 5
|
||||||
m_Name: pop
|
m_Name: pop
|
||||||
m_TagString: Untagged
|
m_TagString: Untagged
|
||||||
@ -19210,6 +19257,28 @@ CanvasRenderer:
|
|||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 8089844375897106908}
|
m_GameObject: {fileID: 8089844375897106908}
|
||||||
m_CullTransparentMesh: 1
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!223 &8089844375897106912
|
||||||
|
Canvas:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 8089844375897106908}
|
||||||
|
m_Enabled: 1
|
||||||
|
serializedVersion: 3
|
||||||
|
m_RenderMode: 2
|
||||||
|
m_Camera: {fileID: 0}
|
||||||
|
m_PlaneDistance: 100
|
||||||
|
m_PixelPerfect: 0
|
||||||
|
m_ReceivesEvents: 1
|
||||||
|
m_OverrideSorting: 1
|
||||||
|
m_OverridePixelPerfect: 0
|
||||||
|
m_SortingBucketNormalizedSize: 0
|
||||||
|
m_VertexColorAlwaysGammaSpace: 0
|
||||||
|
m_AdditionalShaderChannelsFlag: 0
|
||||||
|
m_SortingLayerID: 0
|
||||||
|
m_SortingOrder: 3000
|
||||||
|
m_TargetDisplay: 0
|
||||||
--- !u!114 &8089844376539676240
|
--- !u!114 &8089844376539676240
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@ -19472,17 +19541,17 @@ RectTransform:
|
|||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
m_ConstrainProportionsScale: 0
|
m_ConstrainProportionsScale: 0
|
||||||
m_Children:
|
m_Children:
|
||||||
|
- {fileID: 5609301360350021424}
|
||||||
- {fileID: 5609301360762730051}
|
- {fileID: 5609301360762730051}
|
||||||
- {fileID: 5609301361648918427}
|
- {fileID: 5609301361648918427}
|
||||||
- {fileID: 5609301359776501946}
|
- {fileID: 5609301359776501946}
|
||||||
- {fileID: 5609301360350021424}
|
|
||||||
m_Father: {fileID: 1543540618}
|
m_Father: {fileID: 1543540618}
|
||||||
m_RootOrder: 4
|
m_RootOrder: 4
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
m_AnchorMin: {x: 0, y: 0}
|
||||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
m_AnchorMax: {x: 1, y: 1}
|
||||||
m_AnchoredPosition: {x: 233.78, y: -0.80251}
|
m_AnchoredPosition: {x: 232.78003, y: -0.8025131}
|
||||||
m_SizeDelta: {x: 333.4, y: 154.56}
|
m_SizeDelta: {x: -238.59998, y: -43.440002}
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
--- !u!224 &8343856714291592832
|
--- !u!224 &8343856714291592832
|
||||||
RectTransform:
|
RectTransform:
|
||||||
|
Loading…
Reference in New Issue
Block a user