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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Tiny Lab Productions Projects</title> | |
<style> |
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
static void UpdateCoord(ref float x) { x = x < 0 ? (360 + x) : x; } | |
public static Vector3 ReCountAngle(Vector3 ang) { | |
UpdateCoord(ref ang.x); | |
UpdateCoord(ref ang.y); | |
UpdateCoord(ref ang.z); | |
return ang; | |
} |
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
// Usage | |
log.debug(s"Writing batched data to DB (singles: ${data.size}, arrays ${arrayData.size})") | |
// Implementation | |
def debug(message: String): Unit = macro LoggerMacro.debugMessage | |
// Macro | |
def debugMessage(c: LoggerContext)(message: c.Expr[String]) = { | |
import c.universe._ | |
val underlying = q"${c.prefix}.underlying" |
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
03-29 11:41:42.130: I/Unity(29707): [T1|DEBUG]> Activating MarsMedia | |
03-29 11:41:42.130: I/Unity(29707): UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object) | |
03-29 11:41:42.130: I/Unity(29707): UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[]) | |
03-29 11:41:42.130: I/Unity(29707): UnityEngine.Logger:Log(LogType, Object, Object) | |
03-29 11:41:42.130: I/Unity(29707): UnityEngine.Debug:Log(Object, Object) | |
03-29 11:41:42.130: I/Unity(29707): com.tinylabproductions.TLPLib.Logger.UnityLog:logInner(Level, String, Option`1) (at C:\work\unity\funkidracing\unity\Assets\Plugins\Vendor\TLPLib\Logger\Log.cs:206) | |
03-29 11:41:42.130: I/Unity(29707): com.tinylabproductions.TLPLib.Logger.LogBase:log(Level, Object, Object) (at C:\work\unity\funkidracing\unity\Assets\Plugins\Vendor\TLPLib\Logger\Log.cs:175) | |
03-29 11:41:42.130: I/Unity(29707): com.tinylabproductions.TLPLib.Logger.ILogExts:debug(ILog, Object, Object) (at C:\work\unity\funkidracing\unity\Assets\Plugins\Vendor\TLPLib\Logger\Log.cs:13 |
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
03-28 17:15:34.190: I/Unity(31519): [Tm|DEBUG]> Activating MarsMedia | |
03-28 17:15:34.190: I/Unity(31519): UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object) | |
03-28 17:15:34.190: I/Unity(31519): UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[]) | |
03-28 17:15:34.190: I/Unity(31519): UnityEngine.Logger:Log(LogType, Object, Object) | |
03-28 17:15:34.190: I/Unity(31519): UnityEngine.Debug:Log(Object, Object) | |
03-28 17:15:34.190: I/Unity(31519): com.tinylabproductions.TLPLib.Logger.UnityLog:logInner(Level, String, Option`1) (at C:\work\unity\funkidracing\unity\Assets\Plugins\Vendor\TLPLib\Logger\Log.cs:206) | |
03-28 17:15:34.190: I/Unity(31519): com.tinylabproductions.TLPLib.Logger.LogBase:log(Level, Object, Object) (at C:\work\unity\funkidracing\unity\Assets\Plugins\Vendor\TLPLib\Logger\Log.cs:175) | |
03-28 17:15:34.190: I/Unity(31519): com.tinylabproductions.TLPLib.Logger.ILogExts:debug(ILog, Object, Object) (at C:\work\unity\funkidracing\unity\Assets\Plugins\Vendor\TLPLib\Logger\Log.cs:13 |
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
# #!/bin/bash | |
$ErrorActionPreference = "Stop" | |
# Set-PSDebug -trace 2 -strict # Debugging | |
[string] $CMD_TEST = "test" | |
[string] $CMD_BUILD = "build" | |
if ($args.Count -lt 5) { | |
Write-Host |
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
/** Access to ```internal AndroidJavaObject(IntPtr jobject)``` */ | |
static readonly Fn<object[], AndroidJavaObject> ajoCreator = | |
PrivateConstructor.creator<AndroidJavaObject>(); | |
public static AndroidJavaObject cjoReturningNull( | |
this AndroidJavaObject javaObject, string methodName, params object[] args | |
) { | |
if (args == null) args = new object[1]; | |
var methodId = AndroidJNIHelper.GetMethodID<AndroidJavaObject>( |
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
public class HashMap : Binding { | |
public HashMap(AndroidJavaObject java) : base(java) {} | |
public HashMap() : base(new AndroidJavaObject("java.util.HashMap")) {} | |
public HashMap( | |
IEnumerable<KeyValuePair<AndroidJavaObject, AndroidJavaObject>> enumerable | |
) : this() { | |
foreach (var kv in enumerable) put(kv.Key, kv.Value); | |
} |
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
09-15 10:30:11.005: A/art(10438): art/runtime/java_vm_ext.cc:410] JNI DETECTED ERROR IN APPLICATION: GetStringUTFChars received NULL jstring | |
09-15 10:30:11.006: A/art(10438): art/runtime/java_vm_ext.cc:410] in call to GetStringUTFChars | |
09-15 10:30:11.006: A/art(10438): art/runtime/java_vm_ext.cc:410] from void com.unity3d.player.UnityPlayer.nativeUnitySendMessage(java.lang.String, java.lang.String, java.lang.String) | |
09-15 10:30:11.006: A/art(10438): art/runtime/java_vm_ext.cc:410] "UnityMain" prio=5 tid=12 Runnable | |
09-15 10:30:11.006: A/art(10438): art/runtime/java_vm_ext.cc:410] | group="main" sCount=0 dsCount=0 obj=0x12f1aa00 self=0xaa24a000 | |
09-15 10:30:11.006: A/art(10438): art/runtime/java_vm_ext.cc:410] | sysTid=10457 nice=0 cgrp=default sched=0/0 handle=0x95c56930 | |
09-15 10:30:11.006: A/art(10438): art/runtime/java_vm_ext.cc:410] | state=R schedstat=( 2488018876 249668251 4746 ) utm=223 stm=24 core=1 HZ=100 | |
09-15 10:30:11.006: A/art(10438): art/runtime/java_vm_ext.cc:410] | stack=0x95b540 |
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
NullReferenceException: Object reference not set to an instance of an object | |
GreedyGame.Platform.Dummy.DummyWrapper+<init>c__Iterator0.MoveNext () | |
GreedyGame.Platform.NativeWrapper+<init>c__Iterator0.MoveNext () | |
UnityEngine.SetupCoroutine.InvokeMoveNext (IEnumerator enumerator, IntPtr returnValueAddress) (at C:/buildslave/unity/build/Runtime/Export/Coroutines.cs:17) |