본문 바로가기

WJ의 개인블로그

검색하기
WJ의 개인블로그
프로필사진 WABA

  • 분류 전체보기 (6)
    • C\C++ (0)
      • 기초 (0)
      • 기초_2 (0)
      • 과제 (0)
    • API\MFC (0)
      • API (0)
      • MFC (0)
      • 과제 (0)
    • Unity (5)
      • Unity 설정 (2)
      • Unity 기초 (3)
    • 유용한프로그램 (1)
    • 기타 (0)
      • 개인정보처리방침 (0)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/05   »
일 월 화 수 목 금 토
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
Tags
  • 유니티
  • C#
  • C# 기초
  • 유니티 기초
  • Android 빌드
  • 안드로이드 빌드
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록C# (2)

WJ의 개인블로그

Unity. 2DCamera follow 기초2

2DCamera follow 기초2(영역 지정) public Transform player; Vector3 velocity = Vector3.zero; public float smoothTime = 0.15f; public bool XMaxEnabled = false; public float XMaxValue = 0; public bool XMinEnabled = false; public float XMinValue = 0; public bool YMaxEnabled = false; public float YMaxValue = 0; public bool YMinEnabled = false; public float YMinValue = 0; void FixedUpdate() { Vector3 playerP..

Unity/Unity 기초 2019. 1. 22. 15:09
Unity. 2D기초 Camera follow

2D Camera follow 기초 GameObject player; void Start() { player = GameObject.Find("Player"); } void Update() { Vector3 playerPos = player.transform.position; transform.position = new Vector3(playerPos.x, playerPos.y + 2, transform.position.z); }

Unity/Unity 기초 2019. 1. 22. 00:47
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바