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 System.Collections; | |
| using System.IO; | |
| using UnityEngine; | |
| using UnityEngine.Networking; | |
| public class WebAudioImporter : MonoBehaviour | |
| { | |
| private MobileImporter mobileImporter; | |
| private void Start() |
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 UnityEngine.UI; | |
| public class CanvasSizeToMobilePointSize : MonoBehaviour | |
| { | |
| private CanvasScaler _canvasScaler; | |
| private void Awake() | |
| { | |
| _canvasScaler = GetComponent<CanvasScaler>(); |
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
| [System.Serializable] | |
| public class ItemSampleData | |
| { | |
| public string DisplayName; | |
| public string Description; | |
| public string Id; | |
| public int Cost; | |
| } |
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 System; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using UnityEditor; | |
| using UnityEditor.PackageManager.Requests; | |
| using UnityEditor.PackageManager; | |
| using UnityEngine; | |
| using Unity.EditorCoroutines.Editor; | |
| namespace Unity.Editor.Example |
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 UnityEditor; | |
| public class ForceReserializeAssets | |
| { | |
| [UnityEditor.MenuItem("Tools/Force Reserialize Assets")] | |
| public static void Reserialize() | |
| { | |
| AssetDatabase.ForceReserializeAssets(); | |
| } | |
| } |
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 UnityEditor; | |
| public class ForceReserializeAssets | |
| { | |
| [UnityEditor.MenuItem("Tools/Force Reserialize Assets")] | |
| public static void Reserialize() | |
| { | |
| AssetDatabase.ForceReserializeAssets(); | |
| } | |
| } |
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/DitheringShader" | |
| { | |
| Properties | |
| { | |
| _BaseMap("Base Map", 2D) = "white" | |
| } | |
| SubShader | |
| { | |
| Tags { "RenderType" = "Opaque" "RenderPipeline" = "UniversalPipeline" "Queue" = "Geometry" } |
OlderNewer