SpawnLocation
SpawnLocation : Part
Overview
SpawnLocation์ ํ๋ ์ด์ด์ ์บ๋ฆญํฐ๊ฐ ์์ฑ๋ ์์น๋ฅผ ์ง์ ํ๋ ๊ฐ์ฒด์ ๋๋ค.
ํ๋ ์ด์ด๊ฐ ๊ฒ์์ ์ ์ฅํ๊ฑฐ๋, ๊ฒ์ ๋์ค ์บ๋ฆญํฐ๊ฐ ์ฌ๋งํ์ ๋ SpawnLocation ์์น์์ ์บ๋ฆญํฐ๊ฐ ๋ค์ ์์ฑ๋ฉ๋๋ค.
Properties
Enabled
bool
SpawnLocation์ ํ์ฑํ ์ฌ๋ถ๋ฅผ ์ค์ ํฉ๋๋ค.
๋นํ์ฑํ๋ ์ํ์ SpawnLocation์๋ ์บ๋ฆญํฐ๊ฐ ์์ฑ๋์ง ์์ผ๋ฉฐ, ์คํฐ๋ ์ ์๋ SpawnLocation์ด ํ๋๋ ์๋ ๊ฒฝ์ฐ, (0, 0, 0) ์ขํ์ ์์ฑ๋ฉ๋๋ค.
Code Samples
Neutral
bool
ํด๋น SpawnLocation์ด ํน์ ํ์ ์ํ๋์ง ์ฌ๋ถ๋ฅผ ์ค์ ํฉ๋๋ค.
์ด ์์ฑ์ด true์ธ ๊ฒฝ์ฐ, ํ๊ณผ ๊ด๊ณ์์ด ๋ชจ๋ ํ๋ ์ด์ด๊ฐ ํด๋น ์คํฐ ์ง์ ์์ ์์ฑ๋ ์ ์์ต๋๋ค.
๋ฐ๋๋ก false์ธ ๊ฒฝ์ฐ, ํ๋ ์ด์ด์ ํ ์์(Player.TeamColor)์ด ํ ์์(SpawnLocation.TeamColor)๊ณผ ์ ํํ ์ผ์นํ ๊ฒฝ์ฐ์๋ง ํด๋น ์ง์ ์์ ์บ๋ฆญํฐ๊ฐ ์์ฑ๋ฉ๋๋ค.
Code Samples
TeamColor
BrickColor
ํ์ฌ ์ง์๋์ง ์์ต๋๋ค.
Code Samples
Methods
Events
Last updated