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
| import weakref | |
| from sqlalchemy import \ | |
| Column, Integer, String, MetaData, ForeignKey | |
| from sqlalchemy.ext.declarative import \ | |
| declarative_base, DeclarativeMeta, declared_attr | |
| from sqlalchemy.orm import \ | |
| relationship | |
| # noinspection PyProtectedMember | |
| from sqlalchemy.ext.declarative.api import \ | |
| _declarative_constructor |
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
| git clone <PRIVATE REPO> | |
| cd sdk | |
| git fetch --all | |
| git pull --all | |
| for branch in $(git branch --all | grep '^\s*remotes' | egrep --invert-match '(:?HEAD|master)$'); do | |
| git branch --track "${branch##*/}" "$branch" | |
| done | |
| git fetch --all | |
| git pull --all | |
| cd .. |
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 UnityEngine; | |
| using System.Collections; | |
| public class TestScript : MonoBehaviour | |
| { | |
| void Start() | |
| { | |
| StartCoroutine( waitForASec() ); | |
| } |
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
| diff --git a/Assets/bolt/scripts/udpkit/Native/NativePInvoke.cs b/Assets/bolt/scripts/udpkit/Native/NativePInvoke.cs | |
| index e3af984..ccf16c0 100644 | |
| --- a/Assets/bolt/scripts/udpkit/Native/NativePInvoke.cs | |
| +++ b/Assets/bolt/scripts/udpkit/Native/NativePInvoke.cs | |
| @@ -38,11 +38,11 @@ public static class NativePInvoke { | |
| [DllImport(DLL_NAME)] | |
| [SuppressUnmanagedCodeSecurity] | |
| - public static extern Int32 SendTo(IntPtr socket, [Out] byte[] buffer, int size, UdpEndPoint.Native addr); | |
| + public static extern Int32 SendTo(IntPtr socket, byte[] buffer, int size, UdpEndPoint.Native addr); |
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
| private IEnumerator _doFlash(bool first) | |
| { | |
| _mesh.colors32 = _darkColours[_colourIndex]; | |
| MainScript.log( "flashing to", this, MainScript.joinL(_mesh.colors32) ); | |
| yield return new WaitForSeconds(0.3f); | |
| _mesh.colors32 = _colours[_colourIndex]; | |
| MainScript.log("flashing back to", this, MainScript.joinL(_mesh.colors32) ); | |
| yield return new WaitForSeconds(0.3f); | |
| } |
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
| void LocalNotification(NSString* body, int seconds, NSString* action) | |
| { | |
| UILocalNotification *localNotification = [ [UILocalNotification alloc] init ]; | |
| if(localNotification == nil) | |
| { | |
| return; | |
| } | |
| // Set the fire date/time | |
| [ localNotification setFireDate: [ [NSDate date] dateByAddingTimeInterval: seconds ] ]; |
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
| package com.sixminute.freeracing; | |
| import android.app.Activity; | |
| import android.os.AsyncTask; | |
| import android.os.Bundle; | |
| import android.util.Log; | |
| import android.view.View; | |
| import android.widget.Button; | |
| import org.apache.http.HttpResponse; |
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
| diff --git a/Assets/GooglePlayGames/BasicApi/DummyClient.cs b/Assets/GooglePlayGames/BasicApi/DummyClient.cs | |
| index 337469f..cc7f754 100644 | |
| --- a/Assets/GooglePlayGames/BasicApi/DummyClient.cs | |
| +++ b/Assets/GooglePlayGames/BasicApi/DummyClient.cs | |
| @@ -43,6 +43,18 @@ public class DummyClient : IPlayGamesClient | |
| LogUsage(); | |
| } | |
| + public string GetAccessToken() | |
| + { |
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
| diff -r 983242b3e120 -r be189741ef87 PlatformDependent/iPhonePlayer/iPhone-Trampoline/Classes/Unity/WWWConnection.h | |
| --- a/PlatformDependent/iPhonePlayer/iPhone-Trampoline/Classes/Unity/WWWConnection.h Thu May 14 11:57:01 2015 +0100 | |
| +++ b/PlatformDependent/iPhonePlayer/iPhone-Trampoline/Classes/Unity/WWWConnection.h Wed May 27 12:14:52 2015 +0300 | |
| @@ -22,6 +22,7 @@ | |
| @property (readonly, nonatomic) void* udata; | |
| @property (nonatomic) BOOL shouldAbort; | |
| +@property (atomic) BOOL done; | |
| @end |
NewerOlder