mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-09 04:51:49 +00:00
rename spawn to show & add gfx.text3d.hide(...)
This commit is contained in:
parent
eb5715eba9
commit
d74b530a83
5 changed files with 20 additions and 8 deletions
|
|
@ -25,9 +25,9 @@ function on_hud_open()
|
|||
drop.rigidbody:set_vel(velocity)
|
||||
end)
|
||||
|
||||
gfx.text3d.spawn({0.5, 99.5, 0.0015}, "Segmentation fault", {
|
||||
scale = 0.005,
|
||||
color = {0, 0, 0, 1},
|
||||
displayMode = "static_billboard"
|
||||
gfx.text3d.show({0.5, 99.5, 0.0015}, "Segmentation fault", {
|
||||
scale=0.005,
|
||||
color={0, 0, 0, 1},
|
||||
displayMode="static_billboard"
|
||||
})
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue