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.IO; | |
| using System.Linq; | |
| using UnityEditor; | |
| using UnityEditor.Build.Reporting; | |
| using UnityEngine; | |
| public class BuildHelper : EditorWindow | |
| { | |
| [Serializable] |
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
| /AssetBundles/ | |
| # Created by https://www.gitignore.io/api/unity | |
| ### Unity ### | |
| /[Ll]ibrary/ | |
| /[Tt]emp/ | |
| /[Oo]bj/ | |
| /[Bb]uild/ |
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.Collections.Generic; | |
| using System.IO; | |
| using UnityEditor; | |
| using UnityEditor.Build.Content; | |
| using UnityEngine; | |
| using UnityEngine.Serialization; | |
| public class BuildHelper : EditorWindow | |
| { |
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
| # remove-missing-script.py | |
| # A Python script that removes the disconnected script file "Missing Script" in Unity Prefab files | |
| # - Author: github.com/sokcuri | |
| # | |
| # usage: | |
| # > python Tools/remove-missing-script.py [Target Folder] | |
| # | |
| import re, sys | |
| from pathlib import Path |
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 "I_Jemin/Burnout Dissolve" { | |
| Properties { | |
| _MainTex ("Albedo (RGB)", 2D) = "white" {} | |
| _NormalMap("Normal Map",2D) = "black" {} | |
| _NoiseMap("Noise Map",2D) = "black" {} | |
| _Cutoff("Cutoff Value",Range(0,1.1))=0.5 | |
| _Cutout("Cut out",Range(0,1)) = 0.2 | |
| [HDR]_BurnColor("Burn edge Color",Color) = (1,0,0,1) |
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.Generic; | |
| using System.Linq; | |
| public class FindFirstNonRepeatedCharacter | |
| { | |
| public static void Run() | |
| { | |
| const string str = "Straight Outta Compton"; |
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.Collections.Generic; | |
| using UnityEngine; | |
| [RequireComponent(typeof(Rigidbody))] | |
| public class FPSController : MonoBehaviour | |
| { | |
| private PlayerInput m_PlayerInput; | |
| private float speed = 5.0f; | |
| private Vector3 m_moveHorizontal; | |
| private Vector3 m_movVertical; |
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; | |
| public class Program | |
| { | |
| public static void Main() | |
| { | |
| Action<int[]> bubleSort = (int[] list) => { | |
| bool again = false; | |
| int limit = list.Length; |
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 class DataDownloader : MonoBehaviour | |
| { | |
| //... | |
| private IEnumerator DownloadAndCache(Action<AssetBundle> objectReceiver, string bundleUrl) | |
| { | |
| UnityWebRequest wwwReq = UnityWebRequest.Head(bundleUrl); | |
| yield return wwwReq.SendWebRequest(); |
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 class AudioManager : MonoBehaviour { | |
| public static AudioManager Instance | |
| { | |
| get | |
| { | |
| if (!m_instance) | |
| { | |
| m_instance = FindObjectOfType<AudioManager>(); | |
| if (!m_instance) |