新增跟随相机
This commit is contained in:
@@ -283,6 +283,10 @@ class Transform {
|
||||
}
|
||||
}
|
||||
|
||||
public roundPosition(){
|
||||
this.position = this._position.round();
|
||||
}
|
||||
|
||||
public updateTransform(){
|
||||
if (this._hierachyDirty != DirtyType.clean){
|
||||
if (this.parent)
|
||||
|
||||
Reference in New Issue
Block a user