asked
[MMORPG Game Development Series with C# and Unity] Part 1: Introduction to Basic C# Programming
Create a TextRPG Player
Written on
·
221
1
이전 문법 수업에서 설명해주신거 다시 보고왔는데도 왜 ref대신 out을 쓰는지 이해가 안갑니다.
CreatePlayer(ref hp, ref attack);
으로 하면 안되나요?
Answer 2
3
비슷한 질문이 올라온 기억이 있어서 링크 첨부 드립니다.https://www.inflearn.com/questions/30171
0
읽어보니까 이제 대충 이해가 됩니다. 빠른 답변 감사합니다.