ํฌํค์ ๋๋ฉ์ดํฐ ๋ทฐ ์ปดํฌ๋ํธ๋ฅผ ๋ณด๋ฉด ํธ๋ฆฌ๊ฑฐ๋ฅผ ์ฌ์ฉํ๋ค๋ฉด, ์ด ์ปดํฌ๋ํธ๋ฅผ ์คํ ๊ฐ์ฅ ์๋์ชฝ์ ๋ฐฐ์นํ๋ผ๊ณ ํ๋๋ผ๊ตฌ์.
๊ทธ๋์ ๊ฐ์ฅ ์๋์ชฝ์ ๋ฐฐ์นํ๋๋ฐ๋ ์ฌ์ ํ boolํ์ ์ ๋๊ธฐํ๊ฐ ์ ๋๋ ๋ฐ๋ฉด, ํธ๋ฆฌ๊ฑฐ๋ ์ ๋์ง ์์ต๋๋ค.
ํฌํค2 ์ฌ์ดํธ์์๋
When Using Trigger Parameters, make sure the component that sets the trigger is higher in the stack of Components on the GameObject than 'PhotonAnimatorView' Triggers are raised true during one frame only.
๋ผ๊ณ ๋งํ๊ณ ์๋ค์.
์ด๊ฒ ํฌํค์ ๋๋ฉ์ดํฐ๋ทฐ ์ปดํฌ๋ํธ๋ฅผ ํธ๋ฆฌ๊ฑฐ๋ฅผ On์ํค๋ ์ปดํฌ๋ํธ (์๋ฅผ๋ค๋ฉด Player ์คํฌ๋ฆฝํธ)๋ณด๋ค ์๋์ชฝ์ ์์น์ํค๋ผ๋ ๋ง ์๋๊ฐ์?
์ด๋๋ ๋๊ธฐํ๊ฐ ๋์ง ์๋๋ค๋ฉด ์ด๋กํด์ผํ ๊น์?
if you still expeirience issues, implement triggers as a regular RPC or in custom IPunObservable component instead.
๋ผ๊ณ ๋์์๋๋ฐ RPC์ IPunObservable์ ์ด๋ป๊ฒ ํ์ฉํด์ผ ์ด๋ฅผ ํด๊ฒฐํ ์ ์๋์ง๋ ์๊ณ ์ถ์ต๋๋ค ใ ใ
ํฌํค ๋ค๋ค๋ณด๋ ์ฌ๋ฏธ์๋๋ฐ ์์ํ ๊ฐ๋ ์ด๋ผ ์ค๋ ํ๋ฃจ๋งํด๋ ๋งํ๋ ๋ถ๋ถ์ด ๋๋ฌด ๋ง๋ค์... ๋ง์ ์กฐ์ธ ๋ฐ๋๋๋ค
์... RPC๋ฅผ ํ์ฉํ๋๊ฑด ๋ง ๊ทธ๋๋ก RPC๋ฅผ ํ์ฉํ๋ผ๋ ๋ง์ธ๊ฑฐ๊ฐ๋ค์ ๊ทผ๋ฐ IPunObservable์ ํ์ฉํ๋ผ๋๊ฑด stream.isWriting์ผ๋ animator.SetTrigger(); else ์ผ๋ animator.GetTrigger();๋ฅผ ํ์ฉํ๋ผ๋ ๋ง์ผ๊น์? ์ด๊ฒ ๋๋์ง๋ ๊ถ๊ธํ๋ค์