Merged in fix/primitivebase (pull request #91)
Fix to add a "RequireComponent" to Primitives as Unity 2020 does not add them by defaultpull/413/head
commit
726396b164
|
@ -10,6 +10,7 @@ namespace UnityEngine.UI.Extensions
|
|||
PerLine
|
||||
}
|
||||
|
||||
[RequireComponent(typeof(CanvasRenderer))]
|
||||
public class UIPrimitiveBase : MaskableGraphic, ILayoutElement, ICanvasRaycastFilter
|
||||
{
|
||||
static protected Material s_ETC1DefaultUI = null;
|
||||
|
|
Loading…
Reference in New Issue