mirror of
https://github.com/wyb10a10/cocos_creator_framework.git
synced 2026-06-20 17:56:09 +08:00
17 lines
332 B
TypeScript
17 lines
332 B
TypeScript
import { Component, Label, _decorator, view, director, Node, RichText } from "cc";
|
|
import { replicated } from "../../sync/SyncUtil";
|
|
|
|
const { ccclass, property } = _decorator;
|
|
|
|
@ccclass
|
|
export default class SyncCube extends Component {
|
|
|
|
@replicated()
|
|
posX = 0;
|
|
|
|
onLoad() {
|
|
}
|
|
|
|
// update (dt) {}
|
|
}
|