Game Development, 게임개발/Unity

[Unity] particle system 익히기 - 1 (Introduction Particle Systems)

게임이 더 좋아 2020. 7. 24. 16:13
반응형
728x170

https://learn.unity.com/tutorial/introduction-to-particle-systems?language=en&projectId=5f078cfdedbc2a3231d47753

 

Introduction to Particle Systems - Unity Learn

Unity features a robust Particle System where you can simulate moving liquids, smoke, clouds, flames, magic spells, and a whole slew of other effects. In this tutorial, you'll get a high level overview of the Particle System and its features, so that you c

learn.unity.com

Getting started with Particle System

솔직히 대충 구글링해서 알고있지만 복습 겸 다시 해보려고 한다.

모르는 것도 나올 수 있고

 


**프로젝트 자료 

다운받자.

 

Asset 에서 우클릭하고 Import Package해서 해당 파일을 import하면 된다.


1번 튜토리얼인 Introduction to Particle Systems을 하면 되겠다. 

 

가장 중요한 것들만 뽑아보자면

 

 

 Script로 조작시 당연히 객체를 생성해야 조작이 가능하다

 

ParticleSystem 클래스의 객체를 만들고  그 객체를 통해 클래스에 들어있는 메서드에 접근한다.

 

Particle System part = GetComponent<ParticleSystem>();

 

아무튼 이게 가장 중요하다고 생각된다. 어차피 inspector 창에서 조작해서 게임을 만들지는 않으니까.

 

 

 

inspector 창에서 몇가지 조정해서 play해봤다 ㅎㅎ

반응형
그리드형