a&}5.5.1f1ţ˙˙˙˙˙Č0ĹňĂôL.`?^Ů0D7€˙˙˙˙€Ś€˛€ЀŚ€Ś€Ś€#Ś€+H€3˙˙˙˙€1€1€˙˙˙˙@ހ€ Q€j€ ™€< Ś€H H€Z˙˙˙˙ €1€1€˙˙˙˙@ހ€Q€j€ЀgŚ€Ś€Ś€#Ś€+v~ € €– €Ÿ €¨ €ą €ş €Ă €Ě €Ő €Ţ  €ç! €ń" €ű# €$ €% €&Ő€#˙˙˙˙'€1€1€˙˙˙˙(€ހ€)H€j€˙˙˙˙*€1€1€˙˙˙˙+@ހ€,Q€j€-™€*.ހ8/AssetMetaDataguiddata[0]data[1]data[2]data[3]pathNametimeCreatedoriginalChangesetoriginalNameoriginalParentHash128originalDigestbytes[0]bytes[1]bytes[2]bytes[3]bytes[4]bytes[5]bytes[6]bytes[7]bytes[8]bytes[9]bytes[10]bytes[11]bytes[12]bytes[13]bytes[14]bytes[15]labelsassetStoreReflicenseType ˙˙z{ď@îČă5^(H'7€˙˙˙˙€Ś€˛€ Ő€ ހ#.€,†€Ä€ ހ#.€,H€Ť€˙˙˙˙€1€1€˙˙˙˙ @ހ€ Q€j€ Ő€5˙˙˙˙ €1€1€˙˙˙˙ €ހ€€j€˙˙˙˙€H€›€˙˙˙˙€1€1€˙˙˙˙@ހ€Q€j€y€ € ހ#.€, €I@ž€X @ހ#.€,H€]˙˙˙˙€1€1€˙˙˙˙@ހ€Q€j€H€h˙˙˙˙€1€1€˙˙˙˙ @ހ€!Q€j€"H€z˙˙˙˙#€1€1€˙˙˙˙$@ހ€%Q€j€&MonoImporterPPtrm_FileIDm_PathIDm_DefaultReferencesexecutionOrdericonm_UserDatam_AssetBundleNamem_AssetBundleVariants˙˙˙8-l'€Łć„hŒÎA,Œ€7€˙˙˙˙€Ś€˛€Ő€ ހ.€†€Ä€ ހ.€H€Ť€˙˙˙˙€1€1€˙˙˙˙ @ހ€ Q€j€ H€ę€˙˙˙˙ €1€1€˙˙˙˙ @ހ€Q€j€ń€(˙˙˙˙€1€1€˙˙˙˙€ހ€€j€˙˙˙˙€H€›€˙˙˙˙€1€1€˙˙˙˙@ހ€Q€j€y€ € ހ.€y€< ހ.€ހCH€T˙˙˙˙€1€1€˙˙˙˙ @ހ€!Q€j€"H€`˙˙˙˙#€1€1€˙˙˙˙$@ހ€%Q€j€&H€l˙˙˙˙'€1€1€˙˙˙˙(@ހ€)Q€j€*L€{+PPtrm_FileIDm_PathIDm_DefaultReferencesm_Iconm_ExecutionOrderm_ClassNamem_Namespacem_AssemblyNamem_IsEditorScript¨¨@ŕyŻč•˝gv&lDŽwpçžmPAssets/Standard Assets/Editor/CrossPlatformInput/CrossPlatformInputInitialize.csCrossPlatformInputInitializeôusing System; using System.Collections.Generic; using UnityEditor; namespace UnityStandardAssets.CrossPlatformInput.Inspector { [InitializeOnLoad] public class CrossPlatformInitialize { // Custom compiler defines: // // CROSS_PLATFORM_INPUT : denotes that cross platform input package exists, so that other packages can use their CrossPlatformInput functions. // EDITOR_MOBILE_INPUT : denotes that mobile input should be used in editor, if a mobile build target is selected. (i.e. using Unity Remote app). // MOBILE_INPUT : denotes that mobile input should be used right now! static CrossPlatformInitialize() { var defines = GetDefinesList(buildTargetGroups[0]); if (!defines.Contains("CROSS_PLATFORM_INPUT")) { SetEnabled("CROSS_PLATFORM_INPUT", true, false); SetEnabled("MOBILE_INPUT", true, true); } } [MenuItem("Mobile Input/Enable")] private static void Enable() { SetEnabled("MOBILE_INPUT", true, true); switch (EditorUserBuildSettings.activeBuildTarget) { case BuildTarget.Android: case BuildTarget.iOS: case BuildTarget.PSM: case BuildTarget.Tizen: case BuildTarget.WSAPlayer: EditorUtility.DisplayDialog("Mobile Input", "You have enabled Mobile Input. You'll need to use the Unity Remote app on a connected device to control your game in the Editor.", "OK"); break; default: EditorUtility.DisplayDialog("Mobile Input", "You have enabled Mobile Input, but you have a non-mobile build target selected in your build settings. The mobile control rigs won't be active or visible on-screen until you switch the build target to a mobile platform.", "OK"); break; } } [MenuItem("Mobile Input/Enable", true)] private static bool EnableValidate() { var defines = GetDefinesList(mobileBuildTargetGroups[0]); return !defines.Contains("MOBILE_INPUT"); } [MenuItem("Mobile Input/Disable")] private static void Disable() { SetEnabled("MOBILE_INPUT", false, true); switch (EditorUserBuildSettings.activeBuildTarget) { case BuildTarget.Android: case BuildTarget.iOS: EditorUtility.DisplayDialog("Mobile Input", "You have disabled Mobile Input. Mobile control rigs won't be visible, and the Cross Platform Input functions will always return standalone controls.", "OK"); break; } } [MenuItem("Mobile Input/Disable", true)] private static bool DisableValidate() { var defines = GetDefinesList(mobileBuildTargetGroups[0]); return defines.Contains("MOBILE_INPUT"); } private static BuildTargetGroup[] buildTargetGroups = new BuildTargetGroup[] { BuildTargetGroup.Standalone, BuildTargetGroup.Android, BuildTargetGroup.iOS }; private static BuildTargetGroup[] mobileBuildTargetGroups = new BuildTargetGroup[] { BuildTargetGroup.Android, BuildTargetGroup.iOS, BuildTargetGroup.PSM, BuildTargetGroup.SamsungTV, BuildTargetGroup.Tizen, BuildTargetGroup.WSA }; private static void SetEnabled(string defineName, bool enable, bool mobile) { //Debug.Log("setting "+defineName+" to "+enable); foreach (var group in mobile ? mobileBuildTargetGroups : buildTargetGroups) { var defines = GetDefinesList(group); if (enable) { if (defines.Contains(defineName)) { return; } defines.Add(defineName); } else { if (!defines.Contains(defineName)) { return; } while (defines.Contains(defineName)) { defines.Remove(defineName); } } string definesString = string.Join(";", defines.ToArray()); PlayerSettings.SetScriptingDefineSymbolsForGroup(group, definesString); } } private static List GetDefinesList(BuildTargetGroup group) { return new List(PlayerSettings.GetScriptingDefineSymbolsForGroup(group).Split(';')); } } } CrossPlatformInputInitialize$Assembly-CSharp-Editor-firstpass.dll