Skip to content

Commit

Permalink
Moved Initialize from Start to Awake to resolve #126
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonDarksideJ committed Mar 12, 2017
1 parent 49806eb commit ec31c8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Scripts/Effects/Gradient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class Gradient : BaseMeshEffect
public Color vertex2 = Color.black;
private Graphic targetGraphic;

protected override void Start()
protected override void Awake()
{
targetGraphic = GetComponent<Graphic>();
}
Expand Down

0 comments on commit ec31c8b

Please sign in to comment.