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
In questa pagina del sito puoi guardare il video online Lua Scripting in Unity della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Walter's Bits 05 May 2024, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 10,752 volte e gli è piaciuto 218 spettatori. Buona visione!