diff --git a/Scripts/Effects/Gradient.cs b/Scripts/Effects/Gradient.cs index 9fb93eef..a34839b7 100644 --- a/Scripts/Effects/Gradient.cs +++ b/Scripts/Effects/Gradient.cs @@ -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(); }