提交修改

This commit is contained in:
Bob.Song
2026-03-06 09:44:00 +08:00
parent e125bb869e
commit db7bc90fe2
3631 changed files with 9050 additions and 395938 deletions

View File

@@ -1,39 +0,0 @@
using System;
using System.Collections.Generic;
using FairyGUI;
using UnityEngine;
public class Window2 : Window
{
public Window2()
{
}
protected override void OnInit()
{
this.contentPane = UIPackage.CreateObject("Basics", "WindowB").asCom;
this.Center();
}
override protected void DoShowAnimation()
{
this.SetScale(0.1f, 0.1f);
this.SetPivot(0.5f, 0.5f);
this.TweenScale(new Vector2(1, 1), 0.3f).OnComplete(this.OnShown);
}
override protected void DoHideAnimation()
{
this.TweenScale(new Vector2(0.1f, 0.1f), 0.3f).OnComplete(this.HideImmediately);
}
override protected void OnShown()
{
contentPane.GetTransition("t1").Play();
}
override protected void OnHide()
{
contentPane.GetTransition("t1").Stop();
}
}