본문 바로가기

c#43

도끼 던져서 맞추기 과제 - 미완성 버튼 누르면 도끼생성 후 돌면서 날아가고 몬스터 있는 곳까지 감 멈추는거 다시 설정하고 맞추면 도끼 사라지는거 해야함!! 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 using System.Collections; using System.Collections.Generic; using UnityEngine; using System; using UnityEngine.UI; public class App : MonoBehaviour { public Hero hero; public Axe axe; public Button btn; private GameObject axeGo; // Start is called before the first fr.. 2020. 5. 13.
2020.05.01 2048 이차열 배열 사용해서 만들기 미완성 움직이면 인접한 숫자 합쳐지고 랜덤으로 숫자 생기는 것 까지 완성 칸 다 채워지면 게임 끝나는거 설정하면 됨 수정 중 2020. 5. 1.
2020.05.01 책에서 대리자 읽어보고 인터넷으로 대리자 검색해서 알아두기!! 무명메서드 중요함 2020. 5. 1.
2020.05.01 이차원 배열 움직이기 실행 코드 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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 enum eMoveType { Up, Down, Right, Left } class App { public int[] xy; public int[,] arr; public App() { //int[.. 2020. 5. 1.
2020.04.29 출석 보상 아이템 출석 보상 아이템 다시 만들어봤습니다. 집에 프로그램이 이상해서 코드 치면서 길어지면 어느 순간부터 수정해도 실행 창이 바뀌지 않아서 시간이 오래 걸렸습니다ㅠㅠ 새로운 건 찾아서 차근차근 만들어서 또 올리도록 하겠습니다! App 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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 .. 2020. 4. 30.
2020.04.24 수업내용 업적과 % 출력 업적 이미지 실행 코드 classApp 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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threadin.. 2020. 4. 27.
과제 1. 개체 지향 프로그래밍의 특징 https://docs.microsoft.com/ko-kr/dotnet/csharp/programming-guide/classes-and-structs/inheritance 2. 개체 지향 프로그래밍 5대원칙 3. 다형성? https://docs.microsoft.com/ko-kr/dotnet/csharp/programming-guide/classes-and-structs/polymorphism 2020. 4. 22.
2020.04.22 json파일 역직렬화, 직렬화 Achievement 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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 12.. 2020. 4. 22.
2020.04.13 if문 사용 Starcraft 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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Task.. 2020. 4. 13.
2020.04.10 과제 Character Class 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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 12.. 2020. 4. 12.
2020.04.09 enum과 switch 사용 weapon 실행코드 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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.. 2020. 4. 9.
2020.04.08 과제 enum 캐릭터 생성 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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threadi.. 2020. 4. 8.