Jump to content

Function on Lua


Yue
 Share

Recommended Posts

Hello, I have a concern, it seems that in Lua, in the Main.lua file, I have to declare the functions first before being used, right?. At the end of the file I created some functions, but I can't use them, so I had to put them in the header of the file. Is there an optional way to put them anywhere like C+++ and then use them?

Mars.jpg.89ab63a64eebc1f5ada0ab82b66a1f8c.jpg

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...