Skip to content

Instantly share code, notes, and snippets.

View IJEMIN's full-sized avatar

I_Jemin IJEMIN

View GitHub Profile
@IJEMIN
IJEMIN / FPSController.cs
Last active September 19, 2020 22:22
Clean FPS Character Script
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;
@IJEMIN
IJEMIN / FindFirstNonRepeatedCharacter.cs
Last active March 13, 2019 07:53
Find First Non Repeated Character in String : in C#
using System;
using System.Collections.Generic;
using System.Linq;
public class FindFirstNonRepeatedCharacter
{
public static void Run()
{
const string str = "Straight Outta Compton";
@IJEMIN
IJEMIN / BurnOut Dissolve.shader
Created March 16, 2019 13:26
Burnout Dissolve
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)
@IJEMIN
IJEMIN / remove-missing-script.py
Created March 21, 2019 11:05 — forked from sokcuri/remove-missing-script.py
유니티 프리팹에서 Missing Script를 일괄 삭제하는 파이썬 스크립트입니다
# 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
@IJEMIN
IJEMIN / BuildHelper.cs
Last active February 13, 2024 07:43
Unity Build Settings (Keystore, Alias Password) Quick Load Window Script. Put this in Editor Folder.
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
{
@IJEMIN
IJEMIN / .gitignore
Last active May 5, 2019 01:25
gitignore for Unity + Rider
/AssetBundles/
# Created by https://www.gitignore.io/api/unity
### Unity ###
/[Ll]ibrary/
/[Tt]emp/
/[Oo]bj/
/[Bb]uild/
@IJEMIN
IJEMIN / BuildHelper.cs
Last active November 22, 2024 18:18
Unity auto chain build helper
using System;
using System.IO;
using System.Linq;
using UnityEditor;
using UnityEditor.Build.Reporting;
using UnityEngine;
public class BuildHelper : EditorWindow
{
[Serializable]
@IJEMIN
IJEMIN / GoogleTranslator.cs
Last active November 22, 2024 18:12
Simple Unity Google Translator
/* Credit */
// Inspired by grimmdev's code - https://gist.github.com/grimmdev/979877fcdc943267e44c
/* Dependency */
// Import SimpleJSON Scripts : http://wiki.unity3d.com/index.php/SimpleJSON
// You can use your own JSON Parser if you want.
/* Limitations */
// translate.googleapis.com is free, but it only allows about 100 requests per one hour.
// After that, you will receive 429 error response.
@IJEMIN
IJEMIN / GoogleTranslatorWithAuth.cs
Last active October 8, 2024 13:25
Unity GoogleTranslator with Google Translation API V2
// This is paid service version of Unity Google Translator script https://gist.github.com/IJEMIN/a48f8f302190044de05e3e3fea342fbd
using System;
using System.Collections;
using System.Collections.Generic;
using SimpleJSON;
using UnityEngine;
using UnityEngine.Networking;
public class GoogleTranslatorWithAuth : MonoBehaviour
@IJEMIN
IJEMIN / UnityShadersCheatSheet.shader
Created September 24, 2019 15:24 — forked from Split82/UnityShadersCheatSheet.shader
Unity Shaders Cheat Sheet
Shader "Name" {
Properties {
_Name ("display name", Range (min, max)) = number
_Name ("display name", Float) = number
_Name ("display name", Int) = number
_Name ("display name", Color) = (number,number,number,number)
_Name ("display name", Vector) = (number,number,number,number)