예제 #1
0
        public void Fire(DanmakuEditor.BaseBullet baseBullet, Vector3 p_direction)
        {
            DanmakuEditor.BeamBullet beamInfo = (DanmakuEditor.BeamBullet)baseBullet;

            if (beamObject == null)
            {
                beamObject = CreateBeam(beamInfo);
                OnBeamCreate(beamObject);
            }
        }
예제 #2
0
 public override void Reset()
 {
     base.Reset();
     baseBullet = null;
 }
예제 #3
0
 public override void SetUp(DanmakuEditor.BaseBullet p_baseBullet, float p_spawnTime)
 {
     base.SetUp(p_baseBullet, p_spawnTime);
     baseBullet   = (DanmakuEditor.BeamBullet)p_baseBullet;
     lineRenderer = GetComponent <LineRenderer>();
 }