Beispiel #1
0
 public void ViewDidHidden(bool del = false)
 {
     if (del)
     {
         WGShowBearController.DestroySelf();
         ShowOneBear.DestroySelf();
     }
     else
     {
         WGShowBearController.Instance.DidDisappear();
         WGShowBearController.Instance.ESetActive(false);
     }
 }
    public override void hiddenView()
    {
        if (willHidden)
        {
            return;
        }
        willHidden = true;
        ShowOneBear.DestroySelf();

        base.hiddenView();
        tsContent.PlayReverse();
        mnIvokeBlock.InvokeBlock(tsContent.duration, () => {
            hiddenViewEnd();
        });
    }