Files
Magical-Jumping-Bean/Library/metadata/88/88ed537c17c34f339121fe9a7d6d7a0e
T

111 lines
8.8 KiB
Plaintext
Raw Normal View History

2019-09-29 19:40:54 -04:00
í#`2019.2.3f1þÿÿÿÿÿ’3$øÌuñ옲e+ Í=^7€ÿÿÿÿ€¦€²€Ѐ¦€¦€¦€#¦€+H€3ÿÿÿÿ€1€1€ÿÿÿÿ@Þ€€ Q€j€
H€<ÿÿÿÿ €1€1€ÿÿÿÿ @Þ€€
Q€j€Õ€Iÿÿÿÿ€1€1€ÿÿÿÿÀÞ€€H€j€ÿÿÿÿ€1€1€ÿÿÿÿ@Þ€€Q€j€™€PAssetMetaDataguiddata[0]data[1]data[2]data[3]pathNameoriginalNamelabelsassetStoreRef ÿÿfš†!ë5˜9Ý4QÁóBí7€ÿÿÿÿ€¦€²€
E€ Þ€#€.€,€5a€ Þ€#€.€,€†€r€ Þ€# €.€,
€H€«€ÿÿÿÿ €1€1€ÿÿÿÿ @Þ€€
Q€j€ñ€JÿÿÿÿÀ1€1€ÿÿÿÿ€Þ€€€j€ÿÿÿÿ€\›€ÿÿÿÿ€H€rÿÿÿÿ€1€1€ÿÿÿÿ@Þ€€Q€j€H€wÿÿÿÿ€1€1€ÿÿÿÿ@Þ€€Q€j€H€€ÿÿÿÿ€1€1€ÿÿÿÿ@Þ€€Q€j€y€
€ Þ€#!€.€,"€€…ÿÿÿÿ#@1€1€ÿÿÿÿ$Þ€€%.€j€&Õ€“ÿÿÿÿ'€1€1€ÿÿÿÿ(ÀÞ€€)€j€ÿÿÿÿ*€H€›€ÿÿÿÿ+€1€1€ÿÿÿÿ,@Þ€€-Q€j€.y€
€ /Þ€#0€.€,1€ €§2@¾€¶ 3@Þ€#4€.€,5€H€»ÿÿÿÿ6€1€1€ÿÿÿÿ7@Þ€€8Q€j€9H€Æÿÿÿÿ:€1€1€ÿÿÿÿ;@Þ€€<Q€j€=H€Øÿÿÿÿ>€1€1€ÿÿÿÿ?@Þ€€@Q€j€AMonoImporterPPtr<EditorExtension>m_FileIDm_PathIDPPtr<PrefabInstance>m_ExternalObjectsSourceAssetIdentifiertypeassemblynamem_UsedFileIDsm_DefaultReferencesexecutionOrdericonm_UserDatam_AssetBundleNamem_AssetBundleVariantsÿÿ£Gñ×Ü�Z56 :!@iÁJ*�€7€ÿÿÿÿ€¦€²€E€ Þ€€.€€(a€ Þ€€.€€†€r€ Þ€ €.€
€H€«€ÿÿÿÿ €1€1€ÿÿÿÿ @Þ€€
Q€j€H€ê€ÿÿÿÿ€1€1€ÿÿÿÿ@Þ€€Q€j€ñ€=ÿÿÿÿ€1€1€ÿÿÿÿ€Þ€€€j€ÿÿÿÿ€H€›€ÿÿÿÿ€1€1€ÿÿÿÿ@Þ€€Q€j€y€
€ Þ€€.€€y€Q Þ€€.€ €Þ€X!H€iÿÿÿÿ"€1€1€ÿÿÿÿ#@Þ€€$Q€j€%H€uÿÿÿÿ&€1€1€ÿÿÿÿ'@Þ€€(Q€j€)PPtr<EditorExtension>m_FileIDm_PathIDPPtr<PrefabInstance>m_DefaultReferencesm_Iconm_ExecutionOrderm_ClassNamem_Namespacetx\ày¯ØxˆÞ5Çq<ô3ï©×Ö§àIPackages/com.unity.textmeshpro/Scripts/Editor/TMPro_SortingLayerHelper.csày¯TMPro_SortingLayerHelperû/*
* Copyright (c) 2014, Nick Gravelyn.
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
*
* Permission is granted to anyone to use this software for any purpose,
* including commercial applications, and to alter it and redistribute it
* freely, subject to the following restrictions:
*
* 1. The origin of this software must not be misrepresented; you must not
* claim that you wrote the original software. If you use this software
* in a product, an acknowledgment in the product documentation would be
* appreciated but is not required.
*
* 2. Altered source versions must be plainly marked as such, and must not be
* misrepresented as being the original software.
*
* 3. This notice may not be removed or altered from any source
* distribution.
*/
using UnityEngine;
using UnityEditor;
using System;
using System.Reflection;
namespace TMPro
{
// Helpers used by the different sorting layer classes.
public static class SortingLayerHelper
{
private static Type _utilityType;
private static PropertyInfo _sortingLayerNamesProperty;
private static MethodInfo _getSortingLayerUserIdMethod;
static SortingLayerHelper()
{
_utilityType = Type.GetType("UnityEditorInternal.InternalEditorUtility, UnityEditor");
_sortingLayerNamesProperty = _utilityType.GetProperty("sortingLayerNames", BindingFlags.Static | BindingFlags.NonPublic);
_getSortingLayerUserIdMethod = _utilityType.GetMethod("GetSortingLayerUniqueID", BindingFlags.Static | BindingFlags.NonPublic);
}
// Gets an array of sorting layer names.
// Since this uses reflection, callers should check for 'null' which will be returned if the reflection fails.
public static string[] sortingLayerNames
{
get
{
if (_sortingLayerNamesProperty == null)
{
return null;
}
return _sortingLayerNamesProperty.GetValue(null, null) as string[];
}
}
// Given the ID of a sorting layer, returns the sorting layer's name
public static string GetSortingLayerNameFromID(int id)
{
string[] names = sortingLayerNames;
if (names == null)
{
return null;
}
for (int i = 0; i < names.Length; i++)
{
if (GetSortingLayerIDForIndex(i) == id)
{
return names[i];
}
}
return null;
}
// Given the name of a sorting layer, returns the ID.
public static int GetSortingLayerIDForName(string name)
{
string[] names = sortingLayerNames;
if (names == null)
{
return 0;
}
return GetSortingLayerIDForIndex(Array.IndexOf(names, name));
}
// Helper to convert from a sorting layer INDEX to a sorting layer ID. These are not the same thing.
// IDs are based on the order in which layers were created and do not change when reordering the layers.
// Thankfully there is a private helper we can call to get the ID for a layer given its index.
public static int GetSortingLayerIDForIndex(int index)
{
if (_getSortingLayerUserIdMethod == null)
{
return 0;
}