Created
September 17, 2013 16:13
-
-
Save AxGord/6596597 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
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