Difference between revisions of "function (日本語)"
m |
m |
||
Line 22: | Line 22: | ||
return utility | return utility | ||
− | <source> | + | </source> |
Latest revision as of 15:28, 20 October 2017
function foo()
~
end
ドット記法 (require 用)
- utility.lua
utility = {}
function utility.options()
~
end
function utility.assist()
~
end
return utility
- main.lua
util = require ('utility')
gamestate = 1
function love.draw()
if gamestate = 1
util.options()
else
util.assist()
end
そのほかの言語
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info