增加A2WToolBox工具集,增加Launch场景核LaunchPanel

This commit is contained in:
Wurui
2025-11-08 11:06:48 +08:00
parent 3e92e5684a
commit 3b43829e85
726 changed files with 87807 additions and 215 deletions

View File

@@ -0,0 +1,95 @@
using MonsterLove.StateMachine;
using UnityEngine;
using System.Collections;
public class ClassWithBasicStates : MonoBehaviour
{
public ClassWithBasicStatesTestHelper oneStats = new ClassWithBasicStatesTestHelper();
public ClassWithBasicStatesTestHelper twoStats = new ClassWithBasicStatesTestHelper();
public ClassWithBasicStatesTestHelper threeStats = new ClassWithBasicStatesTestHelper();
protected void One_Enter()
{
oneStats.enterCount++;
}
protected void One_Update()
{
oneStats.updateCount++;
}
protected void One_LateUpdate()
{
oneStats.lateUpdateCount++;
}
protected void One_Exit()
{
oneStats.exitCount++;
}
protected void One_Finally()
{
oneStats.finallyCount++;
}
protected void Two_Enter()
{
twoStats.enterCount++;
}
protected void Two_Update()
{
twoStats.updateCount++;
}
protected void Two_LateUpdate()
{
twoStats.lateUpdateCount++;
}
protected void Two_Exit()
{
twoStats.exitCount++;
}
protected void Two_Finally()
{
twoStats.finallyCount++;
}
protected void Three_Enter()
{
threeStats.enterCount++;
}
protected void Three_Update()
{
threeStats.updateCount++;
}
protected void Three_LateUpdate()
{
threeStats.lateUpdateCount++;
}
protected void Three_Exit()
{
threeStats.exitCount++;
}
protected void Three_Finally()
{
threeStats.finallyCount++;
}
}
[System.Serializable]
public class ClassWithBasicStatesTestHelper
{
public int enterCount;
public int updateCount;
public int lateUpdateCount;
public int exitCount;
public int finallyCount;
}