暂存
This commit is contained in:
1 parent
723c881790
commit
f21b83697b
18 files changed
+1912
-1386
No files matched your search
@@ -7,6 +7,7 @@ using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
using UnityEngine.EventSystems;
|
||||
using UnityEngine.Events;
|
||||
using DG.Tweening;
|
||||
|
||||
namespace Assets.Scripts.UI.Control
|
||||
{
|
||||
@@ -96,6 +97,10 @@ namespace Assets.Scripts.UI.Control
|
||||
public void SetValidate()
|
||||
{
|
||||
outline.enabled = true;
|
||||
outline.DOFade(1, 1f).onComplete = () =>
|
||||
{
|
||||
outline.DOFade(0, 1f);
|
||||
};
|
||||
}
|
||||
//public void SetValidate(string s)
|
||||
//{
|
||||
|
||||
@@ -7,7 +7,7 @@ using UnityEngine;
|
||||
using UnityEngine.Events;
|
||||
using UnityEngine.EventSystems;
|
||||
using UnityEngine.UI;
|
||||
|
||||
using DG.Tweening;
|
||||
namespace Assets.Scripts.UI.Control
|
||||
{
|
||||
public class PFUIInputField: PFUIComponentBase
|
||||
@@ -123,6 +123,10 @@ namespace Assets.Scripts.UI.Control
|
||||
if (value)
|
||||
{
|
||||
outline.enabled = true;
|
||||
outline.DOFade(1, 1f).onComplete = () =>
|
||||
{
|
||||
outline.DOFade(0, 1f);
|
||||
};
|
||||
outline.effectColor = Utils.HexToColorHtml("#F93086");
|
||||
ColorUtility.TryParseHtmlString("#F93086", out Color color);
|
||||
//this.mInnerInputField.transform.Find("Text").GetComponent<Text>().color = color;
|
||||
|
||||
Reference in new issue
Block a user