This commit is contained in:
2024-08-09 10:51:47 +08:00
parent 940b951cc7
commit 9fed7e0b03
15 changed files with 676 additions and 41 deletions

View File

@@ -9,7 +9,7 @@ import { EventTouch, Vec3, _decorator } from 'cc';
import { ecs } from '../../../../../extensions/oops-plugin-framework/assets/libs/ecs/ECS';
import { CCComp } from '../../../../../extensions/oops-plugin-framework/assets/module/common/CCComp';
import { smc } from '../../common/SingletonModuleComp';
import { Role } from '../Role';
// import { Role } from '../Role';
const { ccclass, property } = _decorator;
@@ -17,10 +17,10 @@ const { ccclass, property } = _decorator;
@ecs.register('RoleViewUIController', false)
export class RoleViewUIControllerComp extends CCComp {
private target: Role = null!;
// private target: Role = null!;
start() {
this.target = smc.own;
// this.target = smc.own;
}
onDestroy() {