Commit 6f6a8c9 1 parent fbc697c commit 6f6a8c9 Copy full SHA for 6f6a8c9
File tree 5 files changed +28
-28
lines changed
Packages/src/Samples~/v4 Compatible Components/Runtime
5 files changed +28
-28
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ public float effectFactor
66
66
67
67
m_EffectFactor = value ;
68
68
UpdateContext ( context ) ;
69
- ApplyContextToMaterial ( ) ;
69
+ SetMaterialDirty ( ) ;
70
70
}
71
71
}
72
72
@@ -83,7 +83,7 @@ public float width
83
83
84
84
m_Width = value ;
85
85
UpdateContext ( context ) ;
86
- ApplyContextToMaterial ( ) ;
86
+ SetMaterialDirty ( ) ;
87
87
}
88
88
}
89
89
@@ -100,7 +100,7 @@ public float softness
100
100
101
101
m_Softness = value ;
102
102
UpdateContext ( context ) ;
103
- ApplyContextToMaterial ( ) ;
103
+ SetMaterialDirty ( ) ;
104
104
}
105
105
}
106
106
@@ -116,7 +116,7 @@ public Color color
116
116
117
117
m_Color = value ;
118
118
UpdateContext ( context ) ;
119
- ApplyContextToMaterial ( ) ;
119
+ SetMaterialDirty ( ) ;
120
120
}
121
121
}
122
122
@@ -133,7 +133,7 @@ public Texture transitionTexture
133
133
m_TransitionTexture = value ;
134
134
UpdateContext ( context ) ;
135
135
SetVerticesDirty ( ) ;
136
- ApplyContextToMaterial ( ) ;
136
+ SetMaterialDirty ( ) ;
137
137
}
138
138
}
139
139
@@ -171,7 +171,7 @@ public ColorMode colorMode
171
171
172
172
m_ColorMode = value ;
173
173
UpdateContext ( context ) ;
174
- ApplyContextToMaterial ( ) ;
174
+ SetMaterialDirty ( ) ;
175
175
}
176
176
}
177
177
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ public float effectFactor
61
61
62
62
m_EffectFactor = value ;
63
63
UpdateContext ( context ) ;
64
- ApplyContextToMaterial ( ) ;
64
+ SetMaterialDirty ( ) ;
65
65
}
66
66
}
67
67
@@ -78,7 +78,7 @@ public float colorFactor
78
78
79
79
m_ColorFactor = value ;
80
80
UpdateContext ( context ) ;
81
- ApplyContextToMaterial ( ) ;
81
+ SetMaterialDirty ( ) ;
82
82
}
83
83
}
84
84
@@ -95,7 +95,7 @@ public float blurFactor
95
95
96
96
m_BlurFactor = value ;
97
97
UpdateContext ( context ) ;
98
- ApplyContextToMaterial ( ) ;
98
+ SetMaterialDirty ( ) ;
99
99
}
100
100
}
101
101
@@ -112,7 +112,7 @@ public EffectMode effectMode
112
112
m_EffectMode = value ;
113
113
UpdateContext ( context ) ;
114
114
SetVerticesDirty ( ) ;
115
- ApplyContextToMaterial ( ) ;
115
+ SetMaterialDirty ( ) ;
116
116
}
117
117
}
118
118
@@ -128,7 +128,7 @@ public ColorMode colorMode
128
128
129
129
m_ColorMode = value ;
130
130
UpdateContext ( context ) ;
131
- ApplyContextToMaterial ( ) ;
131
+ SetMaterialDirty ( ) ;
132
132
}
133
133
}
134
134
@@ -145,7 +145,7 @@ public BlurMode blurMode
145
145
146
146
UpdateContext ( context ) ;
147
147
SetVerticesDirty ( ) ;
148
- ApplyContextToMaterial ( ) ;
148
+ SetMaterialDirty ( ) ;
149
149
}
150
150
}
151
151
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ public Color targetColor
48
48
49
49
m_TargetColor = value ;
50
50
UpdateContext ( context ) ;
51
- ApplyContextToMaterial ( ) ;
51
+ SetMaterialDirty ( ) ;
52
52
}
53
53
}
54
54
@@ -65,7 +65,7 @@ public float range
65
65
66
66
m_Range = value ;
67
67
UpdateContext ( context ) ;
68
- ApplyContextToMaterial ( ) ;
68
+ SetMaterialDirty ( ) ;
69
69
}
70
70
}
71
71
@@ -82,7 +82,7 @@ public float saturation
82
82
83
83
m_Saturation = value ;
84
84
UpdateContext ( context ) ;
85
- ApplyContextToMaterial ( ) ;
85
+ SetMaterialDirty ( ) ;
86
86
}
87
87
}
88
88
@@ -99,7 +99,7 @@ public float value
99
99
100
100
m_Value = value ;
101
101
UpdateContext ( context ) ;
102
- ApplyContextToMaterial ( ) ;
102
+ SetMaterialDirty ( ) ;
103
103
}
104
104
}
105
105
@@ -116,7 +116,7 @@ public float hue
116
116
117
117
m_Hue = value ;
118
118
UpdateContext ( context ) ;
119
- ApplyContextToMaterial ( ) ;
119
+ SetMaterialDirty ( ) ;
120
120
}
121
121
}
122
122
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ public float effectFactor
54
54
55
55
m_EffectFactor = value ;
56
56
UpdateContext ( context ) ;
57
- ApplyContextToMaterial ( ) ;
57
+ SetMaterialDirty ( ) ;
58
58
}
59
59
}
60
60
@@ -71,7 +71,7 @@ public float width
71
71
72
72
m_Width = value ;
73
73
UpdateContext ( context ) ;
74
- ApplyContextToMaterial ( ) ;
74
+ SetMaterialDirty ( ) ;
75
75
}
76
76
}
77
77
@@ -88,7 +88,7 @@ public float softness
88
88
89
89
m_Softness = value ;
90
90
UpdateContext ( context ) ;
91
- ApplyContextToMaterial ( ) ;
91
+ SetMaterialDirty ( ) ;
92
92
}
93
93
}
94
94
@@ -105,7 +105,7 @@ public float brightness
105
105
106
106
m_Brightness = value ;
107
107
UpdateContext ( context ) ;
108
- ApplyContextToMaterial ( ) ;
108
+ SetMaterialDirty ( ) ;
109
109
}
110
110
}
111
111
@@ -122,7 +122,7 @@ public float gloss
122
122
123
123
m_Gloss = value ;
124
124
UpdateContext ( context ) ;
125
- ApplyContextToMaterial ( ) ;
125
+ SetMaterialDirty ( ) ;
126
126
}
127
127
}
128
128
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ public float effectFactor
71
71
72
72
m_EffectFactor = value ;
73
73
UpdateContext ( context ) ;
74
- ApplyContextToMaterial ( ) ;
74
+ SetMaterialDirty ( ) ;
75
75
}
76
76
}
77
77
@@ -88,7 +88,7 @@ public Texture transitionTexture
88
88
m_TransitionTexture = value ;
89
89
UpdateContext ( context ) ;
90
90
SetVerticesDirty ( ) ;
91
- ApplyContextToMaterial ( ) ;
91
+ SetMaterialDirty ( ) ;
92
92
}
93
93
}
94
94
@@ -104,7 +104,7 @@ public EffectMode effectMode
104
104
105
105
m_EffectMode = value ;
106
106
UpdateContext ( context ) ;
107
- ApplyContextToMaterial ( ) ;
107
+ SetMaterialDirty ( ) ;
108
108
}
109
109
}
110
110
@@ -137,7 +137,7 @@ public float dissolveWidth
137
137
138
138
m_DissolveWidth = value ;
139
139
UpdateContext ( context ) ;
140
- ApplyContextToMaterial ( ) ;
140
+ SetMaterialDirty ( ) ;
141
141
}
142
142
}
143
143
@@ -154,7 +154,7 @@ public float dissolveSoftness
154
154
155
155
m_DissolveSoftness = value ;
156
156
UpdateContext ( context ) ;
157
- ApplyContextToMaterial ( ) ;
157
+ SetMaterialDirty ( ) ;
158
158
}
159
159
}
160
160
@@ -170,7 +170,7 @@ public Color dissolveColor
170
170
171
171
m_DissolveColor = value ;
172
172
UpdateContext ( context ) ;
173
- ApplyContextToMaterial ( ) ;
173
+ SetMaterialDirty ( ) ;
174
174
}
175
175
}
176
176
You can’t perform that action at this time.
0 commit comments