redlkop

导航

2017年10月13日 #

unity 的一些API-01

摘要: public static float GetAxis(string axisName); 看下原话解释: Returns the value of the virtual axis identified by axisName. Returns the value of the virtual a 阅读全文

posted @ 2017-10-13 23:51 redlkop 阅读(178) 评论(0) 推荐(0)

lua-01

摘要: ctrl + shift + L =>Lua的快捷键 回调代码: function fact(n) if n == 1 then returen n else return n*fact(n-1) end function 可作为值那样传递: function test(tab,fun)for k, 阅读全文

posted @ 2017-10-13 00:31 redlkop 阅读(143) 评论(0) 推荐(0)