Skip to content

Commit

Permalink
feat: Shader componment in awake
Browse files Browse the repository at this point in the history
  • Loading branch information
jcs090218 committed Nov 3, 2024
1 parent 1a43d7f commit d3814f7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Assets/JCSUnity/Scripts/Effects/Tweener/JCS_ShaderTweener.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,10 @@ public class JCS_ShaderTweener : JCS_UnityObject

/* Functions */

private void Start()
protected override void Awake()
{
base.Awake();

this.mValueTweener = this.GetComponent<JCS_ValueTweener>();

mValueTweener.onValueChange = SetValue;
Expand Down

0 comments on commit d3814f7

Please sign in to comment.