52 lines
1.1 KiB
C#
52 lines
1.1 KiB
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 BulletMgrNoMono : NoMono
|
|
{
|
|
public PrefabPoolForPath _BulletPool;
|
|
|
|
#region ÉúÃüÖÜÆÚ
|
|
public BulletMgrNoMono(string Name, Transform trans = null) : base(Name, trans)
|
|
{
|
|
_BulletPool = new PrefabPoolForPath(this.transform, E_PREFAB_TYPE.NONE,
|
|
Common.GetBulletProfabPath("1"));
|
|
//×¢²á»Øµ÷
|
|
AddEvent(E_LIFE_MONO_CYCLE.Update | E_LIFE_MONO_CYCLE.FixUpdate);
|
|
}
|
|
|
|
public override void Update()
|
|
{
|
|
|
|
}
|
|
|
|
public override void FixedUpdate()
|
|
{
|
|
|
|
}
|
|
|
|
public override void OnApplicationPause()
|
|
{
|
|
|
|
}
|
|
public override void OnApplicationQuit()
|
|
{
|
|
|
|
}
|
|
#endregion
|
|
|
|
void NewBullet()
|
|
{
|
|
GameObject obj = _BulletPool.GetAnyHide();
|
|
obj.GetHashCode();
|
|
}
|
|
}
|
|
}
|
|
|