Skip to content

Instantly share code, notes, and snippets.

@AxGord
Created September 17, 2013 16:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AxGord/6596597 to your computer and use it in GitHub Desktop.
Save AxGord/6596597 to your computer and use it in GitHub Desktop.
package ;
import bindx.IBindable;
import unityengine.MonoBehaviour;
using bindx.Bind;
/**
* Test
* @author AxG
*/
class Test extends MonoBehaviour implements IBindable
{
@bindable public var open:Bool;
public function new()
{
super();
open.bindx(f);
}
private function f(from:Bool, to:Bool):Void {
trace([from, to]);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment