12345678910111213141516171819 |
- import { _decorator, Component, Node, LabelComponent } from 'cc';
- import { NoticeViewScript } from '../../../engines/notices/NoticeViewScript';
- const { ccclass, property } = _decorator;
- @ccclass('TextNoticeView')
- export class TextNoticeView extends NoticeViewScript {
- @property({
- type:LabelComponent
- })
- label:LabelComponent=null;
- start():void{
- }
- OnStartMove():void{
- this.label.string=this.data;
- }
- }
|