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
import sys | |
import time | |
import argparse | |
import boto3 | |
import urllib.parse | |
def normalize_file_size(file_bytes): | |
if file_bytes / (1024 * 1024 * 1024) > 1.0: | |
gb = round(file_bytes / (1024 * 1024 * 1024), 2) |
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 UnityEngine; | |
using System.Collections; | |
using System.Threading.Tasks; | |
public class SimpleEasing { | |
private const float PI2 = Mathf.PI * 0.5f; | |
public static float Lerp(float start, float end, float t) { | |
return start + (end - start) * t; |
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 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"; |
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 UnityEngine; | |
using UnityEngine.Networking; | |
using UnityEditor; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Security.Cryptography; | |
using System.Text; | |
using System; | |
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 UnityEngine; | |
using UnityEngine.UI; | |
using UnityEngine.SceneManagement; | |
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
public class Fade : MonoBehaviour { |
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 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() { |