File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ protected virtual void OnEnable()
156
156
}
157
157
}
158
158
159
- protected virtual void Update ( )
159
+ private void Update ( )
160
160
{
161
161
#if UNITY_EDITOR
162
162
if ( ! ( Application . isPlaying || renderSettings . updateInEditor ) ) {
@@ -193,12 +193,6 @@ public Texture2D Draw()
193
193
return texture ;
194
194
}
195
195
196
- /// <summary>
197
- /// Sets the pixels of the texture.
198
- /// </summary>
199
- /// <param name="texture">The texture to set the pixels on.</param>
200
- protected abstract void SetPixels ( Texture2D texture ) ;
201
-
202
196
/// <summary>
203
197
/// Applies the texture to the renderer material.
204
198
/// </summary>
@@ -234,6 +228,12 @@ private void SetTransformScale()
234
228
}
235
229
}
236
230
231
+ /// <summary>
232
+ /// Sets the pixels of the texture.
233
+ /// </summary>
234
+ /// <param name="texture">The texture to set the pixels on.</param>
235
+ protected abstract void SetPixels ( Texture2D texture ) ;
236
+
237
237
}
238
238
239
239
}
You can’t perform that action at this time.
0 commit comments