feat: group 1.0.0
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
import {
|
||||
_decorator,
|
||||
Color,
|
||||
Component,
|
||||
director,
|
||||
Label,
|
||||
Node,
|
||||
Sprite,
|
||||
tween,
|
||||
UITransform,
|
||||
Vec3,
|
||||
@@ -157,6 +159,12 @@ export class ResultModal extends Component {
|
||||
|
||||
// 执行提示动画
|
||||
playTipAni() {
|
||||
// 设置提示 dino 颜色
|
||||
const dinoInfo = GlobalData.currentDinoInfo;
|
||||
const dinoColor = new Color(dinoInfo.dinoColor);
|
||||
// 设置提示 dino 颜色
|
||||
this.tipNode.getChildByName("dino").getComponent(Sprite).color = dinoColor;
|
||||
|
||||
// 开启提示
|
||||
this.tipNode.active = true;
|
||||
// 获取提示的位置
|
||||
|
||||
Reference in New Issue
Block a user