Skip to content

Instantly share code, notes, and snippets.

View SimpleEasing.cs
using UnityEngine;
using System.Collections;
public class SimpleEasing {
private const float PI2 = Mathf.PI * 0.5f;
// Liner
public static float Liner(float t) {
return t;
View AndroidJarResolver.cs
using UnityEditor;
using UnityEngine;
using System.IO;
using System.Text.RegularExpressions;
using System.Collections.Generic;
public class AndroidJarResolver : MonoBehaviour {
private static string sdkRoot = EditorPrefs.GetString("AndroidSdkRoot");
private static string androidPluginDir = "Assets/Plugins/Android";
@tkyaji
tkyaji / UnityAssetBundleBuilder.cs
Last active Apr 9, 2021
[Unity] Build Asset Bundle, and upload to AWS-S3
View UnityAssetBundleBuilder.cs
using UnityEngine;
using UnityEngine.Networking;
using UnityEditor;
using System.Collections.Generic;
using System.IO;
using System.Security.Cryptography;
using System.Text;
using System;
@tkyaji
tkyaji / Fade.cs
Last active Oct 15, 2020
[Unity] Fade in / Fade out
View Fade.cs
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
using System;
using System.Collections;
using System.Collections.Generic;
public class Fade : MonoBehaviour {
@tkyaji
tkyaji / GenerateResourceNames.cs
Created Apr 8, 2016
[Unity] Generate constants class from Assets/Resouces Directory.
View GenerateResourceNames.cs
using UnityEngine;
using UnityEditor;
using System.IO;
// Put this file to under the Assets/Editor
public class GenerateResourceNames : EditorWindow {
[MenuItem("Edit/Generate ResourceNames.cs")]
private static void GenerateFile() {