A simple unity3d ui animation tool.
2017.4.40
tool panel.
position prop:
scele prop:
rotate prop:
panel alpaha prop:
mask prop:
/// <summary>
/// play show anime
/// </summary>
public void Show(){}
/// <summary>
/// play hide anime
/// </summary>
public void Hide(){}
public bool isUseAnime = false;//whether to use animation
public RectTransform targetRectTrans{get;set}// target of recttrans
public Action OnShowBefore;//events processed before show
public Action OnShowAfter;//events processed after show
public Action OnHideBefore;//events processed before hide
public Action OnHideAfter;//events processed after hide
For details, please see the DEMO scene.