a 95.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ŻčQfˇžőű“H“Ž˜˘¸4IAssets/Standard Assets/Editor/ImageEffects/ColorCorrectionLookupEditor.csColorCorrectionLookupEditorusing System; using UnityEditor; using UnityEngine; namespace UnityStandardAssets.ImageEffects { [CustomEditor (typeof(ColorCorrectionLookup))] class ColorCorrectionLookupEditor : Editor { SerializedObject serObj; void OnEnable () { serObj = new SerializedObject (target); } private Texture2D tempClutTex2D; public override void OnInspectorGUI () { serObj.Update (); EditorGUILayout.LabelField("Converts textures into color lookup volumes (for grading)", EditorStyles.miniLabel); //EditorGUILayout.LabelField("Change Lookup Texture (LUT):"); //EditorGUILayout.BeginHorizontal (); //Rect r = GUILayoutUtility.GetAspectRect(1.0ff); Rect r; Texture2D t; //EditorGUILayout.Space(); tempClutTex2D = EditorGUILayout.ObjectField (" Based on", tempClutTex2D, typeof(Texture2D), false) as Texture2D; if (tempClutTex2D == null) { t = AssetDatabase.LoadMainAssetAtPath(((ColorCorrectionLookup)target).basedOnTempTex) as Texture2D; if (t) tempClutTex2D = t; } Texture2D tex = tempClutTex2D; if (tex && (target as ColorCorrectionLookup).basedOnTempTex != AssetDatabase.GetAssetPath(tex)) { EditorGUILayout.Separator(); if (!(target as ColorCorrectionLookup).ValidDimensions(tex)) { EditorGUILayout.HelpBox ("Invalid texture dimensions!\nPick another texture or adjust dimension to e.g. 256x16.", MessageType.Warning); } else if (GUILayout.Button ("Convert and Apply")) { string path = AssetDatabase.GetAssetPath (tex); TextureImporter textureImporter = AssetImporter.GetAtPath(path) as TextureImporter; bool doImport = textureImporter.isReadable == false; if (textureImporter.mipmapEnabled == true) { doImport = true; } if (textureImporter.textureCompression != TextureImporterCompression.Uncompressed) { doImport = true; } if (doImport) { textureImporter.isReadable = true; textureImporter.mipmapEnabled = false; textureImporter.textureCompression = TextureImporterCompression.Uncompressed; AssetDatabase.ImportAsset (path, ImportAssetOptions.ForceUpdate); //tex = AssetDatabase.LoadMainAssetAtPath(path); } (target as ColorCorrectionLookup).Convert(tex, path); } } if ((target as ColorCorrectionLookup).basedOnTempTex != "") { EditorGUILayout.HelpBox("Using " + (target as ColorCorrectionLookup).basedOnTempTex, MessageType.Info); t = AssetDatabase.LoadMainAssetAtPath(((ColorCorrectionLookup)target).basedOnTempTex) as Texture2D; if (t) { r = GUILayoutUtility.GetLastRect(); r = GUILayoutUtility.GetRect(r.width, 20); r.x += r.width * 0.05f/2.0f; r.width *= 0.95f; GUI.DrawTexture (r, t); GUILayoutUtility.GetRect(r.width, 4); } } //EditorGUILayout.EndHorizontal (); serObj.ApplyModifiedProperties(); } } } ColorCorrectionLookupEditor UnityStandardAssets.ImageEffects$Assembly-CSharp-Editor-firstpass.dll