공부하는 Nar
article thumbnail
Published 2021. 12. 23. 11:11
[디토랜드] Visibility LuaScript

 

ServerScript

 

--Workspace/Sample/Cube1 경로에 있는 오브젝트를 Cube 변수에 할당해요.
local Cube = Workspace.Sample.Cube1 

wait(2) --2초를 기다린뒤,
Cube:SetVisibility(false) --오브젝트를 보이지 않게 해요.

wait(2) --2초를 기다린뒤,
Cube:SetVisibility(true) --오브젝트를 보이게 해요.

 

 

 

Script Log

 

'LuaScript' 카테고리의 다른 글

[디토랜드] Damage&Heal  (0) 2021.12.23
[디토랜드] Enable  (0) 2021.12.23
[디토랜드] Parent  (0) 2021.12.23
[디토랜드] GetChildList  (0) 2021.12.23
[디토랜드] GetColor&SetColor  (0) 2021.12.23
profile

공부하는 Nar

@NarS2

포스팅이 좋았다면 "좋아요❤️" 또는 "구독👍🏻" 해주세요!