From b04fc4bee9584af8ea0457aafe4cf1b6c19b36d2 Mon Sep 17 00:00:00 2001
From: client_Hale <339726288@qq.com>
Date: 星期五, 01 三月 2019 16:36:10 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
---
System/Skill/TreasurePotentialBehaviour.cs | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/System/Skill/TreasurePotentialBehaviour.cs b/System/Skill/TreasurePotentialBehaviour.cs
index b229efc..e0d6830 100644
--- a/System/Skill/TreasurePotentialBehaviour.cs
+++ b/System/Skill/TreasurePotentialBehaviour.cs
@@ -17,6 +17,7 @@
[SerializeField] Image m_PotentialIcon;
[SerializeField] Button m_Func;
[SerializeField] RedpointBehaviour m_Redpoint;
+ [SerializeField] UIEffect m_UnlockEffect;
int skillId = 0;
@@ -67,6 +68,16 @@
}
}
+ public void StartUnlock()
+ {
+ m_UnlockEffect.Play();
+ }
+
+ public void StopUnlock()
+ {
+ m_UnlockEffect.StopImediatly();
+ }
+
private void OnFunc()
{
bool isOpen = model.IsPotentialUnlock(skillId);
--
Gitblit v1.8.0