Skip to content

Instantly share code, notes, and snippets.

View karinharp's full-sized avatar

karinharp karinharp

View GitHub Profile
on run argv
tell application "Unity" to activate
end run
on run argv
tell application "Unity" to activate
tell application "System Events"
tell process "Unity"
key code 35 using {command down}
end tell
end tell
end run
@karinharp
karinharp / content
Last active October 27, 2015 17:33
adb shell getprop
mono --debug MyApp.exe
GUILayout.Box("", GUILayout.Width(this.position.width), GUILayout.Height(1));
<?xml version="1.0"?>
<monodoc>
<node label="Demo Library" name="Demo-lib" parent="libraries" />
<source provider="ecma" basefile="Demo" path="Demo-lib"/>
</monodoc>
// Copyright (c) 2011 Bob Berkebile (pixelplacment)
// Please direct any bugs/comments/suggestions to http://pixelplacement.com
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
string path = "/{PATH}/MyLibrary.dll";
var versionInfo = FileVersionInfo.GetVersionInfo(path);
[assembly: AssemblyFileVersion("0.0.0.0")]
diff --git SpriteStudio/ScriptLibrary/Library_SpriteStudio.cs SpriteStudio/ScriptLibrary/Library_SpriteStudio.cs
index 3d4f5b5..350ecaf 100644
--- SpriteStudio/ScriptLibrary/Library_SpriteStudio.cs
+++ SpriteStudio/ScriptLibrary/Library_SpriteStudio.cs
@@ -230,7 +230,7 @@ public static class Library_SpriteStudio
Camera InstanceCamera = null;
while(null != InstanceTransform)
{
- InstanceCamera = InstanceTransform.camera;
+ InstanceCamera = InstanceTransform.GetComponent<Camera>();