일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
- Unity
- 게임만들기
- C++
- 비주얼스튜디오
- 이득우언리얼
- python
- visualstudio2022
- 2d게임개발
- qt프로그래밍
- 언리얼
- uidesign
- 화살피하기
- xml쓰기
- 게임
- c#
- 유니티
- 게임개발 독학
- 공부
- 유니티 게임개발
- 유니티 입문
- premake5
- rendermonkey
- c++class
- 화살표 메서드
- qt튜토리얼
- tinyxml2
- 게임개발
- 파이썬
- IMGUI
- qt개발
- Today
- Total
목록전체 글 (78)
신입 개발자 공부 과정
재귀함수= 함수에서 함수 자신을 호출하는 것을 재귀(recursion)이라고 한다. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; using Newtonsoft.Json; namespace HelloWorld { class Program { static void Main(string[] args) { System.Console.WriteLine(4*3*2*1); System.Console.WriteLine(FactorialFor(4)); System.Console.WriteLine(Factorial(4)); Syst..
ref= 참조 전달 방식으로 실제 데이터는 매개변수가 선언된 쪽에서만 저장하고, 호출된 메서드에서는 참조(가리키는것)만 하는 형태로 변수 이름만 전달하는 방식이다 메서드 시그니처 및 메서드 호출에서 인수를 메서드에 참조로 전달합니다. 메서드 시그니처에서 값을 호출자에게 참조로 반환합니다. 멤버 본문에서 참조 반환 값이 호출자가 수정하려는 참조로 로컬에 저장됨을 나타냅니다. 또는 지역 변수가 참조로 다른 값에 액세스함을 나타냅니다. struct 선언에서 ref struct 또는 readonly ref struct를 선언합니다. 방법= static void Main(string[] args) { Vector v1; v1.X = 5; v1.Y = 10; Change(ref v1); Console.WriteLi..

using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Diablo { class Program { static void Main(string[] args) { new App(); } } } using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Diablo { class App { public App() { DataManager.GetInstance().LoadData..

using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApp2 { class Smithy//어떤 아이템을 만들어주세요 { //private Dictionary dic; public Smithy()//Dictionary dic)//생성자 - app에 있는 dictionary값들(id, 등등 쓸려고) { //this.dic = dic; } public Weapon CreatWeapon(int id)//메서드= json에 있는 id값을 입력할거다// 다만 id값은 현재 app이 가지고 있다. { WeaponData data = ..

Q1.해당 내용을 엑셀 내용으로 다음과 같이 작성해본다. 1. JSON파일을만든다 2. JSON파일을 읽는다 3. 맵핑클래스를 만든다 4. 읽어온 json 문자열을 역직렬화 한다 5. 사전에 넣는다 Json 뷰어에서의 모습 Json text 형식 [ { "id": 500, "name": "레저릭의 호기", "level": 41, "goal": "소금 평원에 있는 래저릭에게 시포리움 부스터를 찾아다 줘야 합니다." }, { "id": 501, "name": "안전제일", "level": 41, "goal": "가젯잔에 있는 쉬리브에게 시포리움 부스터를 가져가야 합니다." }, { "id": 502, "name": "일어나라, 흑요암이여!", "level": 46, "goal": "검은 라소릭과 흑요암을 쓰..

using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO;//추가해주고 using Newtonsoft.Json;//추가 namespace ConsoleApp { class App { Dictionary dicItemDatas = new Dictionary(); public App() { string json = File.ReadAllText("./item.data.json");//app 위치에 저장한 json 파일 경로 추가 Console.WriteLine(json);//파일 내용 출력 ItemData[] itemDatas = ..