This file contains 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 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 System.Collections; | |
using UnityEditor; | |
public static class ExportPackage { | |
This file contains 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 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 "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) |
This file contains 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
// 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 |
This file contains 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
// code reference: http://answers.unity3d.com/questions/894995/how-to-saveload-with-google-play-services.html | |
// you need to import https://github.com/playgameservices/play-games-plugin-for-unity | |
using UnityEngine; | |
using System; | |
using System.Collections; | |
//gpg | |
using GooglePlayGames; | |
using GooglePlayGames.BasicApi; | |
using GooglePlayGames.BasicApi.SavedGame; | |
//for encoding |
This file contains 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 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
# Created by https://www.gitignore.io/api/unity | |
# Edit at https://www.gitignore.io/?templates=unity | |
# Jetbrain Rider Cache | |
.idea/ | |
Assets/Plugins/Editor/JetBrains* | |
# Visual Studio Code | |
.vscode/ |
This file contains 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
/* 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. |
NewerOlder