AkiraPixelWind/Assets/Scripts/Main/CustomsComponent/BulletMgrComponent.cs
2023-01-16 18:31:12 +08:00

35 lines
717 B
C#

using Axibug.Runtime;
using UnityEngine;
using UnityEditor;
using Axibug.Resources;
using System.Collections.Generic;
using System.Diagnostics.SymbolStore;
using System.Runtime.Remoting.Metadata.W3cXsd2001;
namespace Game
{
public class BulletMgrComponent : GameComponent
{
public PrefabPoolForPath _BulletPool;
class BullteInfo
{
}
private void OnEnable()
{
_BulletPool = new PrefabPoolForPath(this.transform, E_PREFAB_TYPE.NONE,
Common.GetBulletProfabPath("1"));
}
void NewBullet()
{
GameObject obj = _BulletPool.GetAnyHide();
obj.GetHashCode();
}
}
}