1.进步优化UI系统 加载问题 性能问题 Canvas重绘问题 边界处理问题 2.优化对象池和游戏对象池的性能 游戏对象池根据窗口 策略定期清理 3.优化整个AppService 和ServiceWorld结构 固定三大类 具体参考代码
16 lines
309 B
C#
16 lines
309 B
C#
using UnityEngine;
|
|
|
|
namespace AlicizaX
|
|
{
|
|
[DisallowMultipleComponent]
|
|
[AddComponentMenu("Game Framework/Procedure")]
|
|
public sealed class ProcedureComponent : MonoBehaviour
|
|
{
|
|
private void Awake()
|
|
{
|
|
AppServices.App.Register(new ProcedureService());
|
|
}
|
|
}
|
|
}
|
|
|