mirror of
https://github.com/antopilo/Nuake.git
synced 2026-09-21 20:08:40 +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:
18
Editor/resources/Scripts/test.wren
Normal file
18
Editor/resources/Scripts/test.wren
Normal file
@@ -0,0 +1,18 @@
|
||||
import "Scripts/Engine" for Engine
|
||||
class Test {
|
||||
init() {
|
||||
System.print("hello init")
|
||||
}
|
||||
|
||||
update(t) {
|
||||
System.print("hello update %(t)")
|
||||
}
|
||||
|
||||
exit() {
|
||||
System.print("hello exit ")
|
||||
}
|
||||
|
||||
static hello() {
|
||||
Engine.Log("Hello from foreign")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user