Skip to content

Instantly share code, notes, and snippets.

View JonRurka's full-sized avatar

jon Rurka JonRurka

View GitHub Profile
NameSpaces = new Dictionary<string, NamespaceItem>();
Type[] types = module.GetTypes();
foreach (Type type in types)
{
if (type != null && NameSpaces != null)
{
string spaceStr = type.Namespace;
if (!NameSpaces.ContainsKey(spaceStr))
{
[Serializable]
public struct REPLInfo
{
public int ID;
public string Name;
public List<string> Text;
public Vector2 ScrollPos;
public REPLInfo(int id, string name)
{
public Vector3 CenterOfVectors( Vector3[] vectors )
{
Vector3 sum = Vector3.zero;
if( vectors == null || vectors.Length == 0 )
{
return sum;
}
foreach( Vector3 vec in vectors )
{
class SelectedUnits : Monobehavior
{
public List<Transform> selectedList;
private Static SelectedUnits _instance;
public Static SelectedUnits Instance { get { return _instance;}}
public void AddTransform(Transform trans)
{
selectedList.Add(trans);
MemoryStream memStream = new MemoryStream();
StreamWriter writer = new StreamWriter(memStream);
Console.SetOut(writer);
Console.WriteLine("Hello");
StreamReader reader = new StreamReader(memStream);
DConsole.Log(reader.ReadToEnd());
### Keybase proof
I hereby claim:
* I am nug700 on github.
* I am nug700 (https://keybase.io/nug700) on keybase.
* I have a public key whose fingerprint is EEAC 9017 F78D 7EA4 9FE4 9900 9856 97B7 46FE 00C4
To claim this, I am signing this object: