김재연_Networking 과제 제출#3
Open
0xwiederholen wants to merge 5 commits into
Open
Conversation
- 랜덤 룸이 아닌 특정한 룸 지정해주기
|
안녕하세요 재연님! 데브 시니어 최순규입니다. 먼저 과제하느라 고생 정말 많으셨습니다... 하트는 PhotonView가 붙은 Prefab을 PhotonNetwork.Instantiate 하는 방식으로 하트를 생성한게 맞으신가요? 만약PhotonNetwork.Instantiate로 생성한 오브젝트에 그냥 Destroy를 사용해 파괴하셨다면 Destroy대신 PhotonNetwork.Destroy를 사용해보시고 오류가 고쳐지는지 한번 확인해보시기 바랍니다. 혹시 이미 PhotonNetwork.Destroy를 사용하고 있거나, 다른 방법을 사용했거나(캐릭터 프리팹에 하트를 합성하고 OnPhotonSerializeView를 통해 껐다켰다 하기 등), 이 부분을 수정해도 동작하지 않는다면 다시 말씀해주세요! |
|
사족이긴 하지만 제가 저번 학기에 Xreal 하면서 CEOS 14기로도 참가했는데 풀링 프로젝트 진행하셨던 분을 여기서 뵙네요! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
코로롱 막차에서 내려 이제야 업로드합니다ㅠㅠㅠㅠㅠ
https://drive.google.com/file/d/1hx-wcfkLN8BxykYfZT1_BQTD4coi-POk/view?usp=sharing
photon 사용이 재밌었던 과제였습니다! 세션 강의를 들어도 photon 감이 안잡혔을 땐 플레이어 동기화부터 막혔었는데 로비와 룸 개념 잡고 synchronization 로그를 찍어보며 점점 감을 익혔던것 같습니다~ :)
시간상 J버튼 눌렀을 떄 floating 되는 하트는 구현 못했지만 기회가 되면 이어서 해보겠습니다.ㅠㅠ
+) H버튼을 떼면 하트가 destroy 되고 동기화 로그에도 찍히는데 다른 플레이어 화면에서 하트가 사라지지 않는 버그가 있습니다! 관련해서 아시는 분은 코멘트 부탁드립니다~