Commit 5ff277b6 authored by rockyl's avatar rockyl

私有化update的过程

parent 8249e2a1
......@@ -443,7 +443,7 @@ export class Entity extends EventDispatcher {
* 预更新
* @param t
*/
preUpdate(t) {
protected preUpdate(t) {
}
......@@ -451,7 +451,7 @@ export class Entity extends EventDispatcher {
* 组件更新
* @param t
*/
updateComponents(t) {
protected updateComponents(t) {
this.forEachComponent(comp => {
if (comp.enabled) {
if (EngineConfig.editorMode) {
......@@ -467,7 +467,7 @@ export class Entity extends EventDispatcher {
* 更新
* @param t
*/
onUpdate(t) {
protected onUpdate(t) {
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment