Created
December 18, 2012 10:16
-
-
Save gashtio/4326866 to your computer and use it in GitHub Desktop.
Binding JavaScript automatically in Unity3D using Coherent UI
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
public class AutomaticBinding : MonoBehaviour { | |
[Coherent.UI.CoherentMethod("ApplyOptions", false)] | |
public void ApplyOptions(GameOptions options) | |
{ | |
// Do something with options | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment