Quantcast
Channel: Answers for "function properties in Unity Javascript"
Browsing latest articles
Browse All 4 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) //<-- It should make Function. Unity Function can use in a var in javascript. var callFunction : Function;...

View Article

Browsing latest articles
Browse All 4 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>