Свойство | Тип | Описание | |
---|---|---|---|
AnimatedBirth | bool | ||
AnimatedLife | bool | ||
DeathReason | MBDeathReason | ||
GizmoColor1 | Color | ||
GizmoColor2 | Color | ||
Order | int |
Метод | Описание | |
---|---|---|
CompareTo ( object obj ) : int | ||
Destroy ( ) : void | ||
OnBirth ( MBParticle, PT ) : void |
Sets a particle's initial parameters This is called once on particle's birth. If AnimatedBirth is true you should animate values here (use PT.DeltaTime and PT.Emitter.AgePercent) |
|
OnLifetime ( MBParticle, PT ) : bool |
Change particle values over its lifetime This is called each frame a particle exists. You should animate values using PT.AgePercent and PT.DeltaTime |
|
OnPlay ( ) : void |
Called on each MBEmitter.Play() Use this to initialize your parameter |
|
Reset ( ) : void |
Restore default settings Called by the user in the parameter editor |
|
Validate ( ) : void |
Validate/Check/Limit fields and properties here This is called by the Editor window after values were changed. |
Метод | Описание | |
---|---|---|
OnDrawGizmos ( ) : void | ||
OnDrawGizmosSelected ( ) : void |
public OnLifetime ( MBParticle, PT ) : bool | ||
PT | MBParticle, | |
Результат | bool |