Skip to content

Instantly share code, notes, and snippets.

View terrehbyte's full-sized avatar
Keqing Story Quest When?

Terry Nguyen terrehbyte

Keqing Story Quest When?
View GitHub Profile

Keybase proof

I hereby claim:

  • I am terrehbyte on github.
  • I am terrehbyte (https://keybase.io/terrehbyte) on keybase.
  • I have a public key ASAOr1otmXv1L84dreZDidySPNuI2fb03ZEnfDnQ4z9XeAo

To claim this, I am signing this object:

@terrehbyte
terrehbyte / UnityCollab.md
Last active May 9, 2016 23:34
A rough guide on how2unity4tems.

Unity Collaboration Guidelines

So you want to make a game in Unity with more than one person (meaning, not you!). Here's a quick list of things that you'll want to look out for. You can read the description below them for any relevant steps or information.

1. Unity Versions

As Unity introduces new features and API changes, the stability of your codebase

p.netshowcorrections 1

shows you server-client corrections in position

@terrehbyte
terrehbyte / ResetPlayerPrefs.cs
Created June 3, 2015 17:05
This simple Editor script adds a menu item for resetting your current PlayerPrefs data. This script must be placed in a folder where its immediate or grandfather directories is called "Editor".
using UnityEditor;
using UnityEngine;
public class PlayerPrefsEditor : MonoBehaviour
{
[MenuItem ("Tools/Reset Player Prefs")]
static void PlayerPerfsReset()
{
PlayerPrefs.DeleteAll();
}

Keybase proof

I hereby claim:

  • I am terrehbyte on github.
  • I am terrehbyte (https://keybase.io/terrehbyte) on keybase.
  • I have a public key whose fingerprint is C960 3EE5 D239 01B4 671D 00DD 3587 DDA1 12AC 6000

To claim this, I am signing this object:

@terrehbyte
terrehbyte / ImportScale.cs
Last active August 29, 2015 14:11
Forces the import scale to 1.
using UnityEditor;
using System.Collections;
public class ImportScale : AssetPostprocessor
{
public void OnPreprocessModel()
{
ModelImporter modelImporter = (ModelImporter)assetImporter;
modelImporter.globalScale = 1;
}
@terrehbyte
terrehbyte / UsefulUnityAssets.md
Last active November 26, 2025 14:56
Useful Open-Source Unity Assets

Useful Open-Source Unity Assets

This is a compilation of various open-source Unity plugins, codebases, or utility scripts that may aid in expediting the development process.

Art / Design Tools

ProbePolisher - Light Probe Editor - keijiro

"ProbePolisher is a Unity Editor plugin for editing light probes. It works both on Unity Basic (free) and Unity Pro."

Code
Releases

@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("open.gl")
{
body
{
color: #777;
background-color: #111;
}
@terrehbyte
terrehbyte / keybase.md
Created October 14, 2014 11:42
keybase.md

Keybase proof

I hereby claim:

  • I am terrehbyte on github.
  • I am terrehbyte (https://keybase.io/terrehbyte) on keybase.
  • I have a public key whose fingerprint is 1039 4917 5F46 C11A BAA7 3967 52C6 9273 14A7 7E22

To claim this, I am signing this object:

@terrehbyte
terrehbyte / U3D-AND.md
Last active November 19, 2016 04:59
Unity3D-Android Debugging

Debugging Your Unity3D Application on Android

Listening for Debug.XXX Events from Unity3D

Assuming you've got the Android SDK installed and your device is attached via ADB to your computer, we should be able to filter out the output from 'logcat' to only show logs from your Unity application! This works seamlessly with all of your existing "Debug.Log("hotdog");" calls!

Open up a terminal and type:

adb logcat -s Unity

Now watch your Unity-related debug messages pour into your terminal!