Unity2D_gif이미지 분할하기 2D애니메이션_gif이미지 분할하기 Unity\RogueLike2\Assets에 제작한 gif 파일을 집어넣습니다. Unity에셋파일에서 gif를 선택합니다. Multiple 선택하고 Sprite를 선택합니다. 경고창이 뜨면 Apply 클릭 Slice -> Grid by Cell Size 선택 PixelSize의 크기를 설정하고 Slice를 클릭합니다. 그리고 이렇게 이미지가 나누어집니다. 응용프로그램/유니티(Unity) 2017.02.06
Unity - RogueLike(8/14) - Player 애니메이션 컨트롤 Unity - RogueLike(8/14) - Player 애니메이션 컨트롤 응용프로그램/유니티(Unity) 2017.02.04
Unity - RogueLike(7/14) - 장애물과 벽 Unity - RogueLike(7/14) - 장애물과 벽 using UnityEngine; using System.Collections; public class Wall : MonoBehaviour { public AudioClip chopSound1; public AudioClip chopSound2; public Sprite dmgSprite; public int hp = 3; private SpriteRenderer spriteRenderer; void Awake () { spriteRenderer = GetComponent (); } public void DamageWall (int loss) { SoundManager.instance.RandomizeSfx (chopSound1, chopSou.. 응용프로그램/유니티(Unity) 2017.02.04
티스토리 - 단축키 관련 단축키 설정하기 자세하게 적혀있어서 링크 걸어드립니다.http://mookpp.tistory.com/88 단축키 제거하기 태그 바로위에 를 삽입하면 끝! 웹프로그래밍/티스토리 2017.02.02
C# - 작업환경 세팅하기 작업환경 세팅하기. 아래의 링크를 타고 설치핫면 됩니다. 링크 걸어두었습니다. ! ▶ Visual Studio 설치하기 ▶ Visual Studio 없이 컴파일하기 (Consol) ▶ Visual Studio 없이 컴파일하기 (Edit Plus) ▶ Visual Studio 없이 컴파일하기 (emEditor) 저같은 경우는 visual Studio를 이용하여 진행하겠습니다. 인스톨러를 설치하면 아래와 같이 뜨는데 빨간색 박스로 표시된것을 선택하고 설치하시면 됩니다. 컴퓨터프로그래밍/C# 2017.02.01
Tistory블로그 스킨제작 - 본문제목 코딩 컨텐츠 타이틀 만들기 참조 : 'Tistory 블로그 치환자' 이번글의 목표는 본문제목을 아래와 같이 꾸미려고합니다. 본문글을 넣고 싶은 위치에 다음 코드를 삽입합니다. HTML | posted by 8줄 : 본문 글의 카테고리를 표시합니다. 11줄 : 본문 글의 제목을 표시합니다. 14줄 : 본문글의 작성일자 : 작성자를 표시합니다. CSS .titleWrap{ position:relative; margin-left:10px; margin-top:5px; width:98%; height:95px; font-family:"굴림"; } #title_left{ float:left; width:30px; height:85px; background-color:#faedd2; } #title_top{ float:.. 응용프로그램 2017.01.27
Unity - 에러모음집 에러모음집 에셋스토어를 켜도 글자가 나오지 않을 때 우측상단에 언어설정 선택하기 에셋스토어를 켜도 아무것도 나오지 않거나 마우스올려야 나올 때 Edit → Project settings → Player → Use Direct3d 11 해제 또는 Auto Graphics API For Windows해제 `UnityEngine.GameObject.rigidbody' is obsolete: `Property rigidbody has been deprecated. Use GetComponent() instead. (UnityUpgradable)' The variable animator of Player_Ctrl has not been assigned. You probably need to assign the a.. 응용프로그램/유니티(Unity) 2017.01.13
Unity 그래픽 최적화 방법 참고 랜더링이란? 간단하게 컴퓨터가 그림을 그리는 행위. 랜더링 파이프라인 3D 이미지를 2D 래스터 이미지로 표현하기 위한 단계적인 방법'을 의미합니다. 최적화를 위해서는 어느정도의 기반지식을 이해하고 문제가 되는점을 캐치하는 능력이 필요하다고 함. CPU -> 랜더링 명령 가공 -> GPU Memory에 전달 -> GPU 연산시작 -> 연산결과 GPU 버퍼에 전달. 위와 같은 랜더링을 제어하는 컴퓨터 언어를 그래픽스 API라고 하는데 여러 기업들이 자신들만이 API를 제공하고 있다. Microsoft(DirectX) 크로노스 그룹(OpenGL, Vulkan[멀티 쓰레딩 차세대 언어]) 애플(Metal[멀티 쓰레딩 차세대 언어]) AMD(Mentle) 유니티에서는 기본적으로 크로스 플렛폼을 지원하므로 지정된.. 응용프로그램/유니티(Unity) 2017.01.13
Unity와 SQLite연동하기 SQLite와 Unity 연동하기 C:\Program Files\Unity\Editor\Data\Mono\lib\mono\2.0 여기에 있는System.Data.dll 과 Mono.Data.Sqlite 를 복사 Asset\Plugins에 붙여넣기 http://www.sqlite.org/download.html 여기에서 sqlite3.def, sqlite3.dll를 다운받기 Asset\Plugins에 넣기 Table 생성하기using UnityEngine;using System.Collections;using System;using System.Data;using Mono.Data.Sqlite; public class dbScript : MonoBehaviour { void Start() { string .. 응용프로그램/유니티(Unity) 2017.01.13