Quantcast
Channel: Answers for "function properties in Unity Javascript"
Browsing all 4 articles
Browse latest View live

Answer by Peter G

They're both function types. var myFunc : function = Update; then you can pass them to a function: function SomeAction ( target : Object , callback : function(Object) ) { callback(target); }

View Article



Answer by YikYikHeiHei

Are you want to show what is Update? If that, you should do this Debug.Log(Function) //

View Article

Answer by Peter G

They're both function types. var myFunc : function = Update; then you can pass them to a function: function SomeAction ( target : Object , callback : function(Object) ) { callback(target); }

View Article

Answer by YikYikHeiHei

Are you want to show what is Update? If that, you should do this Debug.Log(Function) //

View Article
Browsing all 4 articles
Browse latest View live




Latest Images