일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
- 로블록스 script local script 차이
- 백준 2225번 c++
- 차이
- 플레이어 이동
- 백준 2193번 c++
- c++
- 프로그래머스 단체사진 찍기 C++
- 유니티 Rigidbody 이동
- 2644번
- 백준
- 프로그래머스 가장 큰 수 C++
- 백준 17299번 c++
- 1699번
- 유니티
- UML Diagram 정리
- bfs
- TOPCIT 문제 유형
- long int 의 차이
- rigidbody.position
- 코드
- 백준 10799번 c++
- 배열 stack overflow
- 풀이
- 유니티 꿀팁
- rigidbody.Moveposition
- transform.position
- 백준 10844번 c++
- 유니티 LTS
- 백준 11726번 C++
- TOPCIT 후기
- Today
- Total
Kiki Devlog
[Lua] script 와 local script 차이 (루아) 본문
LocalScripts are for client-side use, scripts are server-sided.
script
: 얘는 모든 플레이어에게 동일하게 보이는 server을 통제함
Script는 오직 아래의 범위안에 들어있을 때만 작동함.
- Workspace
- ServerScriptService
- A player’s Backpack
local script
- You can collect player input on the server. But The Server( = 그냥 script) can not tell when a user presses a certain key, or clicks the mouse.
- Game changes that happen within a LocalScript only affect the local player. If a client needs to make a change that affects the entire server, the client can send a remote request to the server.
LocalScript는 오직 아래의 범위안에 들어있을 때만 작동함.
- A player’s Character model
- A player’s PlayerGui
- A player’s Backpack
- A player’s PlayerScripts folder
- A Tool (only when equipped by a player)
- The ReplicatedFirst folder
local player = game.Players.LocalPlayer -- local script 에서만 사용가능
Roblox Client-Server Model
This Platform uses cookies to offer you a better experience, to personalize content, to provide social media features and to analyse the traffic on our site. For further information, including information on how to prevent or manage the use of cookies on t
developer.roblox.com
아래 링크의 client to server 부분 참고
Remote Functions and Events (roblox.com)
Remote Functions and Events
This Platform uses cookies to offer you a better experience, to personalize content, to provide social media features and to analyse the traffic on our site. For further information, including information on how to prevent or manage the use of cookies on t
developer.roblox.com
'Lua & Roblox > Roblox' 카테고리의 다른 글
[21.7.31] 루아 기초 공부 (0) | 2021.07.31 |
---|---|
[21.7.30] 로블록스 기초 공부 (0) | 2021.07.30 |