Lua Script Object

$4
Publisher Craig Dennis
File size 650.97kB
Number of files 268
Latest version 1
Latest release date 2024-03-18 09:54:50
First release date 2023-11-20 12:43:13
Supported Unity versions 2018.4.2 or higher

Asset uses MoonSharp under Extension Licenses; see Third-Party Notices.txt file in package for details.


The LuaScriptObject Package is an advanced and comprehensive set of tools that significantly enriches Lua scripting within Unity, offering game developers enhanced flexibility and control. Lua is celebrated for its lightweight, speedy, and robust scripting capabilities and is a popular choice in the gaming industry.


This package is thoughtfully designed for ease of use and smooth integration with Unity projects. It streamlines the scripting process, enabling developers to quickly attach the LuaScriptObject component to any GameObject in the Unity inspector. Equipped with a user-friendly built-in editor, the LuaScriptObject Package not only optimizes Lua scripting but also elevates the overall game development experience, making it an indispensable tool for developers.


This package comes with a multitude of powerful features:


  • Built-in Editor: The LuaScriptObject includes a built-in editor, allowing you to write and manage your Lua scripts directly within the Unity inspector.
  • Ease of Use: Adding the LuaScriptObject to your project is as simple as adding the component to your GameObject in the Unity inspector and writing your script with the built-in editor.
  • Customisation: Easily add your own extension Lua functions that can call your own C# methods, either globally, or attached to your LuaScriptObject object.
  • Coroutine Management: Automatically handles coroutines, allowing scripts to yield and resume easily without worrying about the behind-the-scenes workings.
  • Built-in Lua Functions / Properties: It includes handy Lua functions like wait, wait_until, always for running time or condition sensitive actions, and handy functions like set_parent, sin, and vector2 within scripts. Also you can retrieve and run methods on the game object itself with this.gameObject, or quick access properties like this.position, this.rotation and this.scale.
  • Custom Behavior and Logic: Lua can be used to add custom behavior and logic to game objects and scripts, and also to create custom tools and editor extensions.
  • Rapid Prototyping: Because Lua is interpreted at runtime, it allows for rapid prototyping and iteration during development.
  • Run Modes: You can specify how you want the Lua script to be run. There are three options available: Awake, Start, and Manual.
  • Script Source Type: You can set the Lua script for the LuaScriptComponent by either writing your Lua in the inspector (Inline mode) or dragging in a .lua file (File mode).
  • Excellent Documentation: Well written documentation that covers all aspects of this package and it's features.

Documentation:

-----------------------

https://mugheadstudios.com/files/LuaScriptObject_Documentation.pdf


Contact:

-----------------------

Any questions or suggestions? Please feel free to contact me at [email protected]

Top Publisher Assets