forked from sin365/AxibugEmuOnline
调整几个工具脚本的目录
This commit is contained in:
parent
f0b139e692
commit
8fc65c2f70
AxibugEmuOnline.Client/Assets/Script/AppMain/UI
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ac0b0e6e0769cf144a829fef3f6740b1
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,10 +1,13 @@
|
||||
using DG.Tweening;
|
||||
using DG.Tweening;
|
||||
using DG.Tweening.Core;
|
||||
using DG.Tweening.Plugins.Options;
|
||||
using UnityEngine;
|
||||
|
||||
namespace AxibugEmuOnline.Client
|
||||
{
|
||||
/// <summary>
|
||||
/// 用于指定一对CanvasGroup,做透明度切换
|
||||
/// </summary>
|
||||
public class AlphaWraper
|
||||
{
|
||||
private bool m_on;
|
@ -1,7 +1,10 @@
|
||||
using UnityEngine;
|
||||
using UnityEngine;
|
||||
|
||||
namespace AxibugEmuOnline.Client
|
||||
{
|
||||
/// <summary>
|
||||
/// 自动根据canvasgroup的alpha控制blocksRaycasts的开启状态
|
||||
/// </summary>
|
||||
[RequireComponent(typeof(CanvasGroup))]
|
||||
public class AutoRaycastCanvasGroup : MonoBehaviour
|
||||
{
|
@ -1,7 +1,10 @@
|
||||
namespace AxibugEmuOnline.Client.UI
|
||||
{
|
||||
using System;
|
||||
using System;
|
||||
|
||||
namespace AxibugEmuOnline.Client.UI
|
||||
{
|
||||
/// <summary>
|
||||
/// 用于周期性触发回调的工具,带有触发周期和延迟触发的参数可调
|
||||
/// </summary>
|
||||
public class PulseInvoker
|
||||
{
|
||||
private Action _action;
|
||||
@ -9,8 +12,8 @@
|
||||
private float _delay;
|
||||
private float _elapsedTime;
|
||||
private bool _isActive;
|
||||
private bool _isDelayed;
|
||||
|
||||
private bool _isDelayed;
|
||||
|
||||
public PulseInvoker(Action action, float delay, float interval)
|
||||
{
|
||||
_action = action;
|
@ -5,6 +5,9 @@ using UnityEngine;
|
||||
|
||||
namespace AxibugEmuOnline.Client
|
||||
{
|
||||
/// <summary>
|
||||
/// 选择指示器,用于控制RectTransform在屏幕坐标上的高宽和位置同步,同时带有过度动画
|
||||
/// </summary>
|
||||
public class Selector : MonoBehaviour
|
||||
{
|
||||
[SerializeField]
|
Loading…
Reference in New Issue
Block a user