Unity's Particle System Basics

Опубликовано: 10 Октябрь 2020
на канале: CodeGnat Studios
204
6

Using Unity 2019.4.8f1 Personal
Download the project at: https://github.com/alexzorzella/How-t...
Download just the default sprites at: https://github.com/alexzorzella/How-t...
Play my games at https://codegnat.itch.io

If you want to have a particle system that you instantiate in, simply drag the object into "Project" and it will generate a prefab. Then, in a script, you will have something that looks like this:

//Declare the class here

public GameObject particlePrefab;

public void InstantiateParticle()
{
Insantiate(particlePrefab, YOUR POSITION, Quaternion.identity);
}

Timestamps:
0:00 - Intro
0:20 - Creating the System
0:40 - Texture Sheet Animation / Sprite
1:20 - Basic Properties
8:50 - Emission
12:26 - Shape
18:38 - Color Over Lifetime & Color By Speed
19:50 - Size Over Lifetime & Intro to Particle System Curves
21:25 - Rotation Over Lifetime
21:45 - Noise
22:50 - Trails
25:00 - Collision
27:00 - Wrapping Up