코딩을 한단계씩 부셔보자.

코딩을 한단계씩 부셔보자.

  • 분류 전체보기 (319)
    • 코딩배움일지 (157)
      • JAVA (79)
      • DataBase (29)
      • Web 구현 (34)
      • 인터페이스 구현 (15)
    • 개인적인 공부 (142)
      • 자바 (6)
      • 백준 (47)
      • Java의 정석 (0)
      • 그냥정리 (2)
      • Database 복습 (5)
      • 테스트 페이지 (1)
      • 프론트엔드 (7)
      • Unity (29)
      • Python (45)
    • TeamProjectHappy (12)
      • front (9)
      • database (3)
    • 개발일지 (2)
      • Journey to West (2)
  • 홈
  • 배움기록
  • 태그
  • 방명록
RSS 피드
로그인
로그아웃 글쓰기 관리

코딩을 한단계씩 부셔보자.

컨텐츠 검색

태그

왕초보 CSS SQL unity java기초 java Python 2D 백준 파이썬 html Web 배열 database 자바 유니티 자바기초 javascript c# javabasic

최근글

댓글

공지사항

아카이브

unity(28)

  • 오브젝트 풀링

    Destroy 후의 Garbage Correct 에 의한 성능 저하를 예방하기 위해 ObjectPooling 으로 전환을 합니다.ObjectManager Scriptsusing System.Collections;using System.Collections.Generic;using UnityEngine;public class ObjectManager : MonoBehaviour{ [Header("Enemy")] public GameObject enemyAcornPrefab; public GameObject enemyCatPrefab; public GameObject enemyDollPrefab; [Header("Item")] public GameObject itemCoinP..

    2025.05.16
  • Background

    배경의 무한이동처럼 보이게 하기using System.Collections;using System.Collections.Generic;using UnityEngine;public class Background : MonoBehaviour{ public float scrollSpeed; private Vector2 startPosition; public float repeatHeight; // Start is called before the first frame update void Start() { startPosition = transform.position; } // Update is called once per frame void Upda..

    2025.05.13
  • URP2D

    URP 로 해야하는데 만약에 못했다면 다시 설치해줘야 한다.설치만 한다고 끝나는 것이 아니고 설정도 해줘야 함.Asset 안에 Settings 빈 폴더를 만들어 주고.URP Asset with 2D Renderer 를 추가해주자그러면 이렇게 Data 랑 PipeLine Asset 이생긴다. 프로젝트 셋팅에 들어간후Render PipeLine Asset 을 추가해준다.이상한거 안만들었으면 이것 하나 밖에 없다.UPR 를 클릭해주면 뭐라뭐라 하는데, Continue 눌러주고 기다리면 된다.마지막으로Global Light 2D 를 추가하면 UnityHub 에서 기본으로 URP 2D를 선택했을 때와 같은 세팅이 된다.

    2025.04.28
  • Blend Tree 를 이용한 Input System

    using System.Collections; using System.Collections.Generic; using System.Net.NetworkInformation; using UnityEngine; public class PlayerMovement : MonoBehaviour { [Header("Config")] [SerializeField] private float speed; private readonly int moveX = Animator.StringToHash("MoveX"); private readonly int moveY = Animator.StringToHash("MoveY"); private PlayerActions actions; private Rigidbody2D rb2D; ..

    2024.01.29
  • EditorWindow

    Unity 안에서 새 창을 만들때 쓴다. using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; public class RoomNodeGraphEditor : EditorWindow { private GUIStyle roomNodeStyle; // Node layout values private const float nodeWidth = 160f; private const float nodeHeight = 75f; private const int nodePadding = 25; private const int nodeBorder = 12; [MenuItem ("Room Node Grap..

    2023.09.12
  • Health Slider issue

    Unity 상에서는 Health Slider 의 문제는 없는 것 같은데 모바일에서 구동하면 Health Slider의 Health 가 임의로 움직여져서 hp의 양을 가늠 할 수가 없다. 유니티에서 작동화면 ( test in unity) 유니티 에서 작동 확인 화면 Unity Remote & in Android (Health Slider Issue) 36 초 부터 문제 발생 문제 원인 Health Slider 의 Navigation 상태를 확인해보니 버튼과 연결이 되어서 버튼을 누르면 작동하는 형식으로 되어 있었다. 버튼 기능도 다 같이 연결되어 있어서 Navigation None 으로 하고 나니 HealthSlider가 문제없이 작동된다.

    2023.09.06
이전
1 2 3 4 5
다음
티스토리
© 2018 TISTORY. All rights reserved.

티스토리툴바