이 모듈에서 커브에 따라 파티클이 크기가 달라지는 여러 가지 효과를 설정할 수 있습니다.
이 모듈은 Particle System 컴포넌트의 일부입니다. 새로운 파티클 시스템 게임 오브젝트를 생성하거나 Particle System 컴포넌트를 기존의 게임 오브젝트에 추가하는 경우 Unity는 수명 주기에 따른 크기 모듈을 파티클 시스템에 추가합니다. 기본적으로 Unity는 이 모듈을 비활성화합니다. 새로운 파티클 시스템을 생성하고 이 모듈을 활성화하려면 다음 단계를 따르십시오.
이 모듈이 Particle System 컴포넌트의 일부이므로 ParticleSystem 클래스를 통해 액세스합니다. 이 모듈에 액세스하고 런타임 시 값을 변경하는 방법에 대한 내용은 수명 주기에 따른 크기 모듈 API 문서를 참조하십시오.
이 섹션의 일부 프로퍼티에 대해 다른 모드를 사용하여 해당 값을 설정할 수 있습니다. 사용할 수 있는 모드에 대한 정보는 시간 경과에 따른 프로퍼티 다양화를 참조하십시오.
프로퍼티 | 기능 |
---|---|
Separate Axes | 각 축에 대해 파티클 크기를 독립적으로 제어합니다. |
Size | 파티클의 크기가 수명에 따라 어떻게 변하는지 정의하는 커브입니다. |
일부 파티클은 일반적으로 가스, 화염, 연기를 나타내는 파티클처럼 방출 지점에서 멀어질수록 크기가 변합니다. 예를 들어, 연기는 시간이 지남에 따라 확산되어 더 넓은 볼륨을 차지하는 경향이 있습니다. 연기 파티클의 커브를 상향 램프로 설정하면 파티클이 시간이 지날수록 커져서 이런 효과를 낼 수 있습니다. Color Over Lifetime 모듈을 함께 사용하면 연기가 확산되면서 흐려지는 더 멋진 효과를 낼 수 있습니다.
불붙은 연료에서 생긴 불덩어리의 경우 화염 파티클은 방출 직후에는 팽창하는 경향이 있지만 연료가 점점 소모되면서 화염이 줄어들거나 희미해지면서 결국 사라집니다. 이 경우 커브는 “포물선” 모양을 가지게 되며 처음에는 크기가 증가했다가 나중에는 줄어들게 됩니다.
커브에 지정된 값은 최종 파티클 크기를 얻기 위해 시작 크기를 곱합니다.
파티클의 너비, 높이, 뎁스가 수명 주기 동안 어떻게 독립적으로 변하는지 지정할 수 있습니다. Size over Lifetime 모듈에서 Separate Axes 체크박스를 체크한 다음 X(너비), Y(높이), Z(뎁스)를 변경합니다. Z는 메시 파티클에만 사용됩니다.
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.