Taking in fix from
https://bitbucket.org/UnityUIExtensions/unity-ui-extensions/pull-requests/132pull/413/head
parent
ca090d1797
commit
771c7776c0
|
@ -466,7 +466,7 @@ namespace UnityEngine.UI.Extensions
|
|||
protected override void OnEnable()
|
||||
{
|
||||
base.OnEnable();
|
||||
if (m_points?.Length == 0)
|
||||
if (m_points == null || m_points?.Length == 0)
|
||||
{
|
||||
m_points = new Vector2[1];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue