跳到主要内容

Class UIParticle

ParticleSystem for UGUI. This component allows you to render a ParticleSystem in UGUI.

This component must use "winS/UGUI/ParticleDefault" as the shader to work properly.

Properties

raycastTarget

public override sealed bool raycastTarget { get; }

mainTexture

public override sealed Texture mainTexture { get; }

defaultMaterial

public override sealed Material defaultMaterial { get; }

particleSystem

public ParticleSystem particleSystem { get; private set; }

Methods

Play()

public void Play()

UpdateMesh()

public void UpdateMesh()

Awake()

protected override void Awake()

OnEnable()

protected override void OnEnable()

OnDisable()

protected override void OnDisable()

UpdateGeometry()

protected override sealed void UpdateGeometry()