rxo2 님의 블로그

  • 홈
  • 태그
  • 방명록

random 2

25.02.10(월) - 본 캠프 TIL 16일차 (Today I Learned)

씨샵 문법 종합반 강의 중 게임만들기 과제의 풀이를 보며 코드숙지중 팀 프로젝트 병합중 수정사항 수정  깃허브 숙지 List randmonsters = new List(); int rand = random.Next(1, monsters.Count + 1); // 랜덤으로 몬스터 수가 나올때 최소 1마리 이상은 나오게끔for (int i = 0; i {     int monsterIndex = random.Next(monsters.Count); // 0~3번까지의 인덱스 랜덤선택     randmonsters.Add(monsters[monsterIndex]); // 랜덤 인덱스를 랜덤으로 생겨난 몬스터 리스트에 저장 } foreach (Monster m in randmonsters) {     m.Mons..

카테고리 없음 2025.02.10

25.02.07(금) - 본 캠프 TIL 15일차 (Today I Learned)

팀 프로젝트 진행개인과제 해설영상과 기존의 강의들을 다시 참고하여 작성및 진행된 부분까지 리더의 화면 공유로 피드백. static void Main 에서 Main 메서드는 하나만 사용 가능         int intput = ConsoleUtility.GetInput(0, 0);         if (intput == 0)         {             //Main();         }     } } static public class ConsoleUtility {     static public int GetInput(int min, int max)     {         while (true)         {             if (int.TryParse(Console.ReadL..

카테고리 없음 2025.02.07
이전
1
다음
더보기
프로필사진

rxo2 님의 블로그

rxo2 님의 블로그 입니다.

  • 분류 전체보기 (89)

Tag

takephysicaldamage, 노치(notch), addforce, forcemode2d.impulse, dontdestroyonload(), 넉백, OnCollisionExit2D, ui클릭감지, cursor.lockstate, random, lod group, fill amount, oncollisionstay, forcemode, 물리 힘, button 할당, ui 정렬, audio source, eventsystem.current, 마우스좌표변환,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/12   »
일 월 화 수 목 금 토
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

방문자수Total

  • Today :
  • Yesterday :

Copyright © AXZ Corp. All rights reserved.

티스토리툴바