Moved Initialize from Start to Awake to resolve #126

release
Simon Jackson 2017-03-12 10:45:39 +00:00
parent 49806ebb44
commit ec31c8b5d6
1 changed files with 1 additions and 1 deletions

View File

@ -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>();
} }