dd
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user