Skip to content

Instantly share code, notes, and snippets.

View IJEMIN's full-sized avatar

I_Jemin IJEMIN

View GitHub Profile
@IJEMIN
IJEMIN / UnityPackageBatchUpdate.cs
Last active October 14, 2023 19:57
Batch update all installed unity packages in the project
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
@IJEMIN
IJEMIN / ItemSampleData.cs
Last active July 2, 2020 15:23
목업 데이터를 모아두는 스크립터블 오브젝트 예제
[System.Serializable]
public class ItemSampleData
{
public string DisplayName;
public string Description;
public string Id;
public int Cost;
}
@IJEMIN
IJEMIN / CanvasSizeToMobilePointSize.cs
Last active January 2, 2023 21:41
유니티에서 안드로이드의 DP, iOS의 포인트 해상도를 사용하기
using UnityEngine;
using UnityEngine.UI;
public class CanvasSizeToMobilePointSize : MonoBehaviour
{
private CanvasScaler _canvasScaler;
private void Awake()
{
_canvasScaler = GetComponent<CanvasScaler>();
using System.Collections;
using System.IO;
using UnityEngine;
using UnityEngine.Networking;
public class WebAudioImporter : MonoBehaviour
{
private MobileImporter mobileImporter;
private void Start()
@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)
@IJEMIN
IJEMIN / GoogleTranslatorWithAuth.cs
Last active February 11, 2024 07:01
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 / GoogleTranslator.cs
Last active September 13, 2023 06:51
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 / BuildHelper.cs
Last active January 2, 2023 21:50
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 / .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 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
{