This file contains 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 System; | |
using System.Collections; | |
using Normal.Realtime; | |
using UnityEngine; | |
namespace Network | |
{ | |
[RequireComponent(typeof(Realtime))] | |
public class RealtimeSessionCaptureDouble : MonoBehaviour | |
{ |
This file contains 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 Normal.Realtime; | |
using UnityEditor; | |
using UnityEngine; | |
namespace Normcore.Editor | |
{ | |
public static class AddCleanupForRealtimeView | |
{ | |
[MenuItem("CONTEXT/RealtimeView/Cleanup child views")] | |
static void RealtimeViewCleanupChildViews(MenuCommand command) |
This file contains 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 org.robotlegs.utilities.remote | |
{ | |
import com.adobe.serializers.json.JSONDecoder; | |
import mx.collections.ArrayCollection; | |
public class JsonRemoteService extends RemoteServiceBase | |
{ | |
public function JsonRemoteService(rootURL:String = "") | |
{ |
This file contains 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
var coroutineEnumerator = StartCoroutine(); | |
var coroutine = StartCoroutine(coroutineEnumerator); | |
if(coroutineEnumerator.Current != null) | |
yield return coroutine; | |
else | |
//we are here in the same frame if the coroutine ended |
This file contains 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
#add lines below to the hosts file | |
0.0.0.0 facebook.com | |
0.0.0.0 www.facebook.com | |
0.0.0.0 https://facebook.com | |
0.0.0.0 https://www.facebook.com |
This file contains 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 | |
{ | |
import flash.display.Sprite; | |
import flash.events.Event; | |
import flash.geom.Rectangle; | |
import nape.util.ShapeDebug; | |
public class KinematicCollisionDetectionBug extends Sprite | |
{ |
This file contains 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.blackmoondev.ashes.fsm | |
{ | |
import ash.fsm.EntityStateMachine; | |
public class ActionList implements IActionList | |
{ | |
public function ActionList( fsm : EntityStateMachine, states : Vector.<String> ) { | |
this.fsm = fsm; | |
this.states = states || new Vector.<String>(); | |
} |
This file contains 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
/** | |
* Created with IntelliJ IDEA. | |
* User: wrobel221 | |
* Date: 10.10.12 | |
* Time: 00:13 | |
* To change this template use File | Settings | File Templates. | |
*/ | |
package com.blackmoondev.panda.boot.test | |
{ | |
import com.blackmoondev.ashes.debug.DebugFunctionCaller; |
This file contains 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
var verts : Array = Polygon.regular( width *.5, height, 4, -Math.PI * .5 ); | |
verts.splice( 2, 1 ); | |
var shape:Shape = new Polygon( verts ); |
This file contains 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
//this one works fine | |
package | |
{ | |
import flash.display.Sprite; | |
import robotlegs.bender.bundles.mvcs.MVCSBundle; | |
import robotlegs.bender.extensions.signalCommandMap.SignalCommandMapExtension; | |
import robotlegs.bender.framework.api.IContext; | |
import robotlegs.bender.framework.impl.Context; |
NewerOlder