This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ArrayPrefs2 v 1.3 | |
| using UnityEngine; | |
| using System; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| public class PlayerPrefsX | |
| { | |
| static private int endianDiff1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Shader "Custom/DiffuseOverlay" { | |
| Properties { | |
| _Color ("Main Color", Color) = (1,1,1,1) | |
| _MainTex ("Base (RGB)", 2D) = "white" {} | |
| } | |
| SubShader { | |
| // Tags {"RenderType"="Opaque"} // original | |
| Tags {"Queue" = "Overlay" "RenderType"="Opaque"} // modified | |
| ZTest Always // this line is added | |
| LOD 200 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public void OnPreprocessTexture() | |
| { | |
| if (!isAssetProcessed) | |
| { | |
| var textureImporter = assetImporter as TextureImporter; | |
| textureImporter.compressionQuality = 100; | |
| textureImporter.filterMode = FilterMode.Bilinear; | |
| textureImporter.maxTextureSize = 2048; | |
| textureImporter.textureFormat = TextureImporterFormat.AutomaticCompressed; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <link rel="import" href="../paper-button/paper-button.html"> | |
| <polymer-element name="my-element"> | |
| <template> | |
| <style> | |
| :host { | |
| box-sizing: border-box; | |
| background-color: rgb(255, 255, 255); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEngine; | |
| using UnityEditor; | |
| using System.IO; | |
| [InitializeOnLoad] | |
| public class BundleVersionChecker | |
| { | |
| /// <summary> | |
| /// Class name to use when referencing from code. | |
| /// </summary> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public static class CurrentBundleVersion | |
| { | |
| public static readonly string version = "1.0.31"; | |
| } | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CurrentBundleVersion.version |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEngine; | |
| using UnityEditor; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using TMPro; | |
| using UnityEngine.UI; | |
| public class ReplaceFont |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| void OnEnable() | |
| { | |
| Application.RegisterLogCallback(HandleUnityLog); | |
| } | |
| private void OnDisable() | |
| { | |
| Application.RegisterLogCallback(null); | |
| } | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEngine; | |
| [System.Serializable] | |
| public class ResourceAsset | |
| { | |
| public string GUID; | |
| public string path; | |
| public string name; | |
| protected Object cachedObject; | |
| protected ResourceRequest resourceRequest; |