Moved Initialize from Start to Awake to resolve #126
parent
49806ebb44
commit
ec31c8b5d6
|
@ -15,7 +15,7 @@ namespace UnityEngine.UI.Extensions
|
||||||
public Color vertex2 = Color.black;
|
public Color vertex2 = Color.black;
|
||||||
private Graphic targetGraphic;
|
private Graphic targetGraphic;
|
||||||
|
|
||||||
protected override void Start()
|
protected override void Awake()
|
||||||
{
|
{
|
||||||
targetGraphic = GetComponent<Graphic>();
|
targetGraphic = GetComponent<Graphic>();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue