Last active
August 29, 2015 14:14
-
-
Save timsgardner/2c769cc9c3a22909d16c to your computer and use it in GitHub Desktop.
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 arcadia.messages; | |
| using clojure.lang; | |
| using System; | |
| using UnityEngine; | |
| using urbanOutfitters.parapoint; | |
| namespace urbanOutfitters.moholy | |
| { | |
| [Serializable] | |
| public class EllipsulonData : MonoBehaviour, IParaPoint, IStart, IOnDrawGizmosSelected, IType | |
| { | |
| // | |
| // Static Fields | |
| // | |
| protected internal static Var const__2; | |
| protected internal static Var const__1; | |
| protected internal static Var const__0; | |
| // | |
| // Constructors | |
| // | |
| static EllipsulonData () | |
| { | |
| ((IFn)RT.var ("clojure.core", "require").getRawRoot ()).invoke (Symbol.intern (null, "urbanOutfitters.moholy")); | |
| EllipsulonData.const__0 = RT.var ("urbanOutfitters.moholy", "ellipsulon-point"); | |
| EllipsulonData.const__1 = RT.var ("urbanOutfitters.moholy", "ellipsulon-gizmo"); | |
| EllipsulonData.const__2 = RT.var ("urbanOutfitters.moholy", "uor-register"); | |
| } | |
| // | |
| // Static Methods | |
| // | |
| public static IPersistentVector getBasis () | |
| { | |
| return RT.vector (new object[0]); | |
| } | |
| // | |
| // Methods | |
| // | |
| public override bool HasArity (int num) | |
| { | |
| return false; | |
| } | |
| public override object OnDrawGizmosSelected () | |
| { | |
| return ((IFn)EllipsulonData.const__1.getRawRoot ()).invoke (this); | |
| } | |
| public override object parapoint (object arg) | |
| { | |
| return ((IFn)EllipsulonData.const__0.getRawRoot ()).invoke (this, arg); | |
| } | |
| public override object Start () | |
| { | |
| return ((IFn)EllipsulonData.const__2.getRawRoot ()).invoke (this); | |
| } | |
| } | |
| } |
timsgardner
commented
Feb 5, 2015
Author
Author
UnityException: You are not allowed to call this function when declaring a variable.
Move it to the line after without a variable declaration.
If you are using C# don't use this function in the constructor or field initializers, Instead move initialization to the Awake or Start function.
arcadia/core$objects_typed__981.invoke (System.Object ) (at core.clj:447)
urbanOutfitters/updater$make_updater__231.invoke ()
urbanOutfitters/updater$fn__235__239.invoke ()
__Init__$urbanOutfitters/updater.Initialize ()
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/monoAndRuntimeClassLibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/monoAndRuntimeClassLibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:232)
System.MonoType.InvokeMember (System.String name, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object target, System.Object[] args, System.Reflection.ParameterModifier[] modifiers, System.Globalization.CultureInfo culture, System.String[] namedParameters) (at /Users/builduser/buildslave/monoAndRuntimeClassLibs/build/mcs/class/corlib/System/MonoType.cs:433)
System.Type.InvokeMember (System.String name, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object target, System.Object[] args) (at /Users/builduser/buildslave/monoAndRuntimeClassLibs/build/mcs/class/corlib/System/Type.cs:1149)
clojure.lang.Compiler.InvokeInitType (System.Reflection.Assembly assy, System.Type initType)
Rethrow as AssemblyInitializationException: Error initializing urbanOutfitters.updater.clj, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null: Exception has been thrown by the target of an invocation.
clojure.lang.Compiler.InvokeInitType (System.Reflection.Assembly assy, System.Type initType)
clojure.lang.Compiler.InitAssembly (System.Reflection.Assembly assy, System.String relativePath)
clojure.lang.Compiler.LoadAssembly (System.IO.FileInfo assyInfo, System.String relativePath)
clojure.lang.RT.load (System.String relativePath, Boolean failIfNotFound)
clojure.lang.RT.load (System.String relativePath)
clojure/core$load$fn__52355__52359.invoke ()
clojure/core$load__52362.doInvoke (System.Object )
clojure.lang.RestFn.invoke (System.Object arg1)
clojure/core$load_one__52235.invoke (System.Object , System.Object , System.Object )
clojure/core$load_lib$fn__52273__52277.invoke ()
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/monoAndRuntimeClassLibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:232)
System.MonoType.InvokeMember (System.String name, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object target, System.Object[] args, System.Reflection.ParameterModifier[] modifiers, System.Globalization.CultureInfo culture, System.String[] namedParameters) (at /Users/builduser/buildslave/monoAndRuntimeClassLibs/build/mcs/class/corlib/System/MonoType.cs:433)
System.Type.InvokeMember (System.String name, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object target, System.Object[] args) (at /Users/builduser/buildslave/monoAndRuntimeClassLibs/build/mcs/class/corlib/System/Type.cs:1149)
clojure.lang.Compiler.InvokeInitType (System.Reflection.Assembly assy, System.Type initType)
Rethrow as AssemblyInitializationException: Error initializing urbanOutfitters.moholy.clj, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null: Exception has been thrown by the target of an invocation.
clojure.lang.Compiler.InvokeInitType (System.Reflection.Assembly assy, System.Type initType)
clojure.lang.Compiler.InitAssembly (System.Reflection.Assembly assy, System.String relativePath)
clojure.lang.Compiler.LoadAssembly (System.IO.FileInfo assyInfo, System.String relativePath)
clojure.lang.RT.load (System.String relativePath, Boolean failIfNotFound)
clojure.lang.RT.load (System.String relativePath)
clojure/core$load$fn__52355__52359.invoke ()
clojure/core$load__52362.doInvoke (System.Object )
clojure.lang.RestFn.invoke (System.Object arg1)
clojure/core$load_one__52235.invoke (System.Object , System.Object , System.Object )
clojure/core$load_lib$fn__52273__52277.invoke ()
Rethrow as TypeInitializationException: An exception was thrown by the type initializer for urbanOutfitters.moholy.EllipsulonData
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment