Lua Scripting in Unity

Published: 05 May 2024
on channel: Walter's Bits
10,752
218

In this simple example, we're going to be instantiating game objects through Lua instead of Unity to demonstrate how to start creating a way to allow users to mod the game. Unity will run the Lua script and populate the level!

Source code for the project is in the link below!
https://github.com/s4lt3d/LuaScriptin...

Timestamps:
0:00 Introduction
0:20 Installing Moon Sharp
0:50 Level Setup
3:28 Agent Navigation Script
4:29 Game Manager Script
4:56 Lua Script Runner
5:50 Initialize Level Script
7:17 Level Pieces Script
8:00 Lua Script
8:45 Agent Navigation Update
9:05 Probuilder
9:52 Rebaking NavMesh Script
10:18 Final Results


On this page of the site you can watch the video online Lua Scripting in Unity with a duration of hours minute second in good quality, which was uploaded by the user Walter's Bits 05 May 2024, share the link with friends and acquaintances, this video has already been watched 10,752 times on youtube and it was liked by 218 viewers. Enjoy your viewing!