์ธ๋ฒคํ ๋ฆฌ ๋ง๋ค๋ผ๊ณ ํด๋์ค ํ๋ ํ ๋๋ฐ
์ด์ง ์ธ์ด๋ธ์ Types์ ์ธ๋ผ๊ณ ํด๋์ค ๋ฃ์ผ๋๊น
AssetsEasy Save 3TypesES3UserType_Items.cs(50,23): error CS7036: There is no argument given that corresponds to the required formal parameter '_code' of 'Items.Items(int, int, int)'
์ด๊ฑฐ ๋ธ
ํ์
ํ๋ฉด ์๊ธฐ๋ ์ฝ๋์์ ์ค๋ฅ ๋๋ ๋ถ๋ถ์ธ๋ฐ ์ด๋ป๊ฒ ๋์ํ๋์ง ๋ชฐ๋ผ์ ์์ ๋ ๋ชปํ๊ฒ์...
public class Items
{
public Items(int _code, int _type, int _count) { code = _code; type = _type; count = _count; }
public int code, type, count;
}
Items๋ ์ผ์ผ ์๊น
์์ดํ ์์ฑ์ ์ธ์์ ๋ฌํ๋ผ๋๊ฑฐ ์๋?
์ฐจํผ ๊ฐ ๋ฎ์ด ์์์ง๋๊ฑฐ ๊ฐ์๋ฐ ์๊ฑฐ๋ ๋ฃ์ด๋ ๋๋๊ฑด๊ฐ
๋๋น