implement osis actor
This commit is contained in:
12
examples/scripts/object.rhai
Normal file
12
examples/scripts/object.rhai
Normal file
@@ -0,0 +1,12 @@
|
||||
// object.rhai
|
||||
|
||||
// Assuming a builder function `object__builder` exists based on the project's pattern.
|
||||
let new_object = object__builder(1)
|
||||
.name("My Dynamic Object")
|
||||
.description("An example of a generic object.")
|
||||
.set_property("custom_field", "custom_value")
|
||||
.build()
|
||||
.save_object();
|
||||
|
||||
print("New Object:");
|
||||
print(new_object);
|
Reference in New Issue
Block a user