mirror of
https://github.com/antopilo/Nuake.git
synced 2026-09-15 20:08:54 +03:00
Added Wren scripting with module system 📚
Added Input pressed, released system Added interface button support with wren onclick callback
This commit is contained in:
15
Editor/resources/Scripts/Engine.wren
Normal file
15
Editor/resources/Scripts/Engine.wren
Normal file
@@ -0,0 +1,15 @@
|
||||
class Engine {
|
||||
foreign static Log(msg)
|
||||
}
|
||||
|
||||
class Vector3 {
|
||||
construct new(x, y, z) {
|
||||
_x = x
|
||||
_y = y
|
||||
_z = z
|
||||
}
|
||||
}
|
||||
|
||||
class Entity {
|
||||
foreign GetComponent(type)
|
||||
}
|
||||
Reference in New Issue
Block a user