123456789101112131415161718192021 |
- using Fort23.Core;
- using Fort23.UTool;
- using UnityEngine;
- namespace GameLogic.Combat.CombatTool.SceneTool
- {
- [System.Serializable]
- public class SceneObjectConfig
- {
- public int odds;
- public float minY;
- public float maxY;
- public GameObject prefab;
- public async CTask<GameObjectPool> GetNewPrefab()
- {
- GameObjectPool gameObjectPool = GObjectPool.Instance.Fetch<GameObjectPool>(prefab.name, prefab);
- return gameObjectPool;
- }
- }
- }
|