remove doc
This commit is contained in:
parent
4b36c5ebfd
commit
25577d72cf
@ -1,26 +1,3 @@
|
|||||||
#region Class Documentation
|
|
||||||
|
|
||||||
/************************************************************************************************************
|
|
||||||
Class Name: GameObjectPool.cs
|
|
||||||
Type: Pool, GameObject, GameObjectPool
|
|
||||||
|
|
||||||
Example:
|
|
||||||
// 异步加载游戏物体。
|
|
||||||
var gameObject = await GameObjectPool.Instance.GetGameObjectAsync(path, token);
|
|
||||||
|
|
||||||
// 同步加载游戏物体。
|
|
||||||
var gameObject = GameObjectPool.Instance.GetGameObject(path);
|
|
||||||
|
|
||||||
Example1:
|
|
||||||
// 异步加载游戏物体。
|
|
||||||
var gameObject = await GameObjectPoolHelper.LoadGameObjectAsync(path, token);
|
|
||||||
|
|
||||||
// 同步加载游戏物体。
|
|
||||||
var gameObject = GameObjectPoolHelper.LoadGameObject(path);
|
|
||||||
************************************************************************************************************/
|
|
||||||
|
|
||||||
#endregion
|
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
@ -1194,7 +1171,7 @@ namespace AlicizaX
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static class ObjectPoolUtil
|
public static class GameObjectPoolUtil
|
||||||
{
|
{
|
||||||
public static GameObject LoadGameObject(string assetPath, Transform parent = null)
|
public static GameObject LoadGameObject(string assetPath, Transform parent = null)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user