Skip to content

Commit

Permalink
fix: Added CanvasRenderer as a required component
Browse files Browse the repository at this point in the history
  • Loading branch information
mob-sakai committed Aug 11, 2020
1 parent 26c5395 commit a8950f6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Packages/UIParticle/Scripts/UIParticle.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ namespace Coffee.UIExtensions
/// Render maskable and sortable particle effect ,without Camera, RenderTexture or Canvas.
/// </summary>
[ExecuteInEditMode]
[RequireComponent(typeof(CanvasRenderer))]
public class UIParticle : MaskableGraphic
{
//################################
Expand Down

0 comments on commit a8950f6

Please sign in to comment.