diff --git a/unity/Holo/Assets/Editor/ModelPreprocessing/AssetBundles/AssetBundleLoader.cs b/unity/Holo/Assets/Editor/ModelPreprocessing/AssetBundles/AssetBundleLoader.cs deleted file mode 100644 index eafe765c..00000000 --- a/unity/Holo/Assets/Editor/ModelPreprocessing/AssetBundles/AssetBundleLoader.cs +++ /dev/null @@ -1,51 +0,0 @@ -using System.Collections.Generic; -using System.IO; -using System.Linq; -using UnityEditor; -using UnityEngine; - -class AssetBundleLoader -{ - private AssetBundle assetBundle; - private string bundlePath; - - private GameObject gameObject; - private Mesh mesh; - - [MenuItem("Holo/Load an Asset Bundle")] - public static void Load() - { - AssetBundleLoader assetBundleLoader = new AssetBundleLoader(); - - string bundlePath = EditorUtility.OpenFilePanel("Choose AssetBundle to be loaded.", "", ""); - assetBundleLoader.LoadBundle(bundlePath); - assetBundleLoader.LoadAssetFromBundle(); - } - - private void LoadBundle(string bundlePath) - { - var loadedAssetBundle = AssetBundle.LoadFromFile(bundlePath); - if (loadedAssetBundle == null) - { - Debug.LogError("Failed to load AssetBundle!"); - return; - } - assetBundle = loadedAssetBundle; - } - - private void LoadAssetFromBundle() - { - List assetPathList = assetBundle.GetAllAssetNames().ToList(); - - string gameObjectPath = assetPathList.Single(path => path.EndsWith(".prefab")); - string meshPath = assetPathList.Single(path => path.EndsWith(".mesh")); - - gameObject = assetBundle.LoadAsset(gameObjectPath); - mesh = assetBundle.LoadAsset(meshPath); - - SkinnedMeshRenderer skinnedMesh = gameObject.GetComponent(); - skinnedMesh.sharedMesh = mesh; - Object.Instantiate(gameObject); - Mesh.Instantiate(mesh); - } -} diff --git a/unity/Holo/Assets/Editor/ModelPreprocessing/AssetBundles/AssetBundleLoader.cs.meta b/unity/Holo/Assets/Editor/ModelPreprocessing/AssetBundles/AssetBundleLoader.cs.meta deleted file mode 100644 index a5f627ef..00000000 --- a/unity/Holo/Assets/Editor/ModelPreprocessing/AssetBundles/AssetBundleLoader.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 5a97dc1e6a2aebd44b05d357100aa638 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/unity/Holo/Assets/HoloToolkit/UX/Materials/ButtonIconMaterial.mat b/unity/Holo/Assets/HoloToolkit/UX/Materials/ButtonIconMaterial.mat index 44d27a7b..8f8623a1 100644 --- a/unity/Holo/Assets/HoloToolkit/UX/Materials/ButtonIconMaterial.mat +++ b/unity/Holo/Assets/HoloToolkit/UX/Materials/ButtonIconMaterial.mat @@ -4,8 +4,9 @@ Material: serializedVersion: 6 m_ObjectHideFlags: 0 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 0} + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_Name: ButtonIconMaterial m_Shader: {fileID: 4800000, guid: d45c0efca53019e43891b0f610f8146e, type: 3} m_ShaderKeywords: _ALPHATEST_ON _BORDER_LIGHT_USES_HOVER_COLOR _DIRECTIONAL_LIGHT @@ -41,7 +42,7 @@ Material: m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MainTex: - m_Texture: {fileID: 2800000, guid: 2385074f7d28d184798b0a87ebc2623f, type: 3} + m_Texture: {fileID: 2800000, guid: f1ded036bb8ebaa40970e0d680757311, type: 3} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MetallicGlossMap: diff --git a/unity/Holo/Assets/HoloToolkit/UX/Scripts/BoundingBoxes/BoundingBox.cs b/unity/Holo/Assets/HoloToolkit/UX/Scripts/BoundingBoxes/BoundingBox.cs index 10e102bc..50126441 100644 --- a/unity/Holo/Assets/HoloToolkit/UX/Scripts/BoundingBoxes/BoundingBox.cs +++ b/unity/Holo/Assets/HoloToolkit/UX/Scripts/BoundingBoxes/BoundingBox.cs @@ -602,6 +602,12 @@ public static void GetMeshFilterBoundsPoints(GameObject target, List bo continue; } + Mesh mesh = meshFilterObj.sharedMesh != null ? meshFilterObj.sharedMesh : meshFilterObj.mesh; + if (mesh == null) + { + Debug.LogWarning("Invalid BoundingBox prefab, missing mesh"); + continue; + } Bounds meshBounds = meshFilterObj.sharedMesh.bounds; meshBounds.GetCornerPositions(meshFilterObj.transform, ref corners); boundsPoints.AddRange(corners); diff --git a/unity/Holo/Assets/HoloToolkit/UX/Scripts/BoundingBoxes/BoundingBoxRig.cs b/unity/Holo/Assets/HoloToolkit/UX/Scripts/BoundingBoxes/BoundingBoxRig.cs index 698a6f59..1a0b17fb 100644 --- a/unity/Holo/Assets/HoloToolkit/UX/Scripts/BoundingBoxes/BoundingBoxRig.cs +++ b/unity/Holo/Assets/HoloToolkit/UX/Scripts/BoundingBoxes/BoundingBoxRig.cs @@ -1,623 +1,629 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See LICENSE in the project root for license information. - -using HoloToolkit.Unity.InputModule; -using System.Collections.Generic; -using UnityEngine; - -namespace HoloToolkit.Unity.UX -{ - /// - /// Constructs the scale and rotate gizmo handles for the Bounding Box - /// - public class BoundingBoxRig : MonoBehaviour - { - [Header("Flattening")] - [SerializeField] - [Tooltip("Choose this option if Rig is to be applied to a 2D object.")] - private BoundingBox.FlattenModeEnum flattenedAxis = default(BoundingBox.FlattenModeEnum); - - public BoundingBox.FlattenModeEnum FlattenedAxis - { - get - { - return flattenedAxis; - } - set - { - flattenedAxis = value; - } - } - - [Header("Customization Settings")] - [SerializeField] - private Material scaleHandleMaterial; - public Material ScaleHandleMaterial - { - get - { - return scaleHandleMaterial; - } - set - { - scaleHandleMaterial = value; - } - } - - [SerializeField] - private Material rotateHandleMaterial; - public Material RotateHandleMaterial - { - get - { - return rotateHandleMaterial; - } - set - { - rotateHandleMaterial = value; - } - } - - [SerializeField] - private Material interactingMaterial; - public Material InteractingMaterial - { - get - { - return interactingMaterial; - } - set - { - interactingMaterial = value; - } - } - - [Header("Behavior")] - [SerializeField] - private float scaleRate = 1.0f; - public float ScaleRate - { - get - { - return scaleRate; - } - set - { - scaleRate = value; - } - } - - [SerializeField] - private float appBarHoverOffsetZ = 0.05f; - public float AppBarHoverOffsetZ - { - get - { - return appBarHoverOffsetZ; - } - set - { - appBarHoverOffsetZ = value; - } - } - - [SerializeField] - [Tooltip("This is the maximum scale that one grab can accomplish.")] - private float maxScale = 2.0f; - public float MaxScale - { - get - { - return maxScale; - } - set - { - maxScale = value; - } - } - - [SerializeField] - private BoundingBoxGizmoHandleRotationType rotationType = BoundingBoxGizmoHandleRotationType.objectCoordinates; - public BoundingBoxGizmoHandleRotationType RotationType - { - get - { - return rotationType; - } - set - { - rotationType = value; - } - } - - [SerializeField] - private BoundingBoxGizmoHandleHandMotionType handMotionToRotate = BoundingBoxGizmoHandleHandMotionType.handRotatesToRotateObject; - public BoundingBoxGizmoHandleHandMotionType HandMotionToRotate - { - get - { - return handMotionToRotate; - } - set - { - handMotionToRotate = value; - } - } - - [SerializeField] - private bool rotateAroundPivot = false; - public bool RotateAroundPivot - { - get - { - return rotateAroundPivot; - } - set - { - rotateAroundPivot = value; - } - } - - [Header("Preset Components")] - [SerializeField] - [Tooltip("To visualize the object bounding box, drop the MixedRealityToolkit/UX/Prefabs/BoundingBoxes/BoundingBoxBasic.prefab here.")] - private BoundingBox boundingBoxPrefab; - public BoundingBox BoundingBoxPrefab - { - get - { - return boundingBoxPrefab; - } - set - { - boundingBoxPrefab = value; - } - } - - [SerializeField] - [Tooltip("AppBar prefab.")] - private AppBar appBarPrefab = null; - public AppBar AppBarPrefab - { - get - { - return appBarPrefab; - } - set - { - appBarPrefab = value; - } - } - - private BoundingBox boxInstance; - - private GameObject objectToBound; - - private AppBar appBarInstance; - - private GameObject[] rotateHandles; - - private GameObject[] cornerHandles; - - private List handleCentroids; - - private GameObject transformRig; - - private BoundingBoxGizmoHandle[] rigScaleGizmoHandles; - - private BoundingBoxGizmoHandle[] rigRotateGizmoHandles; - - private bool showRig = false; - - private Vector3 scaleHandleSize = new Vector3(0.04f, 0.04f, 0.04f); - - private Vector3 rotateHandleSize = new Vector3(0.04f, 0.04f, 0.04f); - - private bool destroying = false; - - public void Activate() - { - InputManager.Instance.RaiseBoundingBoxRigActivated(gameObject); - ShowRig = true; - } - - public void Deactivate() - { - InputManager.Instance.RaiseBoundingBoxRigDeactivated(gameObject); - ShowRig = false; - } - - public void FocusOnHandle(GameObject handle) - { - if (handle != null) - { - for (int i = 0; i < rotateHandles.Length; ++i) - { - rotateHandles[i].SetActive(rotateHandles[i].gameObject == handle); - } - for (int i = 0; i < cornerHandles.Length; ++i) - { - cornerHandles[i].SetActive(cornerHandles[i].gameObject == handle); - } - } - else - { - for (int i = 0; i < rotateHandles.Length; ++i) - { - rotateHandles[i].SetActive(true); - } - for (int i = 0; i < cornerHandles.Length; ++i) - { - cornerHandles[i].SetActive(true); - } - } - } - - - private void Start() - { - objectToBound = this.gameObject; - - boxInstance = Instantiate(BoundingBoxPrefab) as BoundingBox; - boxInstance.Target = objectToBound; - boxInstance.FlattenPreference = flattenedAxis; - - BuildRig(); - - appBarInstance = Instantiate(appBarPrefab) as AppBar; - appBarInstance.BoundingBox = boxInstance; - appBarInstance.HoverOffsetZ = appBarHoverOffsetZ; - - boxInstance.IsVisible = false; - } - - private void Update() - { - if (destroying == false && ShowRig) - { - UpdateBoundsPoints(); - UpdateHandles(); - } - } - - private void OnDestroy() - { - destroying = true; - ShowRig = false; - ClearHandles(); - } - +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See LICENSE in the project root for license information. + +using HoloToolkit.Unity.InputModule; +using System.Collections.Generic; +using UnityEngine; + +namespace HoloToolkit.Unity.UX +{ + /// + /// Constructs the scale and rotate gizmo handles for the Bounding Box + /// + public class BoundingBoxRig : MonoBehaviour + { + [Header("Flattening")] + [SerializeField] + [Tooltip("Choose this option if Rig is to be applied to a 2D object.")] + private BoundingBox.FlattenModeEnum flattenedAxis = default(BoundingBox.FlattenModeEnum); + + public BoundingBox.FlattenModeEnum FlattenedAxis + { + get + { + return flattenedAxis; + } + set + { + flattenedAxis = value; + } + } + + [Header("Customization Settings")] + [SerializeField] + private Material scaleHandleMaterial; + public Material ScaleHandleMaterial + { + get + { + return scaleHandleMaterial; + } + set + { + scaleHandleMaterial = value; + } + } + + [SerializeField] + private Material rotateHandleMaterial; + public Material RotateHandleMaterial + { + get + { + return rotateHandleMaterial; + } + set + { + rotateHandleMaterial = value; + } + } + + [SerializeField] + private Material interactingMaterial; + public Material InteractingMaterial + { + get + { + return interactingMaterial; + } + set + { + interactingMaterial = value; + } + } + + [Header("Behavior")] + [SerializeField] + private float scaleRate = 1.0f; + public float ScaleRate + { + get + { + return scaleRate; + } + set + { + scaleRate = value; + } + } + + [SerializeField] + private float appBarHoverOffsetZ = 0.05f; + public float AppBarHoverOffsetZ + { + get + { + return appBarHoverOffsetZ; + } + set + { + appBarHoverOffsetZ = value; + } + } + + [SerializeField] + [Tooltip("This is the maximum scale that one grab can accomplish.")] + private float maxScale = 2.0f; + public float MaxScale + { + get + { + return maxScale; + } + set + { + maxScale = value; + } + } + + [SerializeField] + private BoundingBoxGizmoHandleRotationType rotationType = BoundingBoxGizmoHandleRotationType.objectCoordinates; + public BoundingBoxGizmoHandleRotationType RotationType + { + get + { + return rotationType; + } + set + { + rotationType = value; + } + } + + [SerializeField] + private BoundingBoxGizmoHandleHandMotionType handMotionToRotate = BoundingBoxGizmoHandleHandMotionType.handRotatesToRotateObject; + public BoundingBoxGizmoHandleHandMotionType HandMotionToRotate + { + get + { + return handMotionToRotate; + } + set + { + handMotionToRotate = value; + } + } + + [SerializeField] + private bool rotateAroundPivot = false; + public bool RotateAroundPivot + { + get + { + return rotateAroundPivot; + } + set + { + rotateAroundPivot = value; + } + } + + [Header("Preset Components")] + [SerializeField] + [Tooltip("To visualize the object bounding box, drop the MixedRealityToolkit/UX/Prefabs/BoundingBoxes/BoundingBoxBasic.prefab here.")] + private BoundingBox boundingBoxPrefab; + public BoundingBox BoundingBoxPrefab + { + get + { + return boundingBoxPrefab; + } + set + { + boundingBoxPrefab = value; + } + } + + [SerializeField] + [Tooltip("AppBar prefab.")] + private AppBar appBarPrefab = null; + public AppBar AppBarPrefab + { + get + { + return appBarPrefab; + } + set + { + appBarPrefab = value; + } + } + + private BoundingBox boxInstance; + + private GameObject objectToBound; + + private AppBar appBarInstance; + + private GameObject[] rotateHandles; + + private GameObject[] cornerHandles; + + private List handleCentroids; + + private GameObject transformRig; + + private BoundingBoxGizmoHandle[] rigScaleGizmoHandles; + + private BoundingBoxGizmoHandle[] rigRotateGizmoHandles; + + private bool showRig = false; + + private Vector3 scaleHandleSize = new Vector3(0.04f, 0.04f, 0.04f); + + private Vector3 rotateHandleSize = new Vector3(0.04f, 0.04f, 0.04f); + + private bool destroying = false; + + public void Activate() + { + InputManager.Instance.RaiseBoundingBoxRigActivated(gameObject); + ShowRig = true; + } + + public void Deactivate() + { + InputManager.Instance.RaiseBoundingBoxRigDeactivated(gameObject); + ShowRig = false; + } + + public void FocusOnHandle(GameObject handle) + { + if (handle != null) + { + for (int i = 0; i < rotateHandles.Length; ++i) + { + rotateHandles[i].SetActive(rotateHandles[i].gameObject == handle); + } + for (int i = 0; i < cornerHandles.Length; ++i) + { + cornerHandles[i].SetActive(cornerHandles[i].gameObject == handle); + } + } + else + { + for (int i = 0; i < rotateHandles.Length; ++i) + { + rotateHandles[i].SetActive(true); + } + for (int i = 0; i < cornerHandles.Length; ++i) + { + cornerHandles[i].SetActive(true); + } + } + } + + + private void Start() + { + objectToBound = this.gameObject; + + boxInstance = Instantiate(BoundingBoxPrefab) as BoundingBox; + boxInstance.Target = objectToBound; + boxInstance.FlattenPreference = flattenedAxis; + + BuildRig(); + + if (appBarPrefab != null) + { + appBarInstance = Instantiate(appBarPrefab) as AppBar; + appBarInstance.BoundingBox = boxInstance; + appBarInstance.HoverOffsetZ = appBarHoverOffsetZ; + } + + boxInstance.IsVisible = false; + } + + private void Update() + { + if (destroying == false && ShowRig) + { + UpdateBoundsPoints(); + UpdateHandles(); + } + } + + private void OnDestroy() + { + destroying = true; + ShowRig = false; + ClearHandles(); + } + public void DetachAppBar() { - Destroy(appBarInstance); - } - - private void UpdateBoundsPoints() - { - handleCentroids = GetBounds(); - } - - private void CreateHandles() - { - ClearHandles(); - UpdateCornerHandles(); - UpdateRotateHandles(); - ParentHandles(); - UpdateHandles(); - } - - private void UpdateCornerHandles() - { - if (handleCentroids != null) - { - GetBounds(); - } - - if (cornerHandles == null) - { - cornerHandles = new GameObject[handleCentroids.Count]; - rigScaleGizmoHandles = new BoundingBoxGizmoHandle[handleCentroids.Count]; - for (int i = 0; i < cornerHandles.Length; ++i) - { - cornerHandles[i] = GameObject.CreatePrimitive(PrimitiveType.Cube); - cornerHandles[i].GetComponent().material = scaleHandleMaterial; - cornerHandles[i].transform.localScale = scaleHandleSize; - cornerHandles[i].name = "Corner " + i.ToString(); - rigScaleGizmoHandles[i] = cornerHandles[i].AddComponent(); - rigScaleGizmoHandles[i].Rig = this; - rigScaleGizmoHandles[i].ScaleRate = scaleRate; - rigScaleGizmoHandles[i].MaxScale = maxScale; - rigScaleGizmoHandles[i].TransformToAffect = objectToBound.transform; - rigScaleGizmoHandles[i].Axis = BoundingBoxGizmoHandleAxisToAffect.Y; - rigScaleGizmoHandles[i].AffineType = BoundingBoxGizmoHandleTransformType.Scale; - } - } - - for (int i = 0; i < cornerHandles.Length; ++i) - { - cornerHandles[i].transform.position = handleCentroids[i]; - cornerHandles[i].transform.localRotation = objectToBound.transform.rotation; - } - } - - private void UpdateRotateHandles() - { - if (handleCentroids != null) - { - GetBounds(); - } - - if (rotateHandles == null) - { - rotateHandles = new GameObject[12]; - rigRotateGizmoHandles = new BoundingBoxGizmoHandle[12]; - for (int i = 0; i < rotateHandles.Length; ++i) - { - rotateHandles[i] = GameObject.CreatePrimitive(PrimitiveType.Sphere); - rotateHandles[i].GetComponent().material = rotateHandleMaterial; - rotateHandles[i].transform.localScale = rotateHandleSize; - rotateHandles[i].name = "Middle " + i.ToString(); - rigRotateGizmoHandles[i] = rotateHandles[i].AddComponent(); - rigRotateGizmoHandles[i].RotateAroundPivot = rotateAroundPivot; - rigRotateGizmoHandles[i].Rig = this; - rigRotateGizmoHandles[i].HandMotionForRotation = handMotionToRotate; - rigRotateGizmoHandles[i].RotationCoordinateSystem = rotationType; - rigRotateGizmoHandles[i].TransformToAffect = objectToBound.transform; - rigRotateGizmoHandles[i].AffineType = BoundingBoxGizmoHandleTransformType.Rotation; - - } - - //set axis to affect - rigRotateGizmoHandles[0].Axis = BoundingBoxGizmoHandleAxisToAffect.Y; - rigRotateGizmoHandles[1].Axis = BoundingBoxGizmoHandleAxisToAffect.Y; - rigRotateGizmoHandles[2].Axis = BoundingBoxGizmoHandleAxisToAffect.Y; - rigRotateGizmoHandles[3].Axis = BoundingBoxGizmoHandleAxisToAffect.Y; - - rigRotateGizmoHandles[4].Axis = BoundingBoxGizmoHandleAxisToAffect.Z; - rigRotateGizmoHandles[5].Axis = BoundingBoxGizmoHandleAxisToAffect.Z; - rigRotateGizmoHandles[6].Axis = BoundingBoxGizmoHandleAxisToAffect.Z; - rigRotateGizmoHandles[7].Axis = BoundingBoxGizmoHandleAxisToAffect.Z; - - rigRotateGizmoHandles[8].Axis = BoundingBoxGizmoHandleAxisToAffect.X; - rigRotateGizmoHandles[9].Axis = BoundingBoxGizmoHandleAxisToAffect.X; - rigRotateGizmoHandles[10].Axis = BoundingBoxGizmoHandleAxisToAffect.X; - rigRotateGizmoHandles[11].Axis = BoundingBoxGizmoHandleAxisToAffect.X; - - //set lefthandedness - rigRotateGizmoHandles[0].IsLeftHandedRotation = false; - rigRotateGizmoHandles[1].IsLeftHandedRotation = false; - rigRotateGizmoHandles[2].IsLeftHandedRotation = false; - rigRotateGizmoHandles[3].IsLeftHandedRotation = false; - - rigRotateGizmoHandles[4].IsLeftHandedRotation = false; - rigRotateGizmoHandles[5].IsLeftHandedRotation = false; - rigRotateGizmoHandles[6].IsLeftHandedRotation = true; - rigRotateGizmoHandles[7].IsLeftHandedRotation = true; - - rigRotateGizmoHandles[8].IsLeftHandedRotation = false; - rigRotateGizmoHandles[9].IsLeftHandedRotation = true; - rigRotateGizmoHandles[10].IsLeftHandedRotation = false; - rigRotateGizmoHandles[11].IsLeftHandedRotation = true; - } - - rotateHandles[0].transform.localPosition = (handleCentroids[2] + handleCentroids[0]) * 0.5f; - rotateHandles[1].transform.localPosition = (handleCentroids[3] + handleCentroids[1]) * 0.5f; - rotateHandles[2].transform.localPosition = (handleCentroids[6] + handleCentroids[4]) * 0.5f; - rotateHandles[3].transform.localPosition = (handleCentroids[7] + handleCentroids[5]) * 0.5f; - rotateHandles[4].transform.localPosition = (handleCentroids[0] + handleCentroids[1]) * 0.5f; - rotateHandles[5].transform.localPosition = (handleCentroids[2] + handleCentroids[3]) * 0.5f; - rotateHandles[6].transform.localPosition = (handleCentroids[4] + handleCentroids[5]) * 0.5f; - rotateHandles[7].transform.localPosition = (handleCentroids[6] + handleCentroids[7]) * 0.5f; - rotateHandles[8].transform.localPosition = (handleCentroids[0] + handleCentroids[4]) * 0.5f; - rotateHandles[9].transform.localPosition = (handleCentroids[1] + handleCentroids[5]) * 0.5f; - rotateHandles[10].transform.localPosition = (handleCentroids[2] + handleCentroids[6]) * 0.5f; - rotateHandles[11].transform.localPosition = (handleCentroids[3] + handleCentroids[7]) * 0.5f; - } - - private void ParentHandles() - { - transformRig.transform.position = boxInstance.transform.position; - transformRig.transform.rotation = boxInstance.transform.rotation; - - Vector3 invScale = objectToBound.transform.localScale; - - transformRig.transform.localScale = new Vector3(0.5f / invScale.x, 0.5f / invScale.y, 0.5f / invScale.z); - transformRig.transform.parent = objectToBound.transform; - } - - private void UpdateHandles() - { - UpdateCornerHandles(); - UpdateRotateHandles(); - } - - private void ClearCornerHandles() - { - if (cornerHandles != null) - { - for (int i = 0; i < cornerHandles.Length; ++i) - { - GameObject.Destroy(cornerHandles[i]); - } - cornerHandles = null; - handleCentroids = null; - } - - cornerHandles = null; - handleCentroids = null; - } - - private void ClearRotateHandles() - { - if (rotateHandles != null && rotateHandles.Length > 0 && rotateHandles[0] != null) - { - for (int i = 0; i < rotateHandles.Length; ++i) - { - if (rotateHandles[i] != null) - { - Destroy(rotateHandles[i]); - rotateHandles[i] = null; - } - } - } - - rotateHandles = null; - } - - private void ClearHandles() - { - ClearCornerHandles(); - ClearRotateHandles(); - } - - private GameObject BuildRig() - { - Vector3 scale = objectToBound.transform.localScale; - - GameObject rig = new GameObject(); - rig.name = "center"; - rig.transform.SetPositionAndRotation(Vector3.zero, Quaternion.identity); - rig.transform.localScale = new Vector3(1.0f / scale.x, 1.0f / scale.y, 1.0f / scale.z); - - GameObject upperLeftFront = new GameObject(); - upperLeftFront.name = "upperleftfront"; - upperLeftFront.transform.SetPositionAndRotation(new Vector3(0.5f, 0.5f, 0.5f), Quaternion.identity); - upperLeftFront.transform.localScale = new Vector3(1, 1, 1); - upperLeftFront.transform.parent = rig.transform; - - GameObject upperLeftBack = new GameObject(); - upperLeftBack.name = "upperleftback"; - upperLeftBack.transform.SetPositionAndRotation(new Vector3(0.5f, 0.5f, -0.5f), Quaternion.identity); - upperLeftBack.transform.localScale = new Vector3(1, 1, 1); - upperLeftBack.transform.parent = rig.transform; - - GameObject lowerLeftFront = new GameObject(); - lowerLeftFront.name = "lowerleftfront"; - lowerLeftFront.transform.SetPositionAndRotation(new Vector3(0.5f, -0.5f, 0.5f), Quaternion.identity); - lowerLeftFront.transform.localScale = new Vector3(1, 1, 1); - lowerLeftFront.transform.parent = rig.transform; - - GameObject lowerLeftBack = new GameObject(); - lowerLeftBack.name = "lowerleftback"; - lowerLeftBack.transform.SetPositionAndRotation(new Vector3(0.5f, -0.5f, -0.5f), Quaternion.identity); - lowerLeftBack.transform.localScale = new Vector3(1, 1, 1); - lowerLeftBack.transform.parent = rig.transform; - - GameObject upperRightFront = new GameObject(); - upperRightFront.name = "upperrightfront"; - upperRightFront.transform.SetPositionAndRotation(new Vector3(-0.5f, 0.5f, 0.5f), Quaternion.identity); - upperRightFront.transform.localScale = new Vector3(1, 1, 1); - upperRightFront.transform.parent = rig.transform; - - GameObject upperRightBack = new GameObject(); - upperRightBack.name = "upperrightback"; - upperRightBack.transform.SetPositionAndRotation(new Vector3(-0.5f, 0.5f, -0.5f), Quaternion.identity); - upperRightBack.transform.localScale = new Vector3(1, 1, 1); - upperRightBack.transform.parent = rig.transform; - - GameObject lowerRightFront = new GameObject(); - lowerRightFront.name = "lowerrightfront"; - lowerRightFront.transform.SetPositionAndRotation(new Vector3(-0.5f, -0.5f, 0.5f), Quaternion.identity); - lowerRightFront.transform.localScale = new Vector3(1, 1, 1); - lowerRightFront.transform.parent = rig.transform; - - GameObject lowerRightBack = new GameObject(); - lowerRightBack.name = "lowerrightback"; - lowerRightBack.transform.SetPositionAndRotation(new Vector3(-0.5f, -0.5f, -0.5f), Quaternion.identity); - lowerRightBack.transform.localScale = new Vector3(1, 1, 1); - lowerRightBack.transform.parent = rig.transform; - - transformRig = rig; - - return rig; - } - - private bool ShowRig - { - get - { - return showRig; - } - set - { - if (destroying == false) - { - if (value == true) - { - UpdateBoundsPoints(); - UpdateHandles(); - } - - if (boxInstance != null) - { - boxInstance.IsVisible = value; - } - - if (cornerHandles != null && rotateHandles != null) - { - foreach (GameObject handle in cornerHandles) - { - handle.SetActive(value); - } - foreach (GameObject handle in rotateHandles) - { - handle.SetActive(value); - } - } - - showRig = value; - } - } - } - - public List GetBounds() - { - if (objectToBound != null) - { - List bounds = new List(); - LayerMask mask = new LayerMask(); - - GameObject clone = GameObject.Instantiate(boxInstance.gameObject); - clone.transform.localRotation = Quaternion.identity; - clone.transform.position = Vector3.zero; - BoundingBox.GetMeshFilterBoundsPoints(clone, bounds, mask); - Vector3 centroid = boxInstance.TargetBoundsCenter; - GameObject.Destroy(clone); -#if UNITY_2017_1_OR_NEWER - Matrix4x4 m = Matrix4x4.Rotate(objectToBound.transform.rotation); - for (int i = 0; i < bounds.Count; ++i) - { - bounds[i] = m.MultiplyPoint(bounds[i]); - bounds[i] += boxInstance.TargetBoundsCenter; - } -#endif // UNITY_2017_1_OR_NEWER - return bounds; - } - - return null; - } - - private BoundingBox.FlattenModeEnum GetBestAxisToFlatten() - { - int index = handleCentroids.Count - 8; - float width = (handleCentroids[index + 0] - handleCentroids[index + 4]).magnitude; - float height = (handleCentroids[index + 0] - handleCentroids[index + 2]).magnitude; - float depth = (handleCentroids[index + 0] - handleCentroids[index + 1]).magnitude; - - if (width < height && width < depth) - { - return BoundingBox.FlattenModeEnum.FlattenX; - } - else if (height < width && height < depth) - { - return BoundingBox.FlattenModeEnum.FlattenY; - } - else if (depth < height && depth < width) - { - return BoundingBox.FlattenModeEnum.FlattenZ; - } - - return BoundingBox.FlattenModeEnum.DoNotFlatten; - } - } + if (appBarInstance != null) + { + Destroy(appBarInstance); + } + } + + private void UpdateBoundsPoints() + { + handleCentroids = GetBounds(); + } + + private void CreateHandles() + { + ClearHandles(); + UpdateCornerHandles(); + UpdateRotateHandles(); + ParentHandles(); + UpdateHandles(); + } + + private void UpdateCornerHandles() + { + if (handleCentroids != null) + { + GetBounds(); + } + + if (cornerHandles == null) + { + cornerHandles = new GameObject[handleCentroids.Count]; + rigScaleGizmoHandles = new BoundingBoxGizmoHandle[handleCentroids.Count]; + for (int i = 0; i < cornerHandles.Length; ++i) + { + cornerHandles[i] = GameObject.CreatePrimitive(PrimitiveType.Cube); + cornerHandles[i].GetComponent().material = scaleHandleMaterial; + cornerHandles[i].transform.localScale = scaleHandleSize; + cornerHandles[i].name = "Corner " + i.ToString(); + rigScaleGizmoHandles[i] = cornerHandles[i].AddComponent(); + rigScaleGizmoHandles[i].Rig = this; + rigScaleGizmoHandles[i].ScaleRate = scaleRate; + rigScaleGizmoHandles[i].MaxScale = maxScale; + rigScaleGizmoHandles[i].TransformToAffect = objectToBound.transform; + rigScaleGizmoHandles[i].Axis = BoundingBoxGizmoHandleAxisToAffect.Y; + rigScaleGizmoHandles[i].AffineType = BoundingBoxGizmoHandleTransformType.Scale; + } + } + + for (int i = 0; i < cornerHandles.Length; ++i) + { + cornerHandles[i].transform.position = handleCentroids[i]; + cornerHandles[i].transform.localRotation = objectToBound.transform.rotation; + } + } + + private void UpdateRotateHandles() + { + if (handleCentroids != null) + { + GetBounds(); + } + + if (rotateHandles == null) + { + rotateHandles = new GameObject[12]; + rigRotateGizmoHandles = new BoundingBoxGizmoHandle[12]; + for (int i = 0; i < rotateHandles.Length; ++i) + { + rotateHandles[i] = GameObject.CreatePrimitive(PrimitiveType.Sphere); + rotateHandles[i].GetComponent().material = rotateHandleMaterial; + rotateHandles[i].transform.localScale = rotateHandleSize; + rotateHandles[i].name = "Middle " + i.ToString(); + rigRotateGizmoHandles[i] = rotateHandles[i].AddComponent(); + rigRotateGizmoHandles[i].RotateAroundPivot = rotateAroundPivot; + rigRotateGizmoHandles[i].Rig = this; + rigRotateGizmoHandles[i].HandMotionForRotation = handMotionToRotate; + rigRotateGizmoHandles[i].RotationCoordinateSystem = rotationType; + rigRotateGizmoHandles[i].TransformToAffect = objectToBound.transform; + rigRotateGizmoHandles[i].AffineType = BoundingBoxGizmoHandleTransformType.Rotation; + + } + + //set axis to affect + rigRotateGizmoHandles[0].Axis = BoundingBoxGizmoHandleAxisToAffect.Y; + rigRotateGizmoHandles[1].Axis = BoundingBoxGizmoHandleAxisToAffect.Y; + rigRotateGizmoHandles[2].Axis = BoundingBoxGizmoHandleAxisToAffect.Y; + rigRotateGizmoHandles[3].Axis = BoundingBoxGizmoHandleAxisToAffect.Y; + + rigRotateGizmoHandles[4].Axis = BoundingBoxGizmoHandleAxisToAffect.Z; + rigRotateGizmoHandles[5].Axis = BoundingBoxGizmoHandleAxisToAffect.Z; + rigRotateGizmoHandles[6].Axis = BoundingBoxGizmoHandleAxisToAffect.Z; + rigRotateGizmoHandles[7].Axis = BoundingBoxGizmoHandleAxisToAffect.Z; + + rigRotateGizmoHandles[8].Axis = BoundingBoxGizmoHandleAxisToAffect.X; + rigRotateGizmoHandles[9].Axis = BoundingBoxGizmoHandleAxisToAffect.X; + rigRotateGizmoHandles[10].Axis = BoundingBoxGizmoHandleAxisToAffect.X; + rigRotateGizmoHandles[11].Axis = BoundingBoxGizmoHandleAxisToAffect.X; + + //set lefthandedness + rigRotateGizmoHandles[0].IsLeftHandedRotation = false; + rigRotateGizmoHandles[1].IsLeftHandedRotation = false; + rigRotateGizmoHandles[2].IsLeftHandedRotation = false; + rigRotateGizmoHandles[3].IsLeftHandedRotation = false; + + rigRotateGizmoHandles[4].IsLeftHandedRotation = false; + rigRotateGizmoHandles[5].IsLeftHandedRotation = false; + rigRotateGizmoHandles[6].IsLeftHandedRotation = true; + rigRotateGizmoHandles[7].IsLeftHandedRotation = true; + + rigRotateGizmoHandles[8].IsLeftHandedRotation = false; + rigRotateGizmoHandles[9].IsLeftHandedRotation = true; + rigRotateGizmoHandles[10].IsLeftHandedRotation = false; + rigRotateGizmoHandles[11].IsLeftHandedRotation = true; + } + + rotateHandles[0].transform.localPosition = (handleCentroids[2] + handleCentroids[0]) * 0.5f; + rotateHandles[1].transform.localPosition = (handleCentroids[3] + handleCentroids[1]) * 0.5f; + rotateHandles[2].transform.localPosition = (handleCentroids[6] + handleCentroids[4]) * 0.5f; + rotateHandles[3].transform.localPosition = (handleCentroids[7] + handleCentroids[5]) * 0.5f; + rotateHandles[4].transform.localPosition = (handleCentroids[0] + handleCentroids[1]) * 0.5f; + rotateHandles[5].transform.localPosition = (handleCentroids[2] + handleCentroids[3]) * 0.5f; + rotateHandles[6].transform.localPosition = (handleCentroids[4] + handleCentroids[5]) * 0.5f; + rotateHandles[7].transform.localPosition = (handleCentroids[6] + handleCentroids[7]) * 0.5f; + rotateHandles[8].transform.localPosition = (handleCentroids[0] + handleCentroids[4]) * 0.5f; + rotateHandles[9].transform.localPosition = (handleCentroids[1] + handleCentroids[5]) * 0.5f; + rotateHandles[10].transform.localPosition = (handleCentroids[2] + handleCentroids[6]) * 0.5f; + rotateHandles[11].transform.localPosition = (handleCentroids[3] + handleCentroids[7]) * 0.5f; + } + + private void ParentHandles() + { + transformRig.transform.position = boxInstance.transform.position; + transformRig.transform.rotation = boxInstance.transform.rotation; + + Vector3 invScale = objectToBound.transform.localScale; + + transformRig.transform.localScale = new Vector3(0.5f / invScale.x, 0.5f / invScale.y, 0.5f / invScale.z); + transformRig.transform.parent = objectToBound.transform; + } + + private void UpdateHandles() + { + UpdateCornerHandles(); + UpdateRotateHandles(); + } + + private void ClearCornerHandles() + { + if (cornerHandles != null) + { + for (int i = 0; i < cornerHandles.Length; ++i) + { + GameObject.Destroy(cornerHandles[i]); + } + cornerHandles = null; + handleCentroids = null; + } + + cornerHandles = null; + handleCentroids = null; + } + + private void ClearRotateHandles() + { + if (rotateHandles != null && rotateHandles.Length > 0 && rotateHandles[0] != null) + { + for (int i = 0; i < rotateHandles.Length; ++i) + { + if (rotateHandles[i] != null) + { + Destroy(rotateHandles[i]); + rotateHandles[i] = null; + } + } + } + + rotateHandles = null; + } + + private void ClearHandles() + { + ClearCornerHandles(); + ClearRotateHandles(); + } + + private GameObject BuildRig() + { + Vector3 scale = objectToBound.transform.localScale; + + GameObject rig = new GameObject(); + rig.name = "center"; + rig.transform.SetPositionAndRotation(Vector3.zero, Quaternion.identity); + rig.transform.localScale = new Vector3(1.0f / scale.x, 1.0f / scale.y, 1.0f / scale.z); + + GameObject upperLeftFront = new GameObject(); + upperLeftFront.name = "upperleftfront"; + upperLeftFront.transform.SetPositionAndRotation(new Vector3(0.5f, 0.5f, 0.5f), Quaternion.identity); + upperLeftFront.transform.localScale = new Vector3(1, 1, 1); + upperLeftFront.transform.parent = rig.transform; + + GameObject upperLeftBack = new GameObject(); + upperLeftBack.name = "upperleftback"; + upperLeftBack.transform.SetPositionAndRotation(new Vector3(0.5f, 0.5f, -0.5f), Quaternion.identity); + upperLeftBack.transform.localScale = new Vector3(1, 1, 1); + upperLeftBack.transform.parent = rig.transform; + + GameObject lowerLeftFront = new GameObject(); + lowerLeftFront.name = "lowerleftfront"; + lowerLeftFront.transform.SetPositionAndRotation(new Vector3(0.5f, -0.5f, 0.5f), Quaternion.identity); + lowerLeftFront.transform.localScale = new Vector3(1, 1, 1); + lowerLeftFront.transform.parent = rig.transform; + + GameObject lowerLeftBack = new GameObject(); + lowerLeftBack.name = "lowerleftback"; + lowerLeftBack.transform.SetPositionAndRotation(new Vector3(0.5f, -0.5f, -0.5f), Quaternion.identity); + lowerLeftBack.transform.localScale = new Vector3(1, 1, 1); + lowerLeftBack.transform.parent = rig.transform; + + GameObject upperRightFront = new GameObject(); + upperRightFront.name = "upperrightfront"; + upperRightFront.transform.SetPositionAndRotation(new Vector3(-0.5f, 0.5f, 0.5f), Quaternion.identity); + upperRightFront.transform.localScale = new Vector3(1, 1, 1); + upperRightFront.transform.parent = rig.transform; + + GameObject upperRightBack = new GameObject(); + upperRightBack.name = "upperrightback"; + upperRightBack.transform.SetPositionAndRotation(new Vector3(-0.5f, 0.5f, -0.5f), Quaternion.identity); + upperRightBack.transform.localScale = new Vector3(1, 1, 1); + upperRightBack.transform.parent = rig.transform; + + GameObject lowerRightFront = new GameObject(); + lowerRightFront.name = "lowerrightfront"; + lowerRightFront.transform.SetPositionAndRotation(new Vector3(-0.5f, -0.5f, 0.5f), Quaternion.identity); + lowerRightFront.transform.localScale = new Vector3(1, 1, 1); + lowerRightFront.transform.parent = rig.transform; + + GameObject lowerRightBack = new GameObject(); + lowerRightBack.name = "lowerrightback"; + lowerRightBack.transform.SetPositionAndRotation(new Vector3(-0.5f, -0.5f, -0.5f), Quaternion.identity); + lowerRightBack.transform.localScale = new Vector3(1, 1, 1); + lowerRightBack.transform.parent = rig.transform; + + transformRig = rig; + + return rig; + } + + private bool ShowRig + { + get + { + return showRig; + } + set + { + if (destroying == false) + { + if (value == true) + { + UpdateBoundsPoints(); + UpdateHandles(); + } + + if (boxInstance != null) + { + boxInstance.IsVisible = value; + } + + if (cornerHandles != null && rotateHandles != null) + { + foreach (GameObject handle in cornerHandles) + { + handle.SetActive(value); + } + foreach (GameObject handle in rotateHandles) + { + handle.SetActive(value); + } + } + + showRig = value; + } + } + } + + public List GetBounds() + { + if (objectToBound != null) + { + List bounds = new List(); + LayerMask mask = new LayerMask(); + + GameObject clone = GameObject.Instantiate(boxInstance.gameObject); + clone.transform.localRotation = Quaternion.identity; + clone.transform.position = Vector3.zero; + BoundingBox.GetMeshFilterBoundsPoints(clone, bounds, mask); + Vector3 centroid = boxInstance.TargetBoundsCenter; + GameObject.Destroy(clone); +#if UNITY_2017_1_OR_NEWER + Matrix4x4 m = Matrix4x4.Rotate(objectToBound.transform.rotation); + for (int i = 0; i < bounds.Count; ++i) + { + bounds[i] = m.MultiplyPoint(bounds[i]); + bounds[i] += boxInstance.TargetBoundsCenter; + } +#endif // UNITY_2017_1_OR_NEWER + return bounds; + } + + return null; + } + + private BoundingBox.FlattenModeEnum GetBestAxisToFlatten() + { + int index = handleCentroids.Count - 8; + float width = (handleCentroids[index + 0] - handleCentroids[index + 4]).magnitude; + float height = (handleCentroids[index + 0] - handleCentroids[index + 2]).magnitude; + float depth = (handleCentroids[index + 0] - handleCentroids[index + 1]).magnitude; + + if (width < height && width < depth) + { + return BoundingBox.FlattenModeEnum.FlattenX; + } + else if (height < width && height < depth) + { + return BoundingBox.FlattenModeEnum.FlattenY; + } + else if (depth < height && depth < width) + { + return BoundingBox.FlattenModeEnum.FlattenZ; + } + + return BoundingBox.FlattenModeEnum.DoNotFlatten; + } + } } \ No newline at end of file diff --git a/unity/Holo/Assets/Scenes/AnimatedModel.unity b/unity/Holo/Assets/Scenes/AnimatedModel.unity index 6fbea203..0c513f31 100644 --- a/unity/Holo/Assets/Scenes/AnimatedModel.unity +++ b/unity/Holo/Assets/Scenes/AnimatedModel.unity @@ -118,7 +118,7 @@ GameObject: type: 3} m_PrefabInstance: {fileID: 2039415127} m_PrefabAsset: {fileID: 0} ---- !u!21 &11791772 +--- !u!21 &28050932 Material: serializedVersion: 6 m_ObjectHideFlags: 0 @@ -257,139 +257,6 @@ MeshRenderer: type: 3} m_PrefabInstance: {fileID: 2080996091} m_PrefabAsset: {fileID: 0} ---- !u!21 &83035726 -Material: - serializedVersion: 6 - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_Name: ButtonIconMaterial - m_Shader: {fileID: 4800000, guid: d45c0efca53019e43891b0f610f8146e, type: 3} - m_ShaderKeywords: _ALPHATEST_ON _BORDER_LIGHT_USES_HOVER_COLOR _DIRECTIONAL_LIGHT - _EMISSION _SPECULAR_HIGHLIGHTS _USECOLOR_ON _USEMAINTEX_ON - m_LightmapFlags: 4 - m_EnableInstancingVariants: 0 - m_DoubleSidedGI: 0 - m_CustomRenderQueue: 2450 - stringTagMap: - RenderType: TransparentCutout - disabledShaderPasses: [] - m_SavedProperties: - serializedVersion: 3 - m_TexEnvs: - - _BumpMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _DetailAlbedoMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _DetailMask: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _DetailNormalMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _EmissionMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _MainTex: - m_Texture: {fileID: 2800000, guid: 9ead6499d5f9021448e6dea4fcc6abe8, type: 3} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _MetallicGlossMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _NormalMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _OcclusionMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _ParallaxMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - m_Floats: - - _AlbedoAlphaMode: 0 - - _BlendOp: 0 - - _BorderLight: 0 - - _BorderLightOpaque: 0 - - _BorderLightUsesHoverColor: 1 - - _BorderMinValue: 0.1 - - _BorderWidth: 0.1 - - _BumpScale: 1 - - _ClippingPlane: 0 - - _ClippingPlaneBorder: 0 - - _ClippingPlaneBorderWidth: 0.025 - - _ColorWriteMask: 15 - - _Cull: 2 - - _CullMode: 2 - - _CustomMode: 1 - - _Cutoff: 0.5 - - _DetailNormalMapScale: 1 - - _DirectionalLight: 1 - - _DstBlend: 0 - - _EdgeSmoothingValue: 0.002 - - _EnableEmission: 1 - - _EnableHoverColorOpaqueOverride: 0 - - _EnableHoverColorOverride: 0 - - _EnableNormalMap: 0 - - _EnvironmentColorIntensity: 0.5 - - _EnvironmentColorThreshold: 1.5 - - _EnvironmentColoring: 0 - - _FadeBeginDistance: 0.85 - - _FadeCompleteDistance: 0.5 - - _GlossMapScale: 1 - - _Glossiness: 0.5 - - _GlossyReflections: 1 - - _HoverLight: 0 - - _HoverLightOpaque: 0 - - _InnerGlow: 0 - - _Metallic: 0 - - _Mode: 1 - - _NearPlaneFade: 0 - - _OcclusionStrength: 1 - - _Parallax: 0.02 - - _Reflections: 0 - - _Refraction: 0 - - _RefractiveIndex: 1.1 - - _RenderQueueOverride: -1 - - _RimLight: 0 - - _RimPower: 0.25 - - _RoundCornerMargin: 0 - - _RoundCornerRadius: 0.25 - - _RoundCorners: 0 - - _Smoothness: 0.5 - - _SmoothnessTextureChannel: 0 - - _SpecularHighlights: 1 - - _SrcBlend: 1 - - _UVSec: 0 - - _UseColor: 1 - - _UseMainTex: 1 - - _ZTest: 4 - - _ZWrite: 1 - m_Colors: - - _ClipPlane: {r: 0, g: 1, b: 0, a: 0} - - _ClippingPlaneBorderColor: {r: 1, g: 0.2, b: 0, a: 1} - - _Color: {r: 1, g: 1, b: 1, a: 1} - - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} - - _EmissiveColor: {r: 1, g: 1, b: 1, a: 1} - - _EnvironmentColorX: {r: 1, g: 0, b: 0, a: 1} - - _EnvironmentColorY: {r: 0, g: 1, b: 0, a: 1} - - _EnvironmentColorZ: {r: 0, g: 0, b: 1, a: 1} - - _HoverColorOpaqueOverride: {r: 1, g: 1, b: 1, a: 1} - - _HoverColorOverride: {r: 1, g: 1, b: 1, a: 1} - - _InnerGlowColor: {r: 1, g: 1, b: 1, a: 0.75} - - _RimColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} --- !u!1 &95420664 stripped GameObject: m_CorrespondingSourceObject: {fileID: 1210820392543280, guid: 40da8a1b3b26ba743b892d890b95a9f9, @@ -416,7 +283,7 @@ PrefabInstance: type: 3} propertyPath: m_Materials.Array.data[0] value: - objectReference: {fileID: 1019454717} + objectReference: {fileID: 364306120} - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} propertyPath: m_LocalPosition.x value: -0.0016647743 @@ -589,7 +456,7 @@ PrefabInstance: type: 3} propertyPath: m_Mesh value: - objectReference: {fileID: 1969170842} + objectReference: {fileID: 263355581} - target: {fileID: 33183056751404668, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} propertyPath: m_Mesh @@ -1289,134 +1156,294 @@ Material: - _HoverColorOverride: {r: 1, g: 1, b: 1, a: 1} - _InnerGlowColor: {r: 1, g: 1, b: 1, a: 0.75} - _RimColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} ---- !u!23 &280568827 stripped -MeshRenderer: - m_CorrespondingSourceObject: {fileID: 23328387927548302, guid: 40da8a1b3b26ba743b892d890b95a9f9, - type: 3} - m_PrefabInstance: {fileID: 1473195019} - m_PrefabAsset: {fileID: 0} ---- !u!21 &329308277 -Material: - serializedVersion: 6 +--- !u!43 &263355581 +Mesh: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_Name: ButtonIconMaterial - m_Shader: {fileID: 4800000, guid: d45c0efca53019e43891b0f610f8146e, type: 3} - m_ShaderKeywords: _ALPHATEST_ON _BORDER_LIGHT_USES_HOVER_COLOR _DIRECTIONAL_LIGHT - _EMISSION _SPECULAR_HIGHLIGHTS _USECOLOR_ON _USEMAINTEX_ON - m_LightmapFlags: 4 - m_EnableInstancingVariants: 0 - m_DoubleSidedGI: 0 - m_CustomRenderQueue: 2450 - stringTagMap: - RenderType: TransparentCutout - disabledShaderPasses: [] - m_SavedProperties: - serializedVersion: 3 - m_TexEnvs: - - _BumpMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _DetailAlbedoMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _DetailMask: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _DetailNormalMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _EmissionMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _MainTex: - m_Texture: {fileID: 2800000, guid: e7b83d27ee4fcc24084f74be56883734, type: 3} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _MetallicGlossMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _NormalMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _OcclusionMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _ParallaxMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - m_Floats: - - _AlbedoAlphaMode: 0 - - _BlendOp: 0 - - _BorderLight: 0 - - _BorderLightOpaque: 0 - - _BorderLightUsesHoverColor: 1 - - _BorderMinValue: 0.1 - - _BorderWidth: 0.1 - - _BumpScale: 1 - - _ClippingPlane: 0 - - _ClippingPlaneBorder: 0 - - _ClippingPlaneBorderWidth: 0.025 - - _ColorWriteMask: 15 - - _Cull: 2 - - _CullMode: 2 - - _CustomMode: 1 - - _Cutoff: 0.5 - - _DetailNormalMapScale: 1 - - _DirectionalLight: 1 - - _DstBlend: 0 - - _EdgeSmoothingValue: 0.002 - - _EnableEmission: 1 - - _EnableHoverColorOpaqueOverride: 0 - - _EnableHoverColorOverride: 0 - - _EnableNormalMap: 0 - - _EnvironmentColorIntensity: 0.5 - - _EnvironmentColorThreshold: 1.5 - - _EnvironmentColoring: 0 - - _FadeBeginDistance: 0.85 - - _FadeCompleteDistance: 0.5 - - _GlossMapScale: 1 - - _Glossiness: 0.5 - - _GlossyReflections: 1 - - _HoverLight: 0 - - _HoverLightOpaque: 0 - - _InnerGlow: 0 - - _Metallic: 0 - - _Mode: 1 - - _NearPlaneFade: 0 - - _OcclusionStrength: 1 - - _Parallax: 0.02 - - _Reflections: 0 - - _Refraction: 0 - - _RefractiveIndex: 1.1 - - _RenderQueueOverride: -1 - - _RimLight: 0 - - _RimPower: 0.25 - - _RoundCornerMargin: 0 - - _RoundCornerRadius: 0.25 - - _RoundCorners: 0 - - _Smoothness: 0.5 - - _SmoothnessTextureChannel: 0 - - _SpecularHighlights: 1 - - _SrcBlend: 1 - - _UVSec: 0 - - _UseColor: 1 - - _UseMainTex: 1 - - _ZTest: 4 - - _ZWrite: 1 - m_Colors: - - _ClipPlane: {r: 0, g: 1, b: 0, a: 0} + m_Name: UIButtonSquareIcon + serializedVersion: 9 + m_SubMeshes: + - serializedVersion: 2 + firstByte: 0 + indexCount: 6 + topology: 0 + baseVertex: 0 + firstVertex: 0 + vertexCount: 4 + localAABB: + m_Center: {x: 0, y: 0, z: 0} + m_Extent: {x: 0.02, y: 0.02, z: 0} + m_Shapes: + vertices: [] + shapes: [] + channels: [] + fullWeights: [] + m_BindPose: [] + m_BoneNameHashes: + m_RootBoneNameHash: 0 + m_MeshCompression: 0 + m_IsReadable: 1 + m_KeepVertices: 1 + m_KeepIndices: 1 + m_IndexFormat: 0 + m_IndexBuffer: 000001000200000002000300 + m_VertexData: + serializedVersion: 2 + m_VertexCount: 4 + m_Channels: + - stream: 0 + offset: 0 + format: 0 + dimension: 3 + - stream: 0 + offset: 12 + format: 0 + dimension: 3 + - stream: 0 + offset: 24 + format: 0 + dimension: 4 + - stream: 0 + offset: 0 + format: 0 + dimension: 0 + - stream: 0 + offset: 40 + format: 0 + dimension: 2 + - stream: 0 + offset: 0 + format: 0 + dimension: 0 + - stream: 0 + offset: 0 + format: 0 + dimension: 0 + - stream: 0 + offset: 0 + format: 0 + dimension: 0 + - stream: 0 + offset: 0 + format: 0 + dimension: 0 + - stream: 0 + offset: 0 + format: 0 + dimension: 0 + - stream: 0 + offset: 0 + format: 0 + dimension: 0 + - stream: 0 + offset: 0 + format: 0 + dimension: 0 + - stream: 0 + offset: 0 + format: 0 + dimension: 0 + - stream: 0 + offset: 0 + format: 0 + dimension: 0 + m_DataSize: 192 + _typelessdata: 0ad7a33c0ad7a33c000000000000000000000000000080bf0000803f0000000000000000000080bf0000803f0000803f0ad7a33c0ad7a3bc000000000000000000000000000080bf0000803f0000000000000000000080bf0000803f000000000ad7a3bc0ad7a3bc000000000000000000000000000080bf0000803f0000000000000000000080bf00000000000000000ad7a3bc0ad7a33c000000000000000000000000000080bf0000803f0000000000000000000080bf000000000000803f + m_CompressedMesh: + m_Vertices: + m_NumItems: 0 + m_Range: 0 + m_Start: 0 + m_Data: + m_BitSize: 0 + m_UV: + m_NumItems: 0 + m_Range: 0 + m_Start: 0 + m_Data: + m_BitSize: 0 + m_Normals: + m_NumItems: 0 + m_Range: 0 + m_Start: 0 + m_Data: + m_BitSize: 0 + m_Tangents: + m_NumItems: 0 + m_Range: 0 + m_Start: 0 + m_Data: + m_BitSize: 0 + m_Weights: + m_NumItems: 0 + m_Data: + m_BitSize: 0 + m_NormalSigns: + m_NumItems: 0 + m_Data: + m_BitSize: 0 + m_TangentSigns: + m_NumItems: 0 + m_Data: + m_BitSize: 0 + m_FloatColors: + m_NumItems: 0 + m_Range: 0 + m_Start: 0 + m_Data: + m_BitSize: 0 + m_BoneIndices: + m_NumItems: 0 + m_Data: + m_BitSize: 0 + m_Triangles: + m_NumItems: 0 + m_Data: + m_BitSize: 0 + m_UVInfo: 0 + m_LocalAABB: + m_Center: {x: 0, y: 0, z: 0} + m_Extent: {x: 0.02, y: 0.02, z: 0} + m_MeshUsageFlags: 0 + m_BakedConvexCollisionMesh: + m_BakedTriangleCollisionMesh: + m_MeshMetrics[0]: 1 + m_MeshMetrics[1]: 1 + m_MeshOptimized: 1 + m_StreamData: + offset: 0 + size: 0 + path: +--- !u!23 &280568827 stripped +MeshRenderer: + m_CorrespondingSourceObject: {fileID: 23328387927548302, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 3} + m_PrefabInstance: {fileID: 1473195019} + m_PrefabAsset: {fileID: 0} +--- !u!21 &321005138 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: ButtonIconMaterial + m_Shader: {fileID: 4800000, guid: d45c0efca53019e43891b0f610f8146e, type: 3} + m_ShaderKeywords: _ALPHATEST_ON _BORDER_LIGHT_USES_HOVER_COLOR _DIRECTIONAL_LIGHT + _EMISSION _SPECULAR_HIGHLIGHTS _USECOLOR_ON _USEMAINTEX_ON + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: 2450 + stringTagMap: + RenderType: TransparentCutout + disabledShaderPasses: [] + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _BumpMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailAlbedoMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 2800000, guid: 46b469b54072d0e45a67f10f3fcdced3, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MetallicGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _NormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OcclusionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ParallaxMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Floats: + - _AlbedoAlphaMode: 0 + - _BlendOp: 0 + - _BorderLight: 0 + - _BorderLightOpaque: 0 + - _BorderLightUsesHoverColor: 1 + - _BorderMinValue: 0.1 + - _BorderWidth: 0.1 + - _BumpScale: 1 + - _ClippingPlane: 0 + - _ClippingPlaneBorder: 0 + - _ClippingPlaneBorderWidth: 0.025 + - _ColorWriteMask: 15 + - _Cull: 2 + - _CullMode: 2 + - _CustomMode: 1 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DirectionalLight: 1 + - _DstBlend: 0 + - _EdgeSmoothingValue: 0.002 + - _EnableEmission: 1 + - _EnableHoverColorOpaqueOverride: 0 + - _EnableHoverColorOverride: 0 + - _EnableNormalMap: 0 + - _EnvironmentColorIntensity: 0.5 + - _EnvironmentColorThreshold: 1.5 + - _EnvironmentColoring: 0 + - _FadeBeginDistance: 0.85 + - _FadeCompleteDistance: 0.5 + - _GlossMapScale: 1 + - _Glossiness: 0.5 + - _GlossyReflections: 1 + - _HoverLight: 0 + - _HoverLightOpaque: 0 + - _InnerGlow: 0 + - _Metallic: 0 + - _Mode: 1 + - _NearPlaneFade: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _Reflections: 0 + - _Refraction: 0 + - _RefractiveIndex: 1.1 + - _RenderQueueOverride: -1 + - _RimLight: 0 + - _RimPower: 0.25 + - _RoundCornerMargin: 0 + - _RoundCornerRadius: 0.25 + - _RoundCorners: 0 + - _Smoothness: 0.5 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _UVSec: 0 + - _UseColor: 1 + - _UseMainTex: 1 + - _ZTest: 4 + - _ZWrite: 1 + m_Colors: + - _ClipPlane: {r: 0, g: 1, b: 0, a: 0} - _ClippingPlaneBorderColor: {r: 1, g: 0.2, b: 0, a: 1} - _Color: {r: 1, g: 1, b: 1, a: 1} - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} @@ -1517,7 +1544,7 @@ PrefabInstance: type: 3} propertyPath: m_Materials.Array.data[0] value: - objectReference: {fileID: 1370693963} + objectReference: {fileID: 1172635421} - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} propertyPath: m_LocalPosition.x value: -0.000389 @@ -1593,179 +1620,19 @@ PrefabInstance: - target: {fileID: 114759408391228376, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} propertyPath: TargetTransform - value: - objectReference: {fileID: 0} - - target: {fileID: 114759408391228376, guid: 40da8a1b3b26ba743b892d890b95a9f9, - type: 3} - propertyPath: Renderer - value: - objectReference: {fileID: 0} - - target: {fileID: 114731001419964972, guid: 40da8a1b3b26ba743b892d890b95a9f9, - type: 3} - propertyPath: Profile - value: - objectReference: {fileID: 11400000, guid: f9af5d824507da24b8bbd97f4948aec7, - type: 2} - - target: {fileID: 114540301864412650, guid: 40da8a1b3b26ba743b892d890b95a9f9, - type: 3} - propertyPath: iconName - value: - objectReference: {fileID: 0} - - target: {fileID: 114540301864412650, guid: 40da8a1b3b26ba743b892d890b95a9f9, - type: 3} - propertyPath: OverrideIcon - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 114540301864412650, guid: 40da8a1b3b26ba743b892d890b95a9f9, - type: 3} - propertyPath: iconOverride - value: - objectReference: {fileID: 2800000, guid: 4541a3524a357ee429db7ddd1d0079c7, type: 3} - - target: {fileID: 114540301864412650, guid: 40da8a1b3b26ba743b892d890b95a9f9, - type: 3} - propertyPath: Profile - value: - objectReference: {fileID: 11400000, guid: a05b72560895bf146a8fcc7cdc391aae, - type: 2} - - target: {fileID: 114540301864412650, guid: 40da8a1b3b26ba743b892d890b95a9f9, - type: 3} - propertyPath: targetIconRenderer - value: - objectReference: {fileID: 1836265064} - - target: {fileID: 114284851947377390, guid: 40da8a1b3b26ba743b892d890b95a9f9, - type: 3} - propertyPath: Profile - value: - objectReference: {fileID: 11400000, guid: 470603dbc72fbc14f8c1b69d314faf75, - type: 2} - - target: {fileID: 114284851947377390, guid: 40da8a1b3b26ba743b892d890b95a9f9, - type: 3} - propertyPath: TextMesh - value: - objectReference: {fileID: 351796315} - - target: {fileID: 114284851947377390, guid: 40da8a1b3b26ba743b892d890b95a9f9, - type: 3} - propertyPath: Anchor - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 114284851947377390, guid: 40da8a1b3b26ba743b892d890b95a9f9, - type: 3} - propertyPath: OverrideOffset - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4437881344481686, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} - propertyPath: m_LocalPosition.y - value: -0.035 - objectReference: {fileID: 0} - - target: {fileID: 4437881344481686, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} - propertyPath: m_LocalPosition.z - value: -0.0075 - objectReference: {fileID: 0} - - target: {fileID: 102845526646414632, guid: 40da8a1b3b26ba743b892d890b95a9f9, - type: 3} - propertyPath: m_Text - value: REWIND - objectReference: {fileID: 0} - - target: {fileID: 33852099665510318, guid: 40da8a1b3b26ba743b892d890b95a9f9, - type: 3} - propertyPath: m_Mesh - value: - objectReference: {fileID: 4300010, guid: c68a88ae5c5b91f41b94c83aa4c4196e, type: 3} - m_RemovedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} ---- !u!4 &351796314 stripped -Transform: - m_CorrespondingSourceObject: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, - type: 3} - m_PrefabInstance: {fileID: 351796313} - m_PrefabAsset: {fileID: 0} ---- !u!102 &351796315 stripped -TextMesh: - m_CorrespondingSourceObject: {fileID: 102845526646414632, guid: 40da8a1b3b26ba743b892d890b95a9f9, - type: 3} - m_PrefabInstance: {fileID: 351796313} - m_PrefabAsset: {fileID: 0} ---- !u!1001 &414051093 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - m_TransformParent: {fileID: 2092623790} - m_Modifications: - - target: {fileID: 1210820392543280, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} - propertyPath: m_Name - value: Add10 - objectReference: {fileID: 0} - - target: {fileID: 1210820392543280, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} - propertyPath: m_IsActive - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 23328387927548302, guid: 40da8a1b3b26ba743b892d890b95a9f9, - type: 3} - propertyPath: m_Enabled - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 23328387927548302, guid: 40da8a1b3b26ba743b892d890b95a9f9, - type: 3} - propertyPath: m_Materials.Array.data[0] - value: - objectReference: {fileID: 2100000, guid: 4f37668d794e3694c9ee36b62447d99b, type: 2} - - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} - propertyPath: m_LocalPosition.x - value: 0.0040705926 - objectReference: {fileID: 0} - - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} - propertyPath: m_LocalPosition.y - value: 0.000427835 - objectReference: {fileID: 0} - - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} - propertyPath: m_LocalPosition.z - value: -0.00026299848 - objectReference: {fileID: 0} - - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} - propertyPath: m_LocalRotation.x - value: -0.5254827 - objectReference: {fileID: 0} - - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} - propertyPath: m_LocalRotation.y - value: 0.47314683 - objectReference: {fileID: 0} - - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} - propertyPath: m_LocalRotation.z - value: 0.47314683 - objectReference: {fileID: 0} - - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} - propertyPath: m_LocalRotation.w - value: -0.5254827 - objectReference: {fileID: 0} - - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} - propertyPath: m_RootOrder - value: 10 - objectReference: {fileID: 0} - - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 270 - objectReference: {fileID: 0} - - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 90 - objectReference: {fileID: 0} - - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 90 - objectReference: {fileID: 0} - - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} - propertyPath: m_LocalScale.x - value: 0.013000084 - objectReference: {fileID: 0} - - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} - propertyPath: m_LocalScale.y - value: 0.013000037 - objectReference: {fileID: 0} - - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} - propertyPath: m_LocalScale.z - value: 0.0013000079 + value: + objectReference: {fileID: 0} + - target: {fileID: 114759408391228376, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 3} + propertyPath: Renderer + value: objectReference: {fileID: 0} + - target: {fileID: 114731001419964972, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 3} + propertyPath: Profile + value: + objectReference: {fileID: 11400000, guid: f9af5d824507da24b8bbd97f4948aec7, + type: 2} - target: {fileID: 114540301864412650, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} propertyPath: iconName @@ -1780,11 +1647,33 @@ PrefabInstance: type: 3} propertyPath: iconOverride value: - objectReference: {fileID: 2800000, guid: 11a9890d7c0e71b4d8c50a7c629c374a, type: 3} + objectReference: {fileID: 2800000, guid: 4541a3524a357ee429db7ddd1d0079c7, type: 3} - target: {fileID: 114540301864412650, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} - propertyPath: DisableIcon - value: 1 + propertyPath: Profile + value: + objectReference: {fileID: 11400000, guid: a05b72560895bf146a8fcc7cdc391aae, + type: 2} + - target: {fileID: 114540301864412650, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 3} + propertyPath: targetIconRenderer + value: + objectReference: {fileID: 1836265064} + - target: {fileID: 114284851947377390, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 3} + propertyPath: Profile + value: + objectReference: {fileID: 11400000, guid: 470603dbc72fbc14f8c1b69d314faf75, + type: 2} + - target: {fileID: 114284851947377390, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 3} + propertyPath: TextMesh + value: + objectReference: {fileID: 351796315} + - target: {fileID: 114284851947377390, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 3} + propertyPath: Anchor + value: 0 objectReference: {fileID: 0} - target: {fileID: 114284851947377390, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} @@ -1802,13 +1691,8 @@ PrefabInstance: - target: {fileID: 102845526646414632, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} propertyPath: m_Text - value: PLACEHOLDER + value: REWIND objectReference: {fileID: 0} - - target: {fileID: 23637783586042108, guid: 40da8a1b3b26ba743b892d890b95a9f9, - type: 3} - propertyPath: m_Materials.Array.data[0] - value: - objectReference: {fileID: 2100000, guid: 9bf927cb7c9ecc1429bb1b922de4e936, type: 2} - target: {fileID: 33852099665510318, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} propertyPath: m_Mesh @@ -1816,25 +1700,285 @@ PrefabInstance: objectReference: {fileID: 4300010, guid: c68a88ae5c5b91f41b94c83aa4c4196e, type: 3} m_RemovedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} ---- !u!4 &414051094 stripped +--- !u!4 &351796314 stripped Transform: m_CorrespondingSourceObject: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} - m_PrefabInstance: {fileID: 414051093} + m_PrefabInstance: {fileID: 351796313} m_PrefabAsset: {fileID: 0} ---- !u!1 &446691389 stripped -GameObject: - m_CorrespondingSourceObject: {fileID: 1210820392543280, guid: 40da8a1b3b26ba743b892d890b95a9f9, +--- !u!102 &351796315 stripped +TextMesh: + m_CorrespondingSourceObject: {fileID: 102845526646414632, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} - m_PrefabInstance: {fileID: 1305662963} + m_PrefabInstance: {fileID: 351796313} m_PrefabAsset: {fileID: 0} ---- !u!1 &462893078 stripped -GameObject: - m_CorrespondingSourceObject: {fileID: 1210820392543280, guid: 40da8a1b3b26ba743b892d890b95a9f9, - type: 3} - m_PrefabInstance: {fileID: 2072315787} +--- !u!21 &364306120 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} ---- !u!1001 &473538795 + m_Name: ButtonIconMaterial + m_Shader: {fileID: 4800000, guid: d45c0efca53019e43891b0f610f8146e, type: 3} + m_ShaderKeywords: _ALPHATEST_ON _BORDER_LIGHT_USES_HOVER_COLOR _DIRECTIONAL_LIGHT + _EMISSION _SPECULAR_HIGHLIGHTS _USECOLOR_ON _USEMAINTEX_ON + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: 2450 + stringTagMap: + RenderType: TransparentCutout + disabledShaderPasses: [] + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _BumpMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailAlbedoMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 2800000, guid: f1ded036bb8ebaa40970e0d680757311, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MetallicGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _NormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OcclusionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ParallaxMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Floats: + - _AlbedoAlphaMode: 0 + - _BlendOp: 0 + - _BorderLight: 0 + - _BorderLightOpaque: 0 + - _BorderLightUsesHoverColor: 1 + - _BorderMinValue: 0.1 + - _BorderWidth: 0.1 + - _BumpScale: 1 + - _ClippingPlane: 0 + - _ClippingPlaneBorder: 0 + - _ClippingPlaneBorderWidth: 0.025 + - _ColorWriteMask: 15 + - _Cull: 2 + - _CullMode: 2 + - _CustomMode: 1 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DirectionalLight: 1 + - _DstBlend: 0 + - _EdgeSmoothingValue: 0.002 + - _EnableEmission: 1 + - _EnableHoverColorOpaqueOverride: 0 + - _EnableHoverColorOverride: 0 + - _EnableNormalMap: 0 + - _EnvironmentColorIntensity: 0.5 + - _EnvironmentColorThreshold: 1.5 + - _EnvironmentColoring: 0 + - _FadeBeginDistance: 0.85 + - _FadeCompleteDistance: 0.5 + - _GlossMapScale: 1 + - _Glossiness: 0.5 + - _GlossyReflections: 1 + - _HoverLight: 0 + - _HoverLightOpaque: 0 + - _InnerGlow: 0 + - _Metallic: 0 + - _Mode: 1 + - _NearPlaneFade: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _Reflections: 0 + - _Refraction: 0 + - _RefractiveIndex: 1.1 + - _RenderQueueOverride: -1 + - _RimLight: 0 + - _RimPower: 0.25 + - _RoundCornerMargin: 0 + - _RoundCornerRadius: 0.25 + - _RoundCorners: 0 + - _Smoothness: 0.5 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _UVSec: 0 + - _UseColor: 1 + - _UseMainTex: 1 + - _ZTest: 4 + - _ZWrite: 1 + m_Colors: + - _ClipPlane: {r: 0, g: 1, b: 0, a: 0} + - _ClippingPlaneBorderColor: {r: 1, g: 0.2, b: 0, a: 1} + - _Color: {r: 1, g: 1, b: 1, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} + - _EmissiveColor: {r: 1, g: 1, b: 1, a: 1} + - _EnvironmentColorX: {r: 1, g: 0, b: 0, a: 1} + - _EnvironmentColorY: {r: 0, g: 1, b: 0, a: 1} + - _EnvironmentColorZ: {r: 0, g: 0, b: 1, a: 1} + - _HoverColorOpaqueOverride: {r: 1, g: 1, b: 1, a: 1} + - _HoverColorOverride: {r: 1, g: 1, b: 1, a: 1} + - _InnerGlowColor: {r: 1, g: 1, b: 1, a: 0.75} + - _RimColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} +--- !u!21 &412367383 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: ButtonIconMaterial + m_Shader: {fileID: 4800000, guid: d45c0efca53019e43891b0f610f8146e, type: 3} + m_ShaderKeywords: _ALPHATEST_ON _BORDER_LIGHT_USES_HOVER_COLOR _DIRECTIONAL_LIGHT + _EMISSION _SPECULAR_HIGHLIGHTS _USECOLOR_ON _USEMAINTEX_ON + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: 2450 + stringTagMap: + RenderType: TransparentCutout + disabledShaderPasses: [] + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _BumpMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailAlbedoMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 2800000, guid: 9ead6499d5f9021448e6dea4fcc6abe8, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MetallicGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _NormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OcclusionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ParallaxMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Floats: + - _AlbedoAlphaMode: 0 + - _BlendOp: 0 + - _BorderLight: 0 + - _BorderLightOpaque: 0 + - _BorderLightUsesHoverColor: 1 + - _BorderMinValue: 0.1 + - _BorderWidth: 0.1 + - _BumpScale: 1 + - _ClippingPlane: 0 + - _ClippingPlaneBorder: 0 + - _ClippingPlaneBorderWidth: 0.025 + - _ColorWriteMask: 15 + - _Cull: 2 + - _CullMode: 2 + - _CustomMode: 1 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DirectionalLight: 1 + - _DstBlend: 0 + - _EdgeSmoothingValue: 0.002 + - _EnableEmission: 1 + - _EnableHoverColorOpaqueOverride: 0 + - _EnableHoverColorOverride: 0 + - _EnableNormalMap: 0 + - _EnvironmentColorIntensity: 0.5 + - _EnvironmentColorThreshold: 1.5 + - _EnvironmentColoring: 0 + - _FadeBeginDistance: 0.85 + - _FadeCompleteDistance: 0.5 + - _GlossMapScale: 1 + - _Glossiness: 0.5 + - _GlossyReflections: 1 + - _HoverLight: 0 + - _HoverLightOpaque: 0 + - _InnerGlow: 0 + - _Metallic: 0 + - _Mode: 1 + - _NearPlaneFade: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _Reflections: 0 + - _Refraction: 0 + - _RefractiveIndex: 1.1 + - _RenderQueueOverride: -1 + - _RimLight: 0 + - _RimPower: 0.25 + - _RoundCornerMargin: 0 + - _RoundCornerRadius: 0.25 + - _RoundCorners: 0 + - _Smoothness: 0.5 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _UVSec: 0 + - _UseColor: 1 + - _UseMainTex: 1 + - _ZTest: 4 + - _ZWrite: 1 + m_Colors: + - _ClipPlane: {r: 0, g: 1, b: 0, a: 0} + - _ClippingPlaneBorderColor: {r: 1, g: 0.2, b: 0, a: 1} + - _Color: {r: 1, g: 1, b: 1, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} + - _EmissiveColor: {r: 1, g: 1, b: 1, a: 1} + - _EnvironmentColorX: {r: 1, g: 0, b: 0, a: 1} + - _EnvironmentColorY: {r: 0, g: 1, b: 0, a: 1} + - _EnvironmentColorZ: {r: 0, g: 0, b: 1, a: 1} + - _HoverColorOpaqueOverride: {r: 1, g: 1, b: 1, a: 1} + - _HoverColorOverride: {r: 1, g: 1, b: 1, a: 1} + - _InnerGlowColor: {r: 1, g: 1, b: 1, a: 0.75} + - _RimColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} +--- !u!1001 &414051093 PrefabInstance: m_ObjectHideFlags: 0 serializedVersion: 2 @@ -1843,7 +1987,7 @@ PrefabInstance: m_Modifications: - target: {fileID: 1210820392543280, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} propertyPath: m_Name - value: Add12 + value: Add10 objectReference: {fileID: 0} - target: {fileID: 1210820392543280, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} propertyPath: m_IsActive @@ -1861,35 +2005,35 @@ PrefabInstance: objectReference: {fileID: 2100000, guid: 4f37668d794e3694c9ee36b62447d99b, type: 2} - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} propertyPath: m_LocalPosition.x - value: 0.0030416977 + value: 0.0040705926 objectReference: {fileID: 0} - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} propertyPath: m_LocalPosition.y - value: -0.0027387526 + value: 0.000427835 objectReference: {fileID: 0} - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} propertyPath: m_LocalPosition.z - value: -0.00026299714 + value: -0.00026299848 objectReference: {fileID: 0} - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} propertyPath: m_LocalRotation.x - value: -0.2876061 + value: -0.5254827 objectReference: {fileID: 0} - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} propertyPath: m_LocalRotation.y - value: 0.64597434 + value: 0.47314683 objectReference: {fileID: 0} - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} propertyPath: m_LocalRotation.z - value: 0.64597434 + value: 0.47314683 objectReference: {fileID: 0} - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} propertyPath: m_LocalRotation.w - value: -0.2876061 + value: -0.5254827 objectReference: {fileID: 0} - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} propertyPath: m_RootOrder - value: 12 + value: 10 objectReference: {fileID: 0} - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} propertyPath: m_LocalEulerAnglesHint.x @@ -1905,15 +2049,15 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} propertyPath: m_LocalScale.x - value: 0.013000123 + value: 0.013000084 objectReference: {fileID: 0} - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} propertyPath: m_LocalScale.y - value: 0.013000056 + value: 0.013000037 objectReference: {fileID: 0} - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} propertyPath: m_LocalScale.z - value: 0.0013000101 + value: 0.0013000079 objectReference: {fileID: 0} - target: {fileID: 114540301864412650, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} @@ -1965,19 +2109,13 @@ PrefabInstance: objectReference: {fileID: 4300010, guid: c68a88ae5c5b91f41b94c83aa4c4196e, type: 3} m_RemovedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} ---- !u!4 &473538796 stripped +--- !u!4 &414051094 stripped Transform: m_CorrespondingSourceObject: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} - m_PrefabInstance: {fileID: 473538795} - m_PrefabAsset: {fileID: 0} ---- !u!4 &496165495 stripped -Transform: - m_CorrespondingSourceObject: {fileID: 400010, guid: 6bbdc1c3652578442a98643292700bc8, - type: 3} - m_PrefabInstance: {fileID: 1990947139} + m_PrefabInstance: {fileID: 414051093} m_PrefabAsset: {fileID: 0} ---- !u!21 &501963340 +--- !u!21 &429214833 Material: serializedVersion: 6 m_ObjectHideFlags: 0 @@ -2019,7 +2157,7 @@ Material: m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MainTex: - m_Texture: {fileID: 2800000, guid: c76832cf7bfa3c343a7c91ad95abbfde, type: 3} + m_Texture: {fileID: 2800000, guid: c95398d0f18f1da41a14c8515dd4c05c, type: 3} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MetallicGlossMap: @@ -2110,6 +2248,161 @@ Material: - _HoverColorOverride: {r: 1, g: 1, b: 1, a: 1} - _InnerGlowColor: {r: 1, g: 1, b: 1, a: 0.75} - _RimColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} +--- !u!1 &446691389 stripped +GameObject: + m_CorrespondingSourceObject: {fileID: 1210820392543280, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 3} + m_PrefabInstance: {fileID: 1305662963} + m_PrefabAsset: {fileID: 0} +--- !u!1 &462893078 stripped +GameObject: + m_CorrespondingSourceObject: {fileID: 1210820392543280, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 3} + m_PrefabInstance: {fileID: 2072315787} + m_PrefabAsset: {fileID: 0} +--- !u!1001 &473538795 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 2092623790} + m_Modifications: + - target: {fileID: 1210820392543280, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} + propertyPath: m_Name + value: Add12 + objectReference: {fileID: 0} + - target: {fileID: 1210820392543280, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} + propertyPath: m_IsActive + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 23328387927548302, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 3} + propertyPath: m_Enabled + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 23328387927548302, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 3} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: 4f37668d794e3694c9ee36b62447d99b, type: 2} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} + propertyPath: m_LocalPosition.x + value: 0.0030416977 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} + propertyPath: m_LocalPosition.y + value: -0.0027387526 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} + propertyPath: m_LocalPosition.z + value: -0.00026299714 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} + propertyPath: m_LocalRotation.x + value: -0.2876061 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} + propertyPath: m_LocalRotation.y + value: 0.64597434 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} + propertyPath: m_LocalRotation.z + value: 0.64597434 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} + propertyPath: m_LocalRotation.w + value: -0.2876061 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} + propertyPath: m_RootOrder + value: 12 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 270 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 90 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 90 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} + propertyPath: m_LocalScale.x + value: 0.013000123 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} + propertyPath: m_LocalScale.y + value: 0.013000056 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} + propertyPath: m_LocalScale.z + value: 0.0013000101 + objectReference: {fileID: 0} + - target: {fileID: 114540301864412650, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 3} + propertyPath: iconName + value: + objectReference: {fileID: 0} + - target: {fileID: 114540301864412650, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 3} + propertyPath: OverrideIcon + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 114540301864412650, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 3} + propertyPath: iconOverride + value: + objectReference: {fileID: 2800000, guid: 11a9890d7c0e71b4d8c50a7c629c374a, type: 3} + - target: {fileID: 114540301864412650, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 3} + propertyPath: DisableIcon + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 114284851947377390, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 3} + propertyPath: OverrideOffset + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4437881344481686, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} + propertyPath: m_LocalPosition.y + value: -0.035 + objectReference: {fileID: 0} + - target: {fileID: 4437881344481686, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} + propertyPath: m_LocalPosition.z + value: -0.0075 + objectReference: {fileID: 0} + - target: {fileID: 102845526646414632, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 3} + propertyPath: m_Text + value: PLACEHOLDER + objectReference: {fileID: 0} + - target: {fileID: 23637783586042108, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 3} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: 9bf927cb7c9ecc1429bb1b922de4e936, type: 2} + - target: {fileID: 33852099665510318, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 3} + propertyPath: m_Mesh + value: + objectReference: {fileID: 4300010, guid: c68a88ae5c5b91f41b94c83aa4c4196e, type: 3} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} +--- !u!4 &473538796 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 3} + m_PrefabInstance: {fileID: 473538795} + m_PrefabAsset: {fileID: 0} +--- !u!4 &496165495 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 400010, guid: 6bbdc1c3652578442a98643292700bc8, + type: 3} + m_PrefabInstance: {fileID: 1990947139} + m_PrefabAsset: {fileID: 0} --- !u!1001 &532485785 PrefabInstance: m_ObjectHideFlags: 0 @@ -2286,255 +2579,45 @@ PrefabInstance: - target: {fileID: 102845526646414632, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} propertyPath: m_Text - value: PLACEHOLDER - objectReference: {fileID: 0} - - target: {fileID: 23637783586042108, guid: 40da8a1b3b26ba743b892d890b95a9f9, - type: 3} - propertyPath: m_Materials.Array.data[0] - value: - objectReference: {fileID: 2100000, guid: 9bf927cb7c9ecc1429bb1b922de4e936, type: 2} - - target: {fileID: 33852099665510318, guid: 40da8a1b3b26ba743b892d890b95a9f9, - type: 3} - propertyPath: m_Mesh - value: - objectReference: {fileID: 4300010, guid: c68a88ae5c5b91f41b94c83aa4c4196e, type: 3} - m_RemovedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} ---- !u!4 &532485786 stripped -Transform: - m_CorrespondingSourceObject: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, - type: 3} - m_PrefabInstance: {fileID: 532485785} - m_PrefabAsset: {fileID: 0} ---- !u!1 &551458818 stripped -GameObject: - m_CorrespondingSourceObject: {fileID: 1210820392543280, guid: 40da8a1b3b26ba743b892d890b95a9f9, - type: 3} - m_PrefabInstance: {fileID: 351796313} - m_PrefabAsset: {fileID: 0} ---- !u!23 &558130191 stripped -MeshRenderer: - m_CorrespondingSourceObject: {fileID: 23328387927548302, guid: 40da8a1b3b26ba743b892d890b95a9f9, - type: 3} - m_PrefabInstance: {fileID: 924730714} - m_PrefabAsset: {fileID: 0} ---- !u!1 &560581237 stripped -GameObject: - m_CorrespondingSourceObject: {fileID: 1210820392543280, guid: 40da8a1b3b26ba743b892d890b95a9f9, - type: 3} - m_PrefabInstance: {fileID: 152204044} - m_PrefabAsset: {fileID: 0} ---- !u!1 &574620284 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 574620285} - - component: {fileID: 574620287} - - component: {fileID: 574620286} - m_Layer: 0 - m_Name: collection (1) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!4 &574620285 -Transform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 574620284} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: -0.0048229} - m_LocalScale: {x: 1, y: 1, z: 1} - m_Children: [] - m_Father: {fileID: 1679582287} - m_RootOrder: 1 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!23 &574620286 -MeshRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 574620284} - m_Enabled: 1 - m_CastShadows: 1 - m_ReceiveShadows: 1 - m_DynamicOccludee: 1 - m_MotionVectors: 1 - m_LightProbeUsage: 1 - m_ReflectionProbeUsage: 1 - m_RenderingLayerMask: 1 - m_RendererPriority: 0 - m_Materials: - - {fileID: 2100000, guid: e813d375ef2dc174ea61be749ceffba3, type: 2} - m_StaticBatchInfo: - firstSubMesh: 0 - subMeshCount: 0 - m_StaticBatchRoot: {fileID: 0} - m_ProbeAnchor: {fileID: 0} - m_LightProbeVolumeOverride: {fileID: 0} - m_ScaleInLightmap: 1 - m_PreserveUVs: 0 - m_IgnoreNormalsForChartDetection: 0 - m_ImportantGI: 0 - m_StitchLightmapSeams: 0 - m_SelectedEditorRenderState: 3 - m_MinimumChartSize: 4 - m_AutoUVMaxDistance: 0.5 - m_AutoUVMaxAngle: 89 - m_LightmapParameters: {fileID: 0} - m_SortingLayerID: 0 - m_SortingLayer: 0 - m_SortingOrder: 0 ---- !u!33 &574620287 -MeshFilter: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 574620284} - m_Mesh: {fileID: 4300006, guid: 6bbdc1c3652578442a98643292700bc8, type: 3} ---- !u!21 &621225514 -Material: - serializedVersion: 6 - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_Name: ButtonIconMaterial - m_Shader: {fileID: 4800000, guid: d45c0efca53019e43891b0f610f8146e, type: 3} - m_ShaderKeywords: _ALPHATEST_ON _BORDER_LIGHT_USES_HOVER_COLOR _DIRECTIONAL_LIGHT - _EMISSION _SPECULAR_HIGHLIGHTS _USECOLOR_ON _USEMAINTEX_ON - m_LightmapFlags: 4 - m_EnableInstancingVariants: 0 - m_DoubleSidedGI: 0 - m_CustomRenderQueue: 2450 - stringTagMap: - RenderType: TransparentCutout - disabledShaderPasses: [] - m_SavedProperties: - serializedVersion: 3 - m_TexEnvs: - - _BumpMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _DetailAlbedoMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _DetailMask: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _DetailNormalMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _EmissionMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _MainTex: - m_Texture: {fileID: 2800000, guid: f1ded036bb8ebaa40970e0d680757311, type: 3} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _MetallicGlossMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _NormalMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _OcclusionMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _ParallaxMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - m_Floats: - - _AlbedoAlphaMode: 0 - - _BlendOp: 0 - - _BorderLight: 0 - - _BorderLightOpaque: 0 - - _BorderLightUsesHoverColor: 1 - - _BorderMinValue: 0.1 - - _BorderWidth: 0.1 - - _BumpScale: 1 - - _ClippingPlane: 0 - - _ClippingPlaneBorder: 0 - - _ClippingPlaneBorderWidth: 0.025 - - _ColorWriteMask: 15 - - _Cull: 2 - - _CullMode: 2 - - _CustomMode: 1 - - _Cutoff: 0.5 - - _DetailNormalMapScale: 1 - - _DirectionalLight: 1 - - _DstBlend: 0 - - _EdgeSmoothingValue: 0.002 - - _EnableEmission: 1 - - _EnableHoverColorOpaqueOverride: 0 - - _EnableHoverColorOverride: 0 - - _EnableNormalMap: 0 - - _EnvironmentColorIntensity: 0.5 - - _EnvironmentColorThreshold: 1.5 - - _EnvironmentColoring: 0 - - _FadeBeginDistance: 0.85 - - _FadeCompleteDistance: 0.5 - - _GlossMapScale: 1 - - _Glossiness: 0.5 - - _GlossyReflections: 1 - - _HoverLight: 0 - - _HoverLightOpaque: 0 - - _InnerGlow: 0 - - _Metallic: 0 - - _Mode: 1 - - _NearPlaneFade: 0 - - _OcclusionStrength: 1 - - _Parallax: 0.02 - - _Reflections: 0 - - _Refraction: 0 - - _RefractiveIndex: 1.1 - - _RenderQueueOverride: -1 - - _RimLight: 0 - - _RimPower: 0.25 - - _RoundCornerMargin: 0 - - _RoundCornerRadius: 0.25 - - _RoundCorners: 0 - - _Smoothness: 0.5 - - _SmoothnessTextureChannel: 0 - - _SpecularHighlights: 1 - - _SrcBlend: 1 - - _UVSec: 0 - - _UseColor: 1 - - _UseMainTex: 1 - - _ZTest: 4 - - _ZWrite: 1 - m_Colors: - - _ClipPlane: {r: 0, g: 1, b: 0, a: 0} - - _ClippingPlaneBorderColor: {r: 1, g: 0.2, b: 0, a: 1} - - _Color: {r: 1, g: 1, b: 1, a: 1} - - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} - - _EmissiveColor: {r: 1, g: 1, b: 1, a: 1} - - _EnvironmentColorX: {r: 1, g: 0, b: 0, a: 1} - - _EnvironmentColorY: {r: 0, g: 1, b: 0, a: 1} - - _EnvironmentColorZ: {r: 0, g: 0, b: 1, a: 1} - - _HoverColorOpaqueOverride: {r: 1, g: 1, b: 1, a: 1} - - _HoverColorOverride: {r: 1, g: 1, b: 1, a: 1} - - _InnerGlowColor: {r: 1, g: 1, b: 1, a: 0.75} - - _RimColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} ---- !u!1 &658498950 + value: PLACEHOLDER + objectReference: {fileID: 0} + - target: {fileID: 23637783586042108, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 3} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: 9bf927cb7c9ecc1429bb1b922de4e936, type: 2} + - target: {fileID: 33852099665510318, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 3} + propertyPath: m_Mesh + value: + objectReference: {fileID: 4300010, guid: c68a88ae5c5b91f41b94c83aa4c4196e, type: 3} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} +--- !u!4 &532485786 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 3} + m_PrefabInstance: {fileID: 532485785} + m_PrefabAsset: {fileID: 0} +--- !u!1 &551458818 stripped +GameObject: + m_CorrespondingSourceObject: {fileID: 1210820392543280, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 3} + m_PrefabInstance: {fileID: 351796313} + m_PrefabAsset: {fileID: 0} +--- !u!23 &558130191 stripped +MeshRenderer: + m_CorrespondingSourceObject: {fileID: 23328387927548302, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 3} + m_PrefabInstance: {fileID: 924730714} + m_PrefabAsset: {fileID: 0} +--- !u!1 &560581237 stripped +GameObject: + m_CorrespondingSourceObject: {fileID: 1210820392543280, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 3} + m_PrefabInstance: {fileID: 152204044} + m_PrefabAsset: {fileID: 0} +--- !u!1 &574620284 GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} @@ -2542,175 +2625,119 @@ GameObject: m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - - component: {fileID: 658498951} - - component: {fileID: 658498952} + - component: {fileID: 574620285} + - component: {fileID: 574620287} + - component: {fileID: 574620286} m_Layer: 0 - m_Name: modelClipPlane + m_Name: collection (1) m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!4 &658498951 +--- !u!4 &574620285 Transform: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 658498950} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0.374, z: 0} + m_GameObject: {fileID: 574620284} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: -0.0048229} m_LocalScale: {x: 1, y: 1, z: 1} m_Children: [] - m_Father: {fileID: 2089537076} + m_Father: {fileID: 1679582287} m_RootOrder: 1 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!114 &658498952 -MonoBehaviour: +--- !u!23 &574620286 +MeshRenderer: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 658498950} + m_GameObject: {fileID: 574620284} m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: c56e3b9b1a151fa4093a0dd33e49320a, type: 3} - m_Name: - m_EditorClassIdentifier: - mat: {fileID: 2100000, guid: 420fd774427f87c40a5935d2758eef4b, type: 2} ---- !u!21 &662081498 -Material: + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: e813d375ef2dc174ea61be749ceffba3, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 +--- !u!33 &574620287 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 574620284} + m_Mesh: {fileID: 4300006, guid: 6bbdc1c3652578442a98643292700bc8, type: 3} +--- !u!1 &658498950 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} serializedVersion: 6 + m_Component: + - component: {fileID: 658498951} + - component: {fileID: 658498952} + m_Layer: 0 + m_Name: modelClipPlane + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &658498951 +Transform: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_Name: ButtonIconMaterial - m_Shader: {fileID: 4800000, guid: d45c0efca53019e43891b0f610f8146e, type: 3} - m_ShaderKeywords: _ALPHATEST_ON _BORDER_LIGHT_USES_HOVER_COLOR _DIRECTIONAL_LIGHT - _EMISSION _SPECULAR_HIGHLIGHTS _USECOLOR_ON _USEMAINTEX_ON - m_LightmapFlags: 4 - m_EnableInstancingVariants: 0 - m_DoubleSidedGI: 0 - m_CustomRenderQueue: 2450 - stringTagMap: - RenderType: TransparentCutout - disabledShaderPasses: [] - m_SavedProperties: - serializedVersion: 3 - m_TexEnvs: - - _BumpMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _DetailAlbedoMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _DetailMask: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _DetailNormalMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _EmissionMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _MainTex: - m_Texture: {fileID: 2800000, guid: c95398d0f18f1da41a14c8515dd4c05c, type: 3} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _MetallicGlossMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _NormalMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _OcclusionMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _ParallaxMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - m_Floats: - - _AlbedoAlphaMode: 0 - - _BlendOp: 0 - - _BorderLight: 0 - - _BorderLightOpaque: 0 - - _BorderLightUsesHoverColor: 1 - - _BorderMinValue: 0.1 - - _BorderWidth: 0.1 - - _BumpScale: 1 - - _ClippingPlane: 0 - - _ClippingPlaneBorder: 0 - - _ClippingPlaneBorderWidth: 0.025 - - _ColorWriteMask: 15 - - _Cull: 2 - - _CullMode: 2 - - _CustomMode: 1 - - _Cutoff: 0.5 - - _DetailNormalMapScale: 1 - - _DirectionalLight: 1 - - _DstBlend: 0 - - _EdgeSmoothingValue: 0.002 - - _EnableEmission: 1 - - _EnableHoverColorOpaqueOverride: 0 - - _EnableHoverColorOverride: 0 - - _EnableNormalMap: 0 - - _EnvironmentColorIntensity: 0.5 - - _EnvironmentColorThreshold: 1.5 - - _EnvironmentColoring: 0 - - _FadeBeginDistance: 0.85 - - _FadeCompleteDistance: 0.5 - - _GlossMapScale: 1 - - _Glossiness: 0.5 - - _GlossyReflections: 1 - - _HoverLight: 0 - - _HoverLightOpaque: 0 - - _InnerGlow: 0 - - _Metallic: 0 - - _Mode: 1 - - _NearPlaneFade: 0 - - _OcclusionStrength: 1 - - _Parallax: 0.02 - - _Reflections: 0 - - _Refraction: 0 - - _RefractiveIndex: 1.1 - - _RenderQueueOverride: -1 - - _RimLight: 0 - - _RimPower: 0.25 - - _RoundCornerMargin: 0 - - _RoundCornerRadius: 0.25 - - _RoundCorners: 0 - - _Smoothness: 0.5 - - _SmoothnessTextureChannel: 0 - - _SpecularHighlights: 1 - - _SrcBlend: 1 - - _UVSec: 0 - - _UseColor: 1 - - _UseMainTex: 1 - - _ZTest: 4 - - _ZWrite: 1 - m_Colors: - - _ClipPlane: {r: 0, g: 1, b: 0, a: 0} - - _ClippingPlaneBorderColor: {r: 1, g: 0.2, b: 0, a: 1} - - _Color: {r: 1, g: 1, b: 1, a: 1} - - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} - - _EmissiveColor: {r: 1, g: 1, b: 1, a: 1} - - _EnvironmentColorX: {r: 1, g: 0, b: 0, a: 1} - - _EnvironmentColorY: {r: 0, g: 1, b: 0, a: 1} - - _EnvironmentColorZ: {r: 0, g: 0, b: 1, a: 1} - - _HoverColorOpaqueOverride: {r: 1, g: 1, b: 1, a: 1} - - _HoverColorOverride: {r: 1, g: 1, b: 1, a: 1} - - _InnerGlowColor: {r: 1, g: 1, b: 1, a: 0.75} - - _RimColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} + m_GameObject: {fileID: 658498950} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0.374, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 2089537076} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &658498952 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 658498950} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c56e3b9b1a151fa4093a0dd33e49320a, type: 3} + m_Name: + m_EditorClassIdentifier: + mat: {fileID: 2100000, guid: 420fd774427f87c40a5935d2758eef4b, type: 2} --- !u!102 &717888258 stripped TextMesh: m_CorrespondingSourceObject: {fileID: 102845526646414632, guid: 40da8a1b3b26ba743b892d890b95a9f9, @@ -2786,7 +2813,7 @@ PrefabInstance: type: 3} propertyPath: m_Materials.Array.data[0] value: - objectReference: {fileID: 329308277} + objectReference: {fileID: 1334574677} - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} propertyPath: m_LocalPosition.x value: -0.001169 @@ -3444,249 +3471,116 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 114540301864412650, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} - propertyPath: DisableIcon - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 114540301864412650, guid: 40da8a1b3b26ba743b892d890b95a9f9, - type: 3} - propertyPath: Profile - value: - objectReference: {fileID: 11400000, guid: a05b72560895bf146a8fcc7cdc391aae, - type: 2} - - target: {fileID: 114540301864412650, guid: 40da8a1b3b26ba743b892d890b95a9f9, - type: 3} - propertyPath: targetIconRenderer - value: - objectReference: {fileID: 0} - - target: {fileID: 114284851947377390, guid: 40da8a1b3b26ba743b892d890b95a9f9, - type: 3} - propertyPath: Profile - value: - objectReference: {fileID: 11400000, guid: 470603dbc72fbc14f8c1b69d314faf75, - type: 2} - - target: {fileID: 114284851947377390, guid: 40da8a1b3b26ba743b892d890b95a9f9, - type: 3} - propertyPath: TextMesh - value: - objectReference: {fileID: 930201428} - - target: {fileID: 114284851947377390, guid: 40da8a1b3b26ba743b892d890b95a9f9, - type: 3} - propertyPath: Anchor - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 114284851947377390, guid: 40da8a1b3b26ba743b892d890b95a9f9, - type: 3} - propertyPath: OverrideOffset - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4437881344481686, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} - propertyPath: m_LocalPosition.y - value: -0.035 - objectReference: {fileID: 0} - - target: {fileID: 4437881344481686, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} - propertyPath: m_LocalPosition.z - value: -0.0075 - objectReference: {fileID: 0} - - target: {fileID: 102845526646414632, guid: 40da8a1b3b26ba743b892d890b95a9f9, - type: 3} - propertyPath: m_Text - value: PLACEHOLDER - objectReference: {fileID: 0} - - target: {fileID: 23637783586042108, guid: 40da8a1b3b26ba743b892d890b95a9f9, - type: 3} - propertyPath: m_Materials.Array.data[0] - value: - objectReference: {fileID: 2100000, guid: 9bf927cb7c9ecc1429bb1b922de4e936, type: 2} - - target: {fileID: 33852099665510318, guid: 40da8a1b3b26ba743b892d890b95a9f9, - type: 3} - propertyPath: m_Mesh - value: - objectReference: {fileID: 4300010, guid: c68a88ae5c5b91f41b94c83aa4c4196e, type: 3} - m_RemovedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} ---- !u!4 &930201427 stripped -Transform: - m_CorrespondingSourceObject: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, - type: 3} - m_PrefabInstance: {fileID: 930201426} - m_PrefabAsset: {fileID: 0} ---- !u!102 &930201428 stripped -TextMesh: - m_CorrespondingSourceObject: {fileID: 102845526646414632, guid: 40da8a1b3b26ba743b892d890b95a9f9, - type: 3} - m_PrefabInstance: {fileID: 930201426} - m_PrefabAsset: {fileID: 0} ---- !u!102 &947017138 stripped -TextMesh: - m_CorrespondingSourceObject: {fileID: 102845526646414632, guid: 40da8a1b3b26ba743b892d890b95a9f9, - type: 3} - m_PrefabInstance: {fileID: 532485785} - m_PrefabAsset: {fileID: 0} ---- !u!1 &1013153051 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 1013153052} - m_Layer: 0 - m_Name: SceneContent - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!4 &1013153052 -Transform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1013153051} - 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_Children: - - {fileID: 1565770208} - - {fileID: 2089537076} - m_Father: {fileID: 0} - m_RootOrder: 6 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!21 &1019454717 -Material: - serializedVersion: 6 - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_Name: ButtonIconMaterial - m_Shader: {fileID: 4800000, guid: d45c0efca53019e43891b0f610f8146e, type: 3} - m_ShaderKeywords: _ALPHATEST_ON _BORDER_LIGHT_USES_HOVER_COLOR _DIRECTIONAL_LIGHT - _EMISSION _SPECULAR_HIGHLIGHTS _USECOLOR_ON _USEMAINTEX_ON - m_LightmapFlags: 4 - m_EnableInstancingVariants: 0 - m_DoubleSidedGI: 0 - m_CustomRenderQueue: 2450 - stringTagMap: - RenderType: TransparentCutout - disabledShaderPasses: [] - m_SavedProperties: - serializedVersion: 3 - m_TexEnvs: - - _BumpMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _DetailAlbedoMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _DetailMask: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _DetailNormalMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _EmissionMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _MainTex: - m_Texture: {fileID: 2800000, guid: 2385074f7d28d184798b0a87ebc2623f, type: 3} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _MetallicGlossMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _NormalMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _OcclusionMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _ParallaxMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - m_Floats: - - _AlbedoAlphaMode: 0 - - _BlendOp: 0 - - _BorderLight: 0 - - _BorderLightOpaque: 0 - - _BorderLightUsesHoverColor: 1 - - _BorderMinValue: 0.1 - - _BorderWidth: 0.1 - - _BumpScale: 1 - - _ClippingPlane: 0 - - _ClippingPlaneBorder: 0 - - _ClippingPlaneBorderWidth: 0.025 - - _ColorWriteMask: 15 - - _Cull: 2 - - _CullMode: 2 - - _CustomMode: 1 - - _Cutoff: 0.5 - - _DetailNormalMapScale: 1 - - _DirectionalLight: 1 - - _DstBlend: 0 - - _EdgeSmoothingValue: 0.002 - - _EnableEmission: 1 - - _EnableHoverColorOpaqueOverride: 0 - - _EnableHoverColorOverride: 0 - - _EnableNormalMap: 0 - - _EnvironmentColorIntensity: 0.5 - - _EnvironmentColorThreshold: 1.5 - - _EnvironmentColoring: 0 - - _FadeBeginDistance: 0.85 - - _FadeCompleteDistance: 0.5 - - _GlossMapScale: 1 - - _Glossiness: 0.5 - - _GlossyReflections: 1 - - _HoverLight: 0 - - _HoverLightOpaque: 0 - - _InnerGlow: 0 - - _Metallic: 0 - - _Mode: 1 - - _NearPlaneFade: 0 - - _OcclusionStrength: 1 - - _Parallax: 0.02 - - _Reflections: 0 - - _Refraction: 0 - - _RefractiveIndex: 1.1 - - _RenderQueueOverride: -1 - - _RimLight: 0 - - _RimPower: 0.25 - - _RoundCornerMargin: 0 - - _RoundCornerRadius: 0.25 - - _RoundCorners: 0 - - _Smoothness: 0.5 - - _SmoothnessTextureChannel: 0 - - _SpecularHighlights: 1 - - _SrcBlend: 1 - - _UVSec: 0 - - _UseColor: 1 - - _UseMainTex: 1 - - _ZTest: 4 - - _ZWrite: 1 - m_Colors: - - _ClipPlane: {r: 0, g: 1, b: 0, a: 0} - - _ClippingPlaneBorderColor: {r: 1, g: 0.2, b: 0, a: 1} - - _Color: {r: 1, g: 1, b: 1, a: 1} - - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} - - _EmissiveColor: {r: 1, g: 1, b: 1, a: 1} - - _EnvironmentColorX: {r: 1, g: 0, b: 0, a: 1} - - _EnvironmentColorY: {r: 0, g: 1, b: 0, a: 1} - - _EnvironmentColorZ: {r: 0, g: 0, b: 1, a: 1} - - _HoverColorOpaqueOverride: {r: 1, g: 1, b: 1, a: 1} - - _HoverColorOverride: {r: 1, g: 1, b: 1, a: 1} - - _InnerGlowColor: {r: 1, g: 1, b: 1, a: 0.75} - - _RimColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} + propertyPath: DisableIcon + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 114540301864412650, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 3} + propertyPath: Profile + value: + objectReference: {fileID: 11400000, guid: a05b72560895bf146a8fcc7cdc391aae, + type: 2} + - target: {fileID: 114540301864412650, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 3} + propertyPath: targetIconRenderer + value: + objectReference: {fileID: 0} + - target: {fileID: 114284851947377390, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 3} + propertyPath: Profile + value: + objectReference: {fileID: 11400000, guid: 470603dbc72fbc14f8c1b69d314faf75, + type: 2} + - target: {fileID: 114284851947377390, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 3} + propertyPath: TextMesh + value: + objectReference: {fileID: 930201428} + - target: {fileID: 114284851947377390, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 3} + propertyPath: Anchor + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 114284851947377390, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 3} + propertyPath: OverrideOffset + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4437881344481686, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} + propertyPath: m_LocalPosition.y + value: -0.035 + objectReference: {fileID: 0} + - target: {fileID: 4437881344481686, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} + propertyPath: m_LocalPosition.z + value: -0.0075 + objectReference: {fileID: 0} + - target: {fileID: 102845526646414632, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 3} + propertyPath: m_Text + value: PLACEHOLDER + objectReference: {fileID: 0} + - target: {fileID: 23637783586042108, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 3} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: 9bf927cb7c9ecc1429bb1b922de4e936, type: 2} + - target: {fileID: 33852099665510318, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 3} + propertyPath: m_Mesh + value: + objectReference: {fileID: 4300010, guid: c68a88ae5c5b91f41b94c83aa4c4196e, type: 3} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} +--- !u!4 &930201427 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 3} + m_PrefabInstance: {fileID: 930201426} + m_PrefabAsset: {fileID: 0} +--- !u!102 &930201428 stripped +TextMesh: + m_CorrespondingSourceObject: {fileID: 102845526646414632, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 3} + m_PrefabInstance: {fileID: 930201426} + m_PrefabAsset: {fileID: 0} +--- !u!102 &947017138 stripped +TextMesh: + m_CorrespondingSourceObject: {fileID: 102845526646414632, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 3} + m_PrefabInstance: {fileID: 532485785} + m_PrefabAsset: {fileID: 0} +--- !u!1 &1013153051 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1013153052} + m_Layer: 0 + m_Name: SceneContent + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1013153052 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1013153051} + 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_Children: + - {fileID: 1565770208} + - {fileID: 2089537076} + m_Father: {fileID: 0} + m_RootOrder: 6 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &1037644918 stripped GameObject: m_CorrespondingSourceObject: {fileID: 1210820392543280, guid: 40da8a1b3b26ba743b892d890b95a9f9, @@ -3708,7 +3602,6 @@ GameObject: serializedVersion: 6 m_Component: - component: {fileID: 1137098509} - - component: {fileID: 1137098510} m_Layer: 0 m_Name: InstanceParent m_TagString: Untagged @@ -3730,24 +3623,6 @@ Transform: m_Father: {fileID: 2089537076} m_RootOrder: 3 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!114 &1137098510 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1137098508} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 7d5a0a60fbe897549ad0bfe2039f12b6, type: 3} - m_Name: - m_EditorClassIdentifier: - HostTransform: {fileID: 0} - DistanceScale: 2 - RotationMode: 1 - PositionLerpSpeed: 0.2 - RotationLerpSpeed: 0.2 - IsDraggingEnabled: 1 --- !u!1 &1138440814 stripped GameObject: m_CorrespondingSourceObject: {fileID: 1210820392543280, guid: 40da8a1b3b26ba743b892d890b95a9f9, @@ -3926,144 +3801,11 @@ PrefabInstance: m_SourcePrefab: {fileID: 100100000, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} --- !u!4 &1170004914 stripped Transform: - m_CorrespondingSourceObject: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, - type: 3} - m_PrefabInstance: {fileID: 1170004913} - m_PrefabAsset: {fileID: 0} ---- !u!21 &1181238883 -Material: - serializedVersion: 6 - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_Name: ButtonIconMaterial - m_Shader: {fileID: 4800000, guid: d45c0efca53019e43891b0f610f8146e, type: 3} - m_ShaderKeywords: _ALPHATEST_ON _BORDER_LIGHT_USES_HOVER_COLOR _DIRECTIONAL_LIGHT - _EMISSION _SPECULAR_HIGHLIGHTS _USECOLOR_ON _USEMAINTEX_ON - m_LightmapFlags: 4 - m_EnableInstancingVariants: 0 - m_DoubleSidedGI: 0 - m_CustomRenderQueue: 2450 - stringTagMap: - RenderType: TransparentCutout - disabledShaderPasses: [] - m_SavedProperties: - serializedVersion: 3 - m_TexEnvs: - - _BumpMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _DetailAlbedoMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _DetailMask: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _DetailNormalMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _EmissionMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _MainTex: - m_Texture: {fileID: 2800000, guid: 46b469b54072d0e45a67f10f3fcdced3, type: 3} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _MetallicGlossMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _NormalMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _OcclusionMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _ParallaxMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - m_Floats: - - _AlbedoAlphaMode: 0 - - _BlendOp: 0 - - _BorderLight: 0 - - _BorderLightOpaque: 0 - - _BorderLightUsesHoverColor: 1 - - _BorderMinValue: 0.1 - - _BorderWidth: 0.1 - - _BumpScale: 1 - - _ClippingPlane: 0 - - _ClippingPlaneBorder: 0 - - _ClippingPlaneBorderWidth: 0.025 - - _ColorWriteMask: 15 - - _Cull: 2 - - _CullMode: 2 - - _CustomMode: 1 - - _Cutoff: 0.5 - - _DetailNormalMapScale: 1 - - _DirectionalLight: 1 - - _DstBlend: 0 - - _EdgeSmoothingValue: 0.002 - - _EnableEmission: 1 - - _EnableHoverColorOpaqueOverride: 0 - - _EnableHoverColorOverride: 0 - - _EnableNormalMap: 0 - - _EnvironmentColorIntensity: 0.5 - - _EnvironmentColorThreshold: 1.5 - - _EnvironmentColoring: 0 - - _FadeBeginDistance: 0.85 - - _FadeCompleteDistance: 0.5 - - _GlossMapScale: 1 - - _Glossiness: 0.5 - - _GlossyReflections: 1 - - _HoverLight: 0 - - _HoverLightOpaque: 0 - - _InnerGlow: 0 - - _Metallic: 0 - - _Mode: 1 - - _NearPlaneFade: 0 - - _OcclusionStrength: 1 - - _Parallax: 0.02 - - _Reflections: 0 - - _Refraction: 0 - - _RefractiveIndex: 1.1 - - _RenderQueueOverride: -1 - - _RimLight: 0 - - _RimPower: 0.25 - - _RoundCornerMargin: 0 - - _RoundCornerRadius: 0.25 - - _RoundCorners: 0 - - _Smoothness: 0.5 - - _SmoothnessTextureChannel: 0 - - _SpecularHighlights: 1 - - _SrcBlend: 1 - - _UVSec: 0 - - _UseColor: 1 - - _UseMainTex: 1 - - _ZTest: 4 - - _ZWrite: 1 - m_Colors: - - _ClipPlane: {r: 0, g: 1, b: 0, a: 0} - - _ClippingPlaneBorderColor: {r: 1, g: 0.2, b: 0, a: 1} - - _Color: {r: 1, g: 1, b: 1, a: 1} - - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} - - _EmissiveColor: {r: 1, g: 1, b: 1, a: 1} - - _EnvironmentColorX: {r: 1, g: 0, b: 0, a: 1} - - _EnvironmentColorY: {r: 0, g: 1, b: 0, a: 1} - - _EnvironmentColorZ: {r: 0, g: 0, b: 1, a: 1} - - _HoverColorOpaqueOverride: {r: 1, g: 1, b: 1, a: 1} - - _HoverColorOverride: {r: 1, g: 1, b: 1, a: 1} - - _InnerGlowColor: {r: 1, g: 1, b: 1, a: 0.75} - - _RimColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} ---- !u!21 &1255118589 + m_CorrespondingSourceObject: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 3} + m_PrefabInstance: {fileID: 1170004913} + m_PrefabAsset: {fileID: 0} +--- !u!21 &1172635421 Material: serializedVersion: 6 m_ObjectHideFlags: 0 @@ -4105,7 +3847,7 @@ Material: m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MainTex: - m_Texture: {fileID: 2800000, guid: 4b74ed465a6481144a7da8b5e30fa40e, type: 3} + m_Texture: {fileID: 2800000, guid: 4541a3524a357ee429db7ddd1d0079c7, type: 3} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MetallicGlossMap: @@ -4442,13 +4184,273 @@ Transform: type: 3} m_PrefabInstance: {fileID: 1305662963} m_PrefabAsset: {fileID: 0} ---- !u!1 &1346986925 stripped -GameObject: - m_CorrespondingSourceObject: {fileID: 1210820392543280, guid: 40da8a1b3b26ba743b892d890b95a9f9, - type: 3} - m_PrefabInstance: {fileID: 1915360610} +--- !u!21 &1316409248 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: ButtonIconMaterial + m_Shader: {fileID: 4800000, guid: d45c0efca53019e43891b0f610f8146e, type: 3} + m_ShaderKeywords: _ALPHATEST_ON _BORDER_LIGHT_USES_HOVER_COLOR _DIRECTIONAL_LIGHT + _EMISSION _SPECULAR_HIGHLIGHTS _USECOLOR_ON _USEMAINTEX_ON + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: 2450 + stringTagMap: + RenderType: TransparentCutout + disabledShaderPasses: [] + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _BumpMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailAlbedoMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 2800000, guid: 4b74ed465a6481144a7da8b5e30fa40e, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MetallicGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _NormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OcclusionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ParallaxMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Floats: + - _AlbedoAlphaMode: 0 + - _BlendOp: 0 + - _BorderLight: 0 + - _BorderLightOpaque: 0 + - _BorderLightUsesHoverColor: 1 + - _BorderMinValue: 0.1 + - _BorderWidth: 0.1 + - _BumpScale: 1 + - _ClippingPlane: 0 + - _ClippingPlaneBorder: 0 + - _ClippingPlaneBorderWidth: 0.025 + - _ColorWriteMask: 15 + - _Cull: 2 + - _CullMode: 2 + - _CustomMode: 1 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DirectionalLight: 1 + - _DstBlend: 0 + - _EdgeSmoothingValue: 0.002 + - _EnableEmission: 1 + - _EnableHoverColorOpaqueOverride: 0 + - _EnableHoverColorOverride: 0 + - _EnableNormalMap: 0 + - _EnvironmentColorIntensity: 0.5 + - _EnvironmentColorThreshold: 1.5 + - _EnvironmentColoring: 0 + - _FadeBeginDistance: 0.85 + - _FadeCompleteDistance: 0.5 + - _GlossMapScale: 1 + - _Glossiness: 0.5 + - _GlossyReflections: 1 + - _HoverLight: 0 + - _HoverLightOpaque: 0 + - _InnerGlow: 0 + - _Metallic: 0 + - _Mode: 1 + - _NearPlaneFade: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _Reflections: 0 + - _Refraction: 0 + - _RefractiveIndex: 1.1 + - _RenderQueueOverride: -1 + - _RimLight: 0 + - _RimPower: 0.25 + - _RoundCornerMargin: 0 + - _RoundCornerRadius: 0.25 + - _RoundCorners: 0 + - _Smoothness: 0.5 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _UVSec: 0 + - _UseColor: 1 + - _UseMainTex: 1 + - _ZTest: 4 + - _ZWrite: 1 + m_Colors: + - _ClipPlane: {r: 0, g: 1, b: 0, a: 0} + - _ClippingPlaneBorderColor: {r: 1, g: 0.2, b: 0, a: 1} + - _Color: {r: 1, g: 1, b: 1, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} + - _EmissiveColor: {r: 1, g: 1, b: 1, a: 1} + - _EnvironmentColorX: {r: 1, g: 0, b: 0, a: 1} + - _EnvironmentColorY: {r: 0, g: 1, b: 0, a: 1} + - _EnvironmentColorZ: {r: 0, g: 0, b: 1, a: 1} + - _HoverColorOpaqueOverride: {r: 1, g: 1, b: 1, a: 1} + - _HoverColorOverride: {r: 1, g: 1, b: 1, a: 1} + - _InnerGlowColor: {r: 1, g: 1, b: 1, a: 0.75} + - _RimColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} +--- !u!21 &1322085186 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} ---- !u!21 &1370693963 + m_Name: ButtonIconMaterial + m_Shader: {fileID: 4800000, guid: d45c0efca53019e43891b0f610f8146e, type: 3} + m_ShaderKeywords: _ALPHATEST_ON _BORDER_LIGHT_USES_HOVER_COLOR _DIRECTIONAL_LIGHT + _EMISSION _SPECULAR_HIGHLIGHTS _USECOLOR_ON _USEMAINTEX_ON + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: 2450 + stringTagMap: + RenderType: TransparentCutout + disabledShaderPasses: [] + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _BumpMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailAlbedoMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 2800000, guid: f1ded036bb8ebaa40970e0d680757311, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MetallicGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _NormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OcclusionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ParallaxMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Floats: + - _AlbedoAlphaMode: 0 + - _BlendOp: 0 + - _BorderLight: 0 + - _BorderLightOpaque: 0 + - _BorderLightUsesHoverColor: 1 + - _BorderMinValue: 0.1 + - _BorderWidth: 0.1 + - _BumpScale: 1 + - _ClippingPlane: 0 + - _ClippingPlaneBorder: 0 + - _ClippingPlaneBorderWidth: 0.025 + - _ColorWriteMask: 15 + - _Cull: 2 + - _CullMode: 2 + - _CustomMode: 1 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DirectionalLight: 1 + - _DstBlend: 0 + - _EdgeSmoothingValue: 0.002 + - _EnableEmission: 1 + - _EnableHoverColorOpaqueOverride: 0 + - _EnableHoverColorOverride: 0 + - _EnableNormalMap: 0 + - _EnvironmentColorIntensity: 0.5 + - _EnvironmentColorThreshold: 1.5 + - _EnvironmentColoring: 0 + - _FadeBeginDistance: 0.85 + - _FadeCompleteDistance: 0.5 + - _GlossMapScale: 1 + - _Glossiness: 0.5 + - _GlossyReflections: 1 + - _HoverLight: 0 + - _HoverLightOpaque: 0 + - _InnerGlow: 0 + - _Metallic: 0 + - _Mode: 1 + - _NearPlaneFade: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _Reflections: 0 + - _Refraction: 0 + - _RefractiveIndex: 1.1 + - _RenderQueueOverride: -1 + - _RimLight: 0 + - _RimPower: 0.25 + - _RoundCornerMargin: 0 + - _RoundCornerRadius: 0.25 + - _RoundCorners: 0 + - _Smoothness: 0.5 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _UVSec: 0 + - _UseColor: 1 + - _UseMainTex: 1 + - _ZTest: 4 + - _ZWrite: 1 + m_Colors: + - _ClipPlane: {r: 0, g: 1, b: 0, a: 0} + - _ClippingPlaneBorderColor: {r: 1, g: 0.2, b: 0, a: 1} + - _Color: {r: 1, g: 1, b: 1, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} + - _EmissiveColor: {r: 1, g: 1, b: 1, a: 1} + - _EnvironmentColorX: {r: 1, g: 0, b: 0, a: 1} + - _EnvironmentColorY: {r: 0, g: 1, b: 0, a: 1} + - _EnvironmentColorZ: {r: 0, g: 0, b: 1, a: 1} + - _HoverColorOpaqueOverride: {r: 1, g: 1, b: 1, a: 1} + - _HoverColorOverride: {r: 1, g: 1, b: 1, a: 1} + - _InnerGlowColor: {r: 1, g: 1, b: 1, a: 0.75} + - _RimColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} +--- !u!21 &1334574677 Material: serializedVersion: 6 m_ObjectHideFlags: 0 @@ -4490,7 +4492,7 @@ Material: m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MainTex: - m_Texture: {fileID: 2800000, guid: 4541a3524a357ee429db7ddd1d0079c7, type: 3} + m_Texture: {fileID: 2800000, guid: e7b83d27ee4fcc24084f74be56883734, type: 3} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MetallicGlossMap: @@ -4581,6 +4583,12 @@ Material: - _HoverColorOverride: {r: 1, g: 1, b: 1, a: 1} - _InnerGlowColor: {r: 1, g: 1, b: 1, a: 0.75} - _RimColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} +--- !u!1 &1346986925 stripped +GameObject: + m_CorrespondingSourceObject: {fileID: 1210820392543280, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 3} + m_PrefabInstance: {fileID: 1915360610} + m_PrefabAsset: {fileID: 0} --- !u!1001 &1375023566 PrefabInstance: m_ObjectHideFlags: 0 @@ -4795,253 +4803,120 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} propertyPath: m_LocalRotation.x - value: -0.67249846 - objectReference: {fileID: 0} - - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} - propertyPath: m_LocalRotation.y - value: 0.21850818 - objectReference: {fileID: 0} - - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} - propertyPath: m_LocalRotation.z - value: 0.21850818 - objectReference: {fileID: 0} - - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} - propertyPath: m_LocalRotation.w - value: -0.67249846 - objectReference: {fileID: 0} - - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} - propertyPath: m_RootOrder - value: 7 - objectReference: {fileID: 0} - - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 270 - objectReference: {fileID: 0} - - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 90 - objectReference: {fileID: 0} - - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 90 - objectReference: {fileID: 0} - - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} - propertyPath: m_LocalScale.x - value: 0.013000112 - objectReference: {fileID: 0} - - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} - propertyPath: m_LocalScale.y - value: 0.013000045 - objectReference: {fileID: 0} - - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} - propertyPath: m_LocalScale.z - value: 0.0013000095 - objectReference: {fileID: 0} - - target: {fileID: 114540301864412650, guid: 40da8a1b3b26ba743b892d890b95a9f9, - type: 3} - propertyPath: iconName - value: - objectReference: {fileID: 0} - - target: {fileID: 114540301864412650, guid: 40da8a1b3b26ba743b892d890b95a9f9, - type: 3} - propertyPath: OverrideIcon - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 114540301864412650, guid: 40da8a1b3b26ba743b892d890b95a9f9, - type: 3} - propertyPath: iconOverride - value: - objectReference: {fileID: 2800000, guid: 11a9890d7c0e71b4d8c50a7c629c374a, type: 3} - - target: {fileID: 114540301864412650, guid: 40da8a1b3b26ba743b892d890b95a9f9, - type: 3} - propertyPath: DisableIcon - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 114284851947377390, guid: 40da8a1b3b26ba743b892d890b95a9f9, - type: 3} - propertyPath: OverrideOffset - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4437881344481686, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} - propertyPath: m_LocalPosition.y - value: -0.035 - objectReference: {fileID: 0} - - target: {fileID: 4437881344481686, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} - propertyPath: m_LocalPosition.z - value: -0.0075 - objectReference: {fileID: 0} - - target: {fileID: 102845526646414632, guid: 40da8a1b3b26ba743b892d890b95a9f9, - type: 3} - propertyPath: m_Text - value: PLACEHOLDER - objectReference: {fileID: 0} - - target: {fileID: 23637783586042108, guid: 40da8a1b3b26ba743b892d890b95a9f9, - type: 3} - propertyPath: m_Materials.Array.data[0] - value: - objectReference: {fileID: 2100000, guid: 9bf927cb7c9ecc1429bb1b922de4e936, type: 2} - - target: {fileID: 33852099665510318, guid: 40da8a1b3b26ba743b892d890b95a9f9, - type: 3} - propertyPath: m_Mesh - value: - objectReference: {fileID: 4300010, guid: c68a88ae5c5b91f41b94c83aa4c4196e, type: 3} - m_RemovedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} ---- !u!4 &1435051000 stripped -Transform: - m_CorrespondingSourceObject: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, - type: 3} - m_PrefabInstance: {fileID: 1435050999} - m_PrefabAsset: {fileID: 0} ---- !u!21 &1444824572 -Material: - serializedVersion: 6 - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_Name: ButtonIconMaterial - m_Shader: {fileID: 4800000, guid: d45c0efca53019e43891b0f610f8146e, type: 3} - m_ShaderKeywords: _ALPHATEST_ON _BORDER_LIGHT_USES_HOVER_COLOR _DIRECTIONAL_LIGHT - _EMISSION _SPECULAR_HIGHLIGHTS _USECOLOR_ON _USEMAINTEX_ON - m_LightmapFlags: 4 - m_EnableInstancingVariants: 0 - m_DoubleSidedGI: 0 - m_CustomRenderQueue: 2450 - stringTagMap: - RenderType: TransparentCutout - disabledShaderPasses: [] - m_SavedProperties: - serializedVersion: 3 - m_TexEnvs: - - _BumpMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _DetailAlbedoMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _DetailMask: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _DetailNormalMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _EmissionMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _MainTex: - m_Texture: {fileID: 2800000, guid: 2385074f7d28d184798b0a87ebc2623f, type: 3} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _MetallicGlossMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _NormalMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _OcclusionMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _ParallaxMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - m_Floats: - - _AlbedoAlphaMode: 0 - - _BlendOp: 0 - - _BorderLight: 0 - - _BorderLightOpaque: 0 - - _BorderLightUsesHoverColor: 1 - - _BorderMinValue: 0.1 - - _BorderWidth: 0.1 - - _BumpScale: 1 - - _ClippingPlane: 0 - - _ClippingPlaneBorder: 0 - - _ClippingPlaneBorderWidth: 0.025 - - _ColorWriteMask: 15 - - _Cull: 2 - - _CullMode: 2 - - _CustomMode: 1 - - _Cutoff: 0.5 - - _DetailNormalMapScale: 1 - - _DirectionalLight: 1 - - _DstBlend: 0 - - _EdgeSmoothingValue: 0.002 - - _EnableEmission: 1 - - _EnableHoverColorOpaqueOverride: 0 - - _EnableHoverColorOverride: 0 - - _EnableNormalMap: 0 - - _EnvironmentColorIntensity: 0.5 - - _EnvironmentColorThreshold: 1.5 - - _EnvironmentColoring: 0 - - _FadeBeginDistance: 0.85 - - _FadeCompleteDistance: 0.5 - - _GlossMapScale: 1 - - _Glossiness: 0.5 - - _GlossyReflections: 1 - - _HoverLight: 0 - - _HoverLightOpaque: 0 - - _InnerGlow: 0 - - _Metallic: 0 - - _Mode: 1 - - _NearPlaneFade: 0 - - _OcclusionStrength: 1 - - _Parallax: 0.02 - - _Reflections: 0 - - _Refraction: 0 - - _RefractiveIndex: 1.1 - - _RenderQueueOverride: -1 - - _RimLight: 0 - - _RimPower: 0.25 - - _RoundCornerMargin: 0 - - _RoundCornerRadius: 0.25 - - _RoundCorners: 0 - - _Smoothness: 0.5 - - _SmoothnessTextureChannel: 0 - - _SpecularHighlights: 1 - - _SrcBlend: 1 - - _UVSec: 0 - - _UseColor: 1 - - _UseMainTex: 1 - - _ZTest: 4 - - _ZWrite: 1 - m_Colors: - - _ClipPlane: {r: 0, g: 1, b: 0, a: 0} - - _ClippingPlaneBorderColor: {r: 1, g: 0.2, b: 0, a: 1} - - _Color: {r: 1, g: 1, b: 1, a: 1} - - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} - - _EmissiveColor: {r: 1, g: 1, b: 1, a: 1} - - _EnvironmentColorX: {r: 1, g: 0, b: 0, a: 1} - - _EnvironmentColorY: {r: 0, g: 1, b: 0, a: 1} - - _EnvironmentColorZ: {r: 0, g: 0, b: 1, a: 1} - - _HoverColorOpaqueOverride: {r: 1, g: 1, b: 1, a: 1} - - _HoverColorOverride: {r: 1, g: 1, b: 1, a: 1} - - _InnerGlowColor: {r: 1, g: 1, b: 1, a: 0.75} - - _RimColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} + value: -0.67249846 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} + propertyPath: m_LocalRotation.y + value: 0.21850818 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} + propertyPath: m_LocalRotation.z + value: 0.21850818 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} + propertyPath: m_LocalRotation.w + value: -0.67249846 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} + propertyPath: m_RootOrder + value: 7 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 270 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 90 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 90 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} + propertyPath: m_LocalScale.x + value: 0.013000112 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} + propertyPath: m_LocalScale.y + value: 0.013000045 + objectReference: {fileID: 0} + - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} + propertyPath: m_LocalScale.z + value: 0.0013000095 + objectReference: {fileID: 0} + - target: {fileID: 114540301864412650, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 3} + propertyPath: iconName + value: + objectReference: {fileID: 0} + - target: {fileID: 114540301864412650, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 3} + propertyPath: OverrideIcon + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 114540301864412650, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 3} + propertyPath: iconOverride + value: + objectReference: {fileID: 2800000, guid: 11a9890d7c0e71b4d8c50a7c629c374a, type: 3} + - target: {fileID: 114540301864412650, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 3} + propertyPath: DisableIcon + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 114284851947377390, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 3} + propertyPath: OverrideOffset + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4437881344481686, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} + propertyPath: m_LocalPosition.y + value: -0.035 + objectReference: {fileID: 0} + - target: {fileID: 4437881344481686, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} + propertyPath: m_LocalPosition.z + value: -0.0075 + objectReference: {fileID: 0} + - target: {fileID: 102845526646414632, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 3} + propertyPath: m_Text + value: PLACEHOLDER + objectReference: {fileID: 0} + - target: {fileID: 23637783586042108, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 3} + propertyPath: m_Materials.Array.data[0] + value: + objectReference: {fileID: 2100000, guid: 9bf927cb7c9ecc1429bb1b922de4e936, type: 2} + - target: {fileID: 33852099665510318, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 3} + propertyPath: m_Mesh + value: + objectReference: {fileID: 4300010, guid: c68a88ae5c5b91f41b94c83aa4c4196e, type: 3} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} +--- !u!4 &1435051000 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 3} + m_PrefabInstance: {fileID: 1435050999} + m_PrefabAsset: {fileID: 0} --- !u!1 &1450804729 stripped GameObject: m_CorrespondingSourceObject: {fileID: 1210820392543280, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} m_PrefabInstance: {fileID: 2111270922} m_PrefabAsset: {fileID: 0} ---- !u!114 &1450804731 stripped +--- !u!114 &1450804735 stripped MonoBehaviour: - m_CorrespondingSourceObject: {fileID: 114284851947377390, guid: 40da8a1b3b26ba743b892d890b95a9f9, + m_CorrespondingSourceObject: {fileID: 114549673379926378, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} m_PrefabInstance: {fileID: 2111270922} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1450804729} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: ffc886b5774e0184990bff0ce51eaf92, type: 3} + m_Script: {fileID: 11500000, guid: e77a98cf320fe9340a55eecfe4567ca4, type: 3} m_Name: m_EditorClassIdentifier: --- !u!1001 &1473195019 @@ -5238,6 +5113,139 @@ TextMesh: type: 3} m_PrefabInstance: {fileID: 1473195019} m_PrefabAsset: {fileID: 0} +--- !u!21 &1478139812 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: ButtonIconMaterial + m_Shader: {fileID: 4800000, guid: d45c0efca53019e43891b0f610f8146e, type: 3} + m_ShaderKeywords: _ALPHATEST_ON _BORDER_LIGHT_USES_HOVER_COLOR _DIRECTIONAL_LIGHT + _EMISSION _SPECULAR_HIGHLIGHTS _USECOLOR_ON _USEMAINTEX_ON + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: 2450 + stringTagMap: + RenderType: TransparentCutout + disabledShaderPasses: [] + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _BumpMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailAlbedoMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 2800000, guid: eb90f2dfbb0beb74caacdb6af2e3c5b2, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MetallicGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _NormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OcclusionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ParallaxMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Floats: + - _AlbedoAlphaMode: 0 + - _BlendOp: 0 + - _BorderLight: 0 + - _BorderLightOpaque: 0 + - _BorderLightUsesHoverColor: 1 + - _BorderMinValue: 0.1 + - _BorderWidth: 0.1 + - _BumpScale: 1 + - _ClippingPlane: 0 + - _ClippingPlaneBorder: 0 + - _ClippingPlaneBorderWidth: 0.025 + - _ColorWriteMask: 15 + - _Cull: 2 + - _CullMode: 2 + - _CustomMode: 1 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DirectionalLight: 1 + - _DstBlend: 0 + - _EdgeSmoothingValue: 0.002 + - _EnableEmission: 1 + - _EnableHoverColorOpaqueOverride: 0 + - _EnableHoverColorOverride: 0 + - _EnableNormalMap: 0 + - _EnvironmentColorIntensity: 0.5 + - _EnvironmentColorThreshold: 1.5 + - _EnvironmentColoring: 0 + - _FadeBeginDistance: 0.85 + - _FadeCompleteDistance: 0.5 + - _GlossMapScale: 1 + - _Glossiness: 0.5 + - _GlossyReflections: 1 + - _HoverLight: 0 + - _HoverLightOpaque: 0 + - _InnerGlow: 0 + - _Metallic: 0 + - _Mode: 1 + - _NearPlaneFade: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _Reflections: 0 + - _Refraction: 0 + - _RefractiveIndex: 1.1 + - _RenderQueueOverride: -1 + - _RimLight: 0 + - _RimPower: 0.25 + - _RoundCornerMargin: 0 + - _RoundCornerRadius: 0.25 + - _RoundCorners: 0 + - _Smoothness: 0.5 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _UVSec: 0 + - _UseColor: 1 + - _UseMainTex: 1 + - _ZTest: 4 + - _ZWrite: 1 + m_Colors: + - _ClipPlane: {r: 0, g: 1, b: 0, a: 0} + - _ClippingPlaneBorderColor: {r: 1, g: 0.2, b: 0, a: 1} + - _Color: {r: 1, g: 1, b: 1, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} + - _EmissiveColor: {r: 1, g: 1, b: 1, a: 1} + - _EnvironmentColorX: {r: 1, g: 0, b: 0, a: 1} + - _EnvironmentColorY: {r: 0, g: 1, b: 0, a: 1} + - _EnvironmentColorZ: {r: 0, g: 0, b: 1, a: 1} + - _HoverColorOpaqueOverride: {r: 1, g: 1, b: 1, a: 1} + - _HoverColorOverride: {r: 1, g: 1, b: 1, a: 1} + - _InnerGlowColor: {r: 1, g: 1, b: 1, a: 0.75} + - _RimColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} --- !u!1 &1518971665 stripped GameObject: m_CorrespondingSourceObject: {fileID: 1210820392543280, guid: 40da8a1b3b26ba743b892d890b95a9f9, @@ -5520,175 +5528,59 @@ Transform: m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1635369651} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: -0.0044643115, y: 0.10023626, z: 3.7251186} - m_LocalScale: {x: 1, y: 1, z: 1} - m_Children: [] - m_Father: {fileID: 0} - m_RootOrder: 7 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!43 &1638724537 -Mesh: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} + m_GameObject: {fileID: 1635369651} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: -0.0044643115, y: 0.10023626, z: 3.7251186} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 0} + m_RootOrder: 7 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!4 &1679582287 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 400008, guid: 6bbdc1c3652578442a98643292700bc8, + type: 3} + m_PrefabInstance: {fileID: 1990947139} + m_PrefabAsset: {fileID: 0} +--- !u!1 &1736614357 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1736614358} + m_Layer: 0 + m_Name: buttonsModelPreview + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 0 +--- !u!4 &1736614358 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1736614357} + m_LocalRotation: {x: 0.5, y: -0, z: -0, w: 0.8660254} + m_LocalPosition: {x: 0, y: -0.0021980011, z: 0.009160003} + m_LocalScale: {x: 2, y: 2, z: 2} + m_Children: + - {fileID: 924730715} + - {fileID: 1473195020} + m_Father: {fileID: 496165495} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 60, y: 0, z: 0} +--- !u!23 &1739178211 stripped +MeshRenderer: + m_CorrespondingSourceObject: {fileID: 23328387927548302, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 3} + m_PrefabInstance: {fileID: 2111270922} m_PrefabAsset: {fileID: 0} - m_Name: UIButtonSquareIcon - serializedVersion: 9 - m_SubMeshes: - - serializedVersion: 2 - firstByte: 0 - indexCount: 6 - topology: 0 - baseVertex: 0 - firstVertex: 0 - vertexCount: 4 - localAABB: - m_Center: {x: 0, y: 0, z: 0} - m_Extent: {x: 0.02, y: 0.02, z: 0} - m_Shapes: - vertices: [] - shapes: [] - channels: [] - fullWeights: [] - m_BindPose: [] - m_BoneNameHashes: - m_RootBoneNameHash: 0 - m_MeshCompression: 0 - m_IsReadable: 1 - m_KeepVertices: 1 - m_KeepIndices: 1 - m_IndexFormat: 0 - m_IndexBuffer: 000001000200000002000300 - m_VertexData: - serializedVersion: 2 - m_VertexCount: 4 - m_Channels: - - stream: 0 - offset: 0 - format: 0 - dimension: 3 - - stream: 0 - offset: 12 - format: 0 - dimension: 3 - - stream: 0 - offset: 24 - format: 0 - dimension: 4 - - stream: 0 - offset: 0 - format: 0 - dimension: 0 - - stream: 0 - offset: 40 - format: 0 - dimension: 2 - - stream: 0 - offset: 0 - format: 0 - dimension: 0 - - stream: 0 - offset: 0 - format: 0 - dimension: 0 - - stream: 0 - offset: 0 - format: 0 - dimension: 0 - - stream: 0 - offset: 0 - format: 0 - dimension: 0 - - stream: 0 - offset: 0 - format: 0 - dimension: 0 - - stream: 0 - offset: 0 - format: 0 - dimension: 0 - - stream: 0 - offset: 0 - format: 0 - dimension: 0 - - stream: 0 - offset: 0 - format: 0 - dimension: 0 - - stream: 0 - offset: 0 - format: 0 - dimension: 0 - m_DataSize: 192 - _typelessdata: 0ad7a33c0ad7a33c000000000000000000000000000080bf0000803f0000000000000000000080bf0000803f0000803f0ad7a33c0ad7a3bc000000000000000000000000000080bf0000803f0000000000000000000080bf0000803f000000000ad7a3bc0ad7a3bc000000000000000000000000000080bf0000803f0000000000000000000080bf00000000000000000ad7a3bc0ad7a33c000000000000000000000000000080bf0000803f0000000000000000000080bf000000000000803f - m_CompressedMesh: - m_Vertices: - m_NumItems: 0 - m_Range: 0 - m_Start: 0 - m_Data: - m_BitSize: 0 - m_UV: - m_NumItems: 0 - m_Range: 0 - m_Start: 0 - m_Data: - m_BitSize: 0 - m_Normals: - m_NumItems: 0 - m_Range: 0 - m_Start: 0 - m_Data: - m_BitSize: 0 - m_Tangents: - m_NumItems: 0 - m_Range: 0 - m_Start: 0 - m_Data: - m_BitSize: 0 - m_Weights: - m_NumItems: 0 - m_Data: - m_BitSize: 0 - m_NormalSigns: - m_NumItems: 0 - m_Data: - m_BitSize: 0 - m_TangentSigns: - m_NumItems: 0 - m_Data: - m_BitSize: 0 - m_FloatColors: - m_NumItems: 0 - m_Range: 0 - m_Start: 0 - m_Data: - m_BitSize: 0 - m_BoneIndices: - m_NumItems: 0 - m_Data: - m_BitSize: 0 - m_Triangles: - m_NumItems: 0 - m_Data: - m_BitSize: 0 - m_UVInfo: 0 - m_LocalAABB: - m_Center: {x: 0, y: 0, z: 0} - m_Extent: {x: 0.02, y: 0.02, z: 0} - m_MeshUsageFlags: 0 - m_BakedConvexCollisionMesh: - m_BakedTriangleCollisionMesh: - m_MeshMetrics[0]: 1 - m_MeshMetrics[1]: 1 - m_MeshOptimized: 1 - m_StreamData: - offset: 0 - size: 0 - path: ---- !u!21 &1642194219 +--- !u!21 &1755016976 Material: serializedVersion: 6 m_ObjectHideFlags: 0 @@ -5730,7 +5622,7 @@ Material: m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MainTex: - m_Texture: {fileID: 2800000, guid: 6c55f9d8c4104544da644cdf3d6ab6ba, type: 3} + m_Texture: {fileID: 2800000, guid: c76832cf7bfa3c343a7c91ad95abbfde, type: 3} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MetallicGlossMap: @@ -5801,70 +5693,26 @@ Material: - _RoundCorners: 0 - _Smoothness: 0.5 - _SmoothnessTextureChannel: 0 - - _SpecularHighlights: 1 - - _SrcBlend: 1 - - _UVSec: 0 - - _UseColor: 1 - - _UseMainTex: 1 - - _ZTest: 4 - - _ZWrite: 1 - m_Colors: - - _ClipPlane: {r: 0, g: 1, b: 0, a: 0} - - _ClippingPlaneBorderColor: {r: 1, g: 0.2, b: 0, a: 1} - - _Color: {r: 1, g: 1, b: 1, a: 1} - - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} - - _EmissiveColor: {r: 1, g: 1, b: 1, a: 1} - - _EnvironmentColorX: {r: 1, g: 0, b: 0, a: 1} - - _EnvironmentColorY: {r: 0, g: 1, b: 0, a: 1} - - _EnvironmentColorZ: {r: 0, g: 0, b: 1, a: 1} - - _HoverColorOpaqueOverride: {r: 1, g: 1, b: 1, a: 1} - - _HoverColorOverride: {r: 1, g: 1, b: 1, a: 1} - - _InnerGlowColor: {r: 1, g: 1, b: 1, a: 0.75} - - _RimColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} ---- !u!4 &1679582287 stripped -Transform: - m_CorrespondingSourceObject: {fileID: 400008, guid: 6bbdc1c3652578442a98643292700bc8, - type: 3} - m_PrefabInstance: {fileID: 1990947139} - m_PrefabAsset: {fileID: 0} ---- !u!1 &1736614357 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 1736614358} - m_Layer: 0 - m_Name: buttonsModelPreview - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 0 ---- !u!4 &1736614358 -Transform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1736614357} - m_LocalRotation: {x: 0.5, y: -0, z: -0, w: 0.8660254} - m_LocalPosition: {x: 0, y: -0.0021980011, z: 0.009160003} - m_LocalScale: {x: 2, y: 2, z: 2} - m_Children: - - {fileID: 924730715} - - {fileID: 1473195020} - m_Father: {fileID: 496165495} - m_RootOrder: 2 - m_LocalEulerAnglesHint: {x: 60, y: 0, z: 0} ---- !u!23 &1739178211 stripped -MeshRenderer: - m_CorrespondingSourceObject: {fileID: 23328387927548302, guid: 40da8a1b3b26ba743b892d890b95a9f9, - type: 3} - m_PrefabInstance: {fileID: 2111270922} - m_PrefabAsset: {fileID: 0} + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _UVSec: 0 + - _UseColor: 1 + - _UseMainTex: 1 + - _ZTest: 4 + - _ZWrite: 1 + m_Colors: + - _ClipPlane: {r: 0, g: 1, b: 0, a: 0} + - _ClippingPlaneBorderColor: {r: 1, g: 0.2, b: 0, a: 1} + - _Color: {r: 1, g: 1, b: 1, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} + - _EmissiveColor: {r: 1, g: 1, b: 1, a: 1} + - _EnvironmentColorX: {r: 1, g: 0, b: 0, a: 1} + - _EnvironmentColorY: {r: 0, g: 1, b: 0, a: 1} + - _EnvironmentColorZ: {r: 0, g: 0, b: 1, a: 1} + - _HoverColorOpaqueOverride: {r: 1, g: 1, b: 1, a: 1} + - _HoverColorOverride: {r: 1, g: 1, b: 1, a: 1} + - _InnerGlowColor: {r: 1, g: 1, b: 1, a: 0.75} + - _RimColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} --- !u!1 &1783829069 GameObject: m_ObjectHideFlags: 0 @@ -5899,7 +5747,13 @@ Transform: m_Father: {fileID: 496165495} m_RootOrder: 1 m_LocalEulerAnglesHint: {x: 60, y: 0, z: 0} ---- !u!21 &1788863788 +--- !u!23 &1836265064 stripped +MeshRenderer: + m_CorrespondingSourceObject: {fileID: 23328387927548302, guid: 40da8a1b3b26ba743b892d890b95a9f9, + type: 3} + m_PrefabInstance: {fileID: 351796313} + m_PrefabAsset: {fileID: 0} +--- !u!21 &1848874654 Material: serializedVersion: 6 m_ObjectHideFlags: 0 @@ -6032,12 +5886,6 @@ Material: - _HoverColorOverride: {r: 1, g: 1, b: 1, a: 1} - _InnerGlowColor: {r: 1, g: 1, b: 1, a: 0.75} - _RimColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} ---- !u!23 &1836265064 stripped -MeshRenderer: - m_CorrespondingSourceObject: {fileID: 23328387927548302, guid: 40da8a1b3b26ba743b892d890b95a9f9, - type: 3} - m_PrefabInstance: {fileID: 351796313} - m_PrefabAsset: {fileID: 0} --- !u!1 &1892982081 GameObject: m_ObjectHideFlags: 0 @@ -6102,7 +5950,7 @@ PrefabInstance: type: 3} propertyPath: m_Materials.Array.data[0] value: - objectReference: {fileID: 1444824572} + objectReference: {fileID: 1322085186} - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} propertyPath: m_LocalPosition.x value: -0.0030416967 @@ -6265,7 +6113,7 @@ PrefabInstance: type: 3} propertyPath: m_Mesh value: - objectReference: {fileID: 1638724537} + objectReference: {fileID: 2112047049} m_RemovedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} --- !u!4 &1915360611 stripped @@ -6482,166 +6330,6 @@ GameObject: type: 3} m_PrefabInstance: {fileID: 120383053} m_PrefabAsset: {fileID: 0} ---- !u!43 &1969170842 -Mesh: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_Name: UIButtonSquareIcon - serializedVersion: 9 - m_SubMeshes: - - serializedVersion: 2 - firstByte: 0 - indexCount: 6 - topology: 0 - baseVertex: 0 - firstVertex: 0 - vertexCount: 4 - localAABB: - m_Center: {x: 0, y: 0, z: 0} - m_Extent: {x: 0.02, y: 0.02, z: 0} - m_Shapes: - vertices: [] - shapes: [] - channels: [] - fullWeights: [] - m_BindPose: [] - m_BoneNameHashes: - m_RootBoneNameHash: 0 - m_MeshCompression: 0 - m_IsReadable: 1 - m_KeepVertices: 1 - m_KeepIndices: 1 - m_IndexFormat: 0 - m_IndexBuffer: 000001000200000002000300 - m_VertexData: - serializedVersion: 2 - m_VertexCount: 4 - m_Channels: - - stream: 0 - offset: 0 - format: 0 - dimension: 3 - - stream: 0 - offset: 12 - format: 0 - dimension: 3 - - stream: 0 - offset: 24 - format: 0 - dimension: 4 - - stream: 0 - offset: 0 - format: 0 - dimension: 0 - - stream: 0 - offset: 40 - format: 0 - dimension: 2 - - stream: 0 - offset: 0 - format: 0 - dimension: 0 - - stream: 0 - offset: 0 - format: 0 - dimension: 0 - - stream: 0 - offset: 0 - format: 0 - dimension: 0 - - stream: 0 - offset: 0 - format: 0 - dimension: 0 - - stream: 0 - offset: 0 - format: 0 - dimension: 0 - - stream: 0 - offset: 0 - format: 0 - dimension: 0 - - stream: 0 - offset: 0 - format: 0 - dimension: 0 - - stream: 0 - offset: 0 - format: 0 - dimension: 0 - - stream: 0 - offset: 0 - format: 0 - dimension: 0 - m_DataSize: 192 - _typelessdata: 0ad7a33c0ad7a33c000000000000000000000000000080bf0000803f0000000000000000000080bf0000803f0000803f0ad7a33c0ad7a3bc000000000000000000000000000080bf0000803f0000000000000000000080bf0000803f000000000ad7a3bc0ad7a3bc000000000000000000000000000080bf0000803f0000000000000000000080bf00000000000000000ad7a3bc0ad7a33c000000000000000000000000000080bf0000803f0000000000000000000080bf000000000000803f - m_CompressedMesh: - m_Vertices: - m_NumItems: 0 - m_Range: 0 - m_Start: 0 - m_Data: - m_BitSize: 0 - m_UV: - m_NumItems: 0 - m_Range: 0 - m_Start: 0 - m_Data: - m_BitSize: 0 - m_Normals: - m_NumItems: 0 - m_Range: 0 - m_Start: 0 - m_Data: - m_BitSize: 0 - m_Tangents: - m_NumItems: 0 - m_Range: 0 - m_Start: 0 - m_Data: - m_BitSize: 0 - m_Weights: - m_NumItems: 0 - m_Data: - m_BitSize: 0 - m_NormalSigns: - m_NumItems: 0 - m_Data: - m_BitSize: 0 - m_TangentSigns: - m_NumItems: 0 - m_Data: - m_BitSize: 0 - m_FloatColors: - m_NumItems: 0 - m_Range: 0 - m_Start: 0 - m_Data: - m_BitSize: 0 - m_BoneIndices: - m_NumItems: 0 - m_Data: - m_BitSize: 0 - m_Triangles: - m_NumItems: 0 - m_Data: - m_BitSize: 0 - m_UVInfo: 0 - m_LocalAABB: - m_Center: {x: 0, y: 0, z: 0} - m_Extent: {x: 0.02, y: 0.02, z: 0} - m_MeshUsageFlags: 0 - m_BakedConvexCollisionMesh: - m_BakedTriangleCollisionMesh: - m_MeshMetrics[0]: 1 - m_MeshMetrics[1]: 1 - m_MeshOptimized: 1 - m_StreamData: - offset: 0 - size: 0 - path: --- !u!1001 &1990947139 PrefabInstance: m_ObjectHideFlags: 0 @@ -7096,7 +6784,7 @@ PrefabInstance: type: 3} propertyPath: m_Materials.Array.data[0] value: - objectReference: {fileID: 1788863788} + objectReference: {fileID: 1848874654} - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} propertyPath: m_LocalPosition.x value: 0.000391 @@ -7301,13 +6989,20 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: 7b5465dd9f127c1438e4aff6921ca253, type: 3} m_Name: m_EditorClassIdentifier: - PlayOrStopText: {fileID: 1450804731} ButtonsModel: {fileID: 1783829069} ButtonsModelPreview: {fileID: 1736614357} PlateAnimated: {fileID: 810103860} MaterialPreview: {fileID: 2100000, guid: d7ae0fea992458d45a510bd0d2ca5aa5, type: 2} MaterialNonPreview: {fileID: 2100000, guid: 420fd774427f87c40a5935d2758eef4b, type: 2} InstanceParent: {fileID: 1137098509} + ButtonTogglePlay: {fileID: 1450804735} + ButtonTranslate: {fileID: 1851080442415027605} + ButtonRotate: {fileID: 1851080442415027597} + ButtonScale: {fileID: 1851080442415027589} + ButtonActiveColor: {r: 0, g: 0.90588236, b: 0.88235295, a: 1} + ButtonInactiveColor: {r: 1, g: 1, b: 1, a: 1} + ButtonIconPlay: {fileID: 2800000, guid: f1ded036bb8ebaa40970e0d680757311, type: 3} + ButtonIconPause: {fileID: 2800000, guid: eb90f2dfbb0beb74caacdb6af2e3c5b2, type: 3} --- !u!114 &2089537078 MonoBehaviour: m_ObjectHideFlags: 0 @@ -7341,6 +7036,9 @@ MonoBehaviour: - {fileID: 1138440814} - {fileID: 446691389} - {fileID: 1954340138} + - {fileID: 1851080442415027582} + - {fileID: 1851080442415027581} + - {fileID: 1851080442415027580} Targets: [] lockFocus: 0 --- !u!114 &2089537080 @@ -7435,7 +7133,7 @@ PrefabInstance: type: 3} propertyPath: m_Materials.Array.data[0] value: - objectReference: {fileID: 621225514} + objectReference: {fileID: 1478139812} - target: {fileID: 4249060311757736, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} propertyPath: m_LocalPosition.x value: 0.001171 @@ -7538,7 +7236,7 @@ PrefabInstance: type: 3} propertyPath: iconOverride value: - objectReference: {fileID: 2800000, guid: f1ded036bb8ebaa40970e0d680757311, type: 3} + objectReference: {fileID: 2800000, guid: eb90f2dfbb0beb74caacdb6af2e3c5b2, type: 3} - target: {fileID: 114540301864412650, guid: 40da8a1b3b26ba743b892d890b95a9f9, type: 3} propertyPath: Profile @@ -7597,6 +7295,299 @@ Transform: type: 3} m_PrefabInstance: {fileID: 2111270922} m_PrefabAsset: {fileID: 0} +--- !u!43 &2112047049 +Mesh: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: UIButtonSquareIcon + serializedVersion: 9 + m_SubMeshes: + - serializedVersion: 2 + firstByte: 0 + indexCount: 6 + topology: 0 + baseVertex: 0 + firstVertex: 0 + vertexCount: 4 + localAABB: + m_Center: {x: 0, y: 0, z: 0} + m_Extent: {x: 0.02, y: 0.02, z: 0} + m_Shapes: + vertices: [] + shapes: [] + channels: [] + fullWeights: [] + m_BindPose: [] + m_BoneNameHashes: + m_RootBoneNameHash: 0 + m_MeshCompression: 0 + m_IsReadable: 1 + m_KeepVertices: 1 + m_KeepIndices: 1 + m_IndexFormat: 0 + m_IndexBuffer: 000001000200000002000300 + m_VertexData: + serializedVersion: 2 + m_VertexCount: 4 + m_Channels: + - stream: 0 + offset: 0 + format: 0 + dimension: 3 + - stream: 0 + offset: 12 + format: 0 + dimension: 3 + - stream: 0 + offset: 24 + format: 0 + dimension: 4 + - stream: 0 + offset: 0 + format: 0 + dimension: 0 + - stream: 0 + offset: 40 + format: 0 + dimension: 2 + - stream: 0 + offset: 0 + format: 0 + dimension: 0 + - stream: 0 + offset: 0 + format: 0 + dimension: 0 + - stream: 0 + offset: 0 + format: 0 + dimension: 0 + - stream: 0 + offset: 0 + format: 0 + dimension: 0 + - stream: 0 + offset: 0 + format: 0 + dimension: 0 + - stream: 0 + offset: 0 + format: 0 + dimension: 0 + - stream: 0 + offset: 0 + format: 0 + dimension: 0 + - stream: 0 + offset: 0 + format: 0 + dimension: 0 + - stream: 0 + offset: 0 + format: 0 + dimension: 0 + m_DataSize: 192 + _typelessdata: 0ad7a33c0ad7a33c000000000000000000000000000080bf0000803f0000000000000000000080bf0000803f0000803f0ad7a33c0ad7a3bc000000000000000000000000000080bf0000803f0000000000000000000080bf0000803f000000000ad7a3bc0ad7a3bc000000000000000000000000000080bf0000803f0000000000000000000080bf00000000000000000ad7a3bc0ad7a33c000000000000000000000000000080bf0000803f0000000000000000000080bf000000000000803f + m_CompressedMesh: + m_Vertices: + m_NumItems: 0 + m_Range: 0 + m_Start: 0 + m_Data: + m_BitSize: 0 + m_UV: + m_NumItems: 0 + m_Range: 0 + m_Start: 0 + m_Data: + m_BitSize: 0 + m_Normals: + m_NumItems: 0 + m_Range: 0 + m_Start: 0 + m_Data: + m_BitSize: 0 + m_Tangents: + m_NumItems: 0 + m_Range: 0 + m_Start: 0 + m_Data: + m_BitSize: 0 + m_Weights: + m_NumItems: 0 + m_Data: + m_BitSize: 0 + m_NormalSigns: + m_NumItems: 0 + m_Data: + m_BitSize: 0 + m_TangentSigns: + m_NumItems: 0 + m_Data: + m_BitSize: 0 + m_FloatColors: + m_NumItems: 0 + m_Range: 0 + m_Start: 0 + m_Data: + m_BitSize: 0 + m_BoneIndices: + m_NumItems: 0 + m_Data: + m_BitSize: 0 + m_Triangles: + m_NumItems: 0 + m_Data: + m_BitSize: 0 + m_UVInfo: 0 + m_LocalAABB: + m_Center: {x: 0, y: 0, z: 0} + m_Extent: {x: 0.02, y: 0.02, z: 0} + m_MeshUsageFlags: 0 + m_BakedConvexCollisionMesh: + m_BakedTriangleCollisionMesh: + m_MeshMetrics[0]: 1 + m_MeshMetrics[1]: 1 + m_MeshOptimized: 1 + m_StreamData: + offset: 0 + size: 0 + path: +--- !u!21 &2142490747 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: ButtonIconMaterial + m_Shader: {fileID: 4800000, guid: d45c0efca53019e43891b0f610f8146e, type: 3} + m_ShaderKeywords: _ALPHATEST_ON _BORDER_LIGHT_USES_HOVER_COLOR _DIRECTIONAL_LIGHT + _EMISSION _SPECULAR_HIGHLIGHTS _USECOLOR_ON _USEMAINTEX_ON + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: 2450 + stringTagMap: + RenderType: TransparentCutout + disabledShaderPasses: [] + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _BumpMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailAlbedoMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 2800000, guid: 6c55f9d8c4104544da644cdf3d6ab6ba, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MetallicGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _NormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OcclusionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ParallaxMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Floats: + - _AlbedoAlphaMode: 0 + - _BlendOp: 0 + - _BorderLight: 0 + - _BorderLightOpaque: 0 + - _BorderLightUsesHoverColor: 1 + - _BorderMinValue: 0.1 + - _BorderWidth: 0.1 + - _BumpScale: 1 + - _ClippingPlane: 0 + - _ClippingPlaneBorder: 0 + - _ClippingPlaneBorderWidth: 0.025 + - _ColorWriteMask: 15 + - _Cull: 2 + - _CullMode: 2 + - _CustomMode: 1 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DirectionalLight: 1 + - _DstBlend: 0 + - _EdgeSmoothingValue: 0.002 + - _EnableEmission: 1 + - _EnableHoverColorOpaqueOverride: 0 + - _EnableHoverColorOverride: 0 + - _EnableNormalMap: 0 + - _EnvironmentColorIntensity: 0.5 + - _EnvironmentColorThreshold: 1.5 + - _EnvironmentColoring: 0 + - _FadeBeginDistance: 0.85 + - _FadeCompleteDistance: 0.5 + - _GlossMapScale: 1 + - _Glossiness: 0.5 + - _GlossyReflections: 1 + - _HoverLight: 0 + - _HoverLightOpaque: 0 + - _InnerGlow: 0 + - _Metallic: 0 + - _Mode: 1 + - _NearPlaneFade: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _Reflections: 0 + - _Refraction: 0 + - _RefractiveIndex: 1.1 + - _RenderQueueOverride: -1 + - _RimLight: 0 + - _RimPower: 0.25 + - _RoundCornerMargin: 0 + - _RoundCornerRadius: 0.25 + - _RoundCorners: 0 + - _Smoothness: 0.5 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _UVSec: 0 + - _UseColor: 1 + - _UseMainTex: 1 + - _ZTest: 4 + - _ZWrite: 1 + m_Colors: + - _ClipPlane: {r: 0, g: 1, b: 0, a: 0} + - _ClippingPlaneBorderColor: {r: 1, g: 0.2, b: 0, a: 1} + - _Color: {r: 1, g: 1, b: 1, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} + - _EmissiveColor: {r: 1, g: 1, b: 1, a: 1} + - _EnvironmentColorX: {r: 1, g: 0, b: 0, a: 1} + - _EnvironmentColorY: {r: 0, g: 1, b: 0, a: 1} + - _EnvironmentColorZ: {r: 0, g: 0, b: 1, a: 1} + - _HoverColorOpaqueOverride: {r: 1, g: 1, b: 1, a: 1} + - _HoverColorOverride: {r: 1, g: 1, b: 1, a: 1} + - _InnerGlowColor: {r: 1, g: 1, b: 1, a: 0.75} + - _RimColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} --- !u!1001 &1851080442415027579 PrefabInstance: m_ObjectHideFlags: 0 @@ -7688,32 +7679,32 @@ PrefabInstance: type: 3} propertyPath: m_Materials.Array.data[0] value: - objectReference: {fileID: 1255118589} + objectReference: {fileID: 1316409248} - target: {fileID: 2920890346991242874, guid: f207dbefd725da24aabf907ef885b47b, type: 3} propertyPath: m_Materials.Array.data[0] value: - objectReference: {fileID: 501963340} + objectReference: {fileID: 1755016976} - target: {fileID: 3646783601872782152, guid: f207dbefd725da24aabf907ef885b47b, type: 3} propertyPath: m_Materials.Array.data[0] value: - objectReference: {fileID: 662081498} + objectReference: {fileID: 429214833} - target: {fileID: 5973690222357338197, guid: f207dbefd725da24aabf907ef885b47b, type: 3} propertyPath: m_Materials.Array.data[0] value: - objectReference: {fileID: 1181238883} + objectReference: {fileID: 321005138} - target: {fileID: 7752985426751700174, guid: f207dbefd725da24aabf907ef885b47b, type: 3} propertyPath: m_Materials.Array.data[0] value: - objectReference: {fileID: 1642194219} + objectReference: {fileID: 2142490747} - target: {fileID: 8828921758623319321, guid: f207dbefd725da24aabf907ef885b47b, type: 3} propertyPath: m_Materials.Array.data[0] value: - objectReference: {fileID: 83035726} + objectReference: {fileID: 412367383} - target: {fileID: 2928381056449761370, guid: f207dbefd725da24aabf907ef885b47b, type: 3} propertyPath: m_Mesh @@ -7723,7 +7714,7 @@ PrefabInstance: type: 3} propertyPath: m_Materials.Array.data[0] value: - objectReference: {fileID: 11791772} + objectReference: {fileID: 28050932} - target: {fileID: 8252993604148544476, guid: f207dbefd725da24aabf907ef885b47b, type: 3} propertyPath: m_Materials.Array.data[0] @@ -7866,3 +7857,57 @@ PrefabInstance: objectReference: {fileID: 0} m_RemovedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: f207dbefd725da24aabf907ef885b47b, type: 3} +--- !u!1 &1851080442415027580 stripped +GameObject: + m_CorrespondingSourceObject: {fileID: 8849588353059586215, guid: f207dbefd725da24aabf907ef885b47b, + type: 3} + m_PrefabInstance: {fileID: 1851080442415027579} + m_PrefabAsset: {fileID: 0} +--- !u!1 &1851080442415027581 stripped +GameObject: + m_CorrespondingSourceObject: {fileID: 2945277723276151748, guid: f207dbefd725da24aabf907ef885b47b, + type: 3} + m_PrefabInstance: {fileID: 1851080442415027579} + m_PrefabAsset: {fileID: 0} +--- !u!1 &1851080442415027582 stripped +GameObject: + m_CorrespondingSourceObject: {fileID: 7768303760411490672, guid: f207dbefd725da24aabf907ef885b47b, + type: 3} + m_PrefabInstance: {fileID: 1851080442415027579} + m_PrefabAsset: {fileID: 0} +--- !u!114 &1851080442415027589 stripped +MonoBehaviour: + m_CorrespondingSourceObject: {fileID: 8881862447130867197, guid: f207dbefd725da24aabf907ef885b47b, + type: 3} + m_PrefabInstance: {fileID: 1851080442415027579} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1851080442415027580} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: e77a98cf320fe9340a55eecfe4567ca4, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!114 &1851080442415027597 stripped +MonoBehaviour: + m_CorrespondingSourceObject: {fileID: 2976036106475142814, guid: f207dbefd725da24aabf907ef885b47b, + type: 3} + m_PrefabInstance: {fileID: 1851080442415027579} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1851080442415027581} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: e77a98cf320fe9340a55eecfe4567ca4, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!114 &1851080442415027605 stripped +MonoBehaviour: + m_CorrespondingSourceObject: {fileID: 7664058332712832042, guid: f207dbefd725da24aabf907ef885b47b, + type: 3} + m_PrefabInstance: {fileID: 1851080442415027579} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1851080442415027582} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: e77a98cf320fe9340a55eecfe4567ca4, type: 3} + m_Name: + m_EditorClassIdentifier: diff --git a/unity/Holo/Assets/Scripts/model_with_plate/ModelWithPlate.cs b/unity/Holo/Assets/Scripts/model_with_plate/ModelWithPlate.cs index 4486dde7..643102bf 100644 --- a/unity/Holo/Assets/Scripts/model_with_plate/ModelWithPlate.cs +++ b/unity/Holo/Assets/Scripts/model_with_plate/ModelWithPlate.cs @@ -6,22 +6,49 @@ using HoloToolkit.Unity; using HoloToolkit.Unity.UX; using HoloToolkit.Unity.Buttons; +using HoloToolkit.Unity.InputModule; public class ModelWithPlate : MonoBehaviour, IClickHandler { /* Public fields that should be set in Unity Editor */ - public CompoundButtonText PlayOrStopText; public GameObject ButtonsModel; public GameObject ButtonsModelPreview; public GameObject PlateAnimated; public Material MaterialPreview; public Material MaterialNonPreview; public Transform InstanceParent; + public CompoundButton ButtonTogglePlay; + public CompoundButton ButtonTranslate; + public CompoundButton ButtonRotate; + public CompoundButton ButtonScale; + public Color ButtonActiveColor = new Color(0f, 0.90f, 0.88f); + public Color ButtonInactiveColor = new Color(1f, 1f, 1f); + public Texture2D ButtonIconPlay; + public Texture2D ButtonIconPause; + + private enum TransformationState + { + None, + Translate, + Rotate, + Scale + } + private TransformationState transformationState = TransformationState.None; + + // Constant after Start() + private HandDraggable handDraggable; private void Start() { + /* Adding components using code, simply because it's more friendly to version control */ + handDraggable = gameObject.AddComponent(); + handDraggable.RotationMode = HandDraggable.RotationModeEnum.LockObjectRotation; + RefreshUserInterface(); InitializeAddButtons(); + + // This sets proper state of buttons and components like handDraggable + ClickChangeTransformationState(TransformationState.None); } /* Number of "add" buttons we have in the scene. */ @@ -72,6 +99,9 @@ public void Click(GameObject clickObject) case "Remove": ClickRemove(); break; case "ConfirmPreview": ClickConfirmPreview(); break; case "CancelPreview": ClickCancelPreview(); break; + case "ButtonTranslate": ClickChangeTransformationState(TransformationState.Translate); break; + case "ButtonRotate": ClickChangeTransformationState(TransformationState.Rotate); break; + case "ButtonScale": ClickChangeTransformationState(TransformationState.Scale); break; default: { const string addPrefix = "Add"; @@ -140,8 +170,19 @@ private void RefreshUserInterface() { ButtonsModel.SetActive(instance != null && !instanceIsPreview); ButtonsModelPreview.SetActive(instance != null && instanceIsPreview); - PlayOrStopText.Text = (instanceAnimation != null && instanceAnimation.Playing ? "STOP" : "PLAY"); PlateVisible = instance == null || instanceIsPreview; + + // update ButtonTogglePlay caption and icon + bool playing = instanceAnimation != null && instanceAnimation.Playing; + string playOrPauseText = playing ? "PAUSE" : "PLAY"; + ButtonTogglePlay.GetComponent().Text = playOrPauseText; + Texture2D playOrPatseIcon = playing ? ButtonIconPause : ButtonIconPlay; + MeshRenderer iconRenderer = ButtonTogglePlay.GetComponent().IconMeshFilter.GetComponent(); + if (iconRenderer != null) { + iconRenderer.sharedMaterial.mainTexture = playOrPatseIcon; + } else { + Debug.LogWarning("ButtonTogglePlay icon does not have MeshRenderer"); + } } // Unload currently loaded instance. @@ -250,6 +291,43 @@ private bool PlateVisible } } + private void SetButtonState(CompoundButton button, bool active) + { + CompoundButtonIcon icon = button.GetComponent(); + if (icon == null) + { + Debug.LogWarning("Missing CompoundButtonIcon on " + button.name); + return; + } + MeshRenderer iconRenderer = icon.IconMeshFilter.GetComponent(); + if (iconRenderer == null) + { + Debug.LogWarning("Missing MeshRenderer on CompoundButtonIcon.IconMeshFilter attached to " + button.name); + return; + } + // using material, not sharedMaterial, deliberately: we only change color of this material instance + Color newColor = active ? ButtonActiveColor : ButtonInactiveColor; + //Debug.Log("changing color of " + button.name + " to " + newColor.ToString()); + // both _EmissiveColor and _Color (Albedo in editor) should be set to make proper effect. + iconRenderer.material.SetColor("_EmissiveColor", newColor); + iconRenderer.material.SetColor("_Color", newColor); + } + + private void ClickChangeTransformationState(TransformationState newState) + { + if (newState == transformationState) { + // clicking again on the same sidebar button just toggles it off + newState = TransformationState.None; + } + transformationState = newState; + + SetButtonState(ButtonTranslate, newState == TransformationState.Translate); + SetButtonState(ButtonRotate, newState == TransformationState.Rotate); + SetButtonState(ButtonScale, newState == TransformationState.Scale); + + handDraggable.enabled = newState == TransformationState.Translate; + } + // TODO update time slider now /* private void Update()