31 lines
504 B
C#
31 lines
504 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class PointBulltContro : MonoBehaviour
|
|
{
|
|
public Attack attack;
|
|
void Start()
|
|
{
|
|
|
|
}
|
|
|
|
public void ShootBullet()
|
|
{
|
|
attack.Pointattack();
|
|
}
|
|
public void RandShootBullet()
|
|
{
|
|
attack.RandPointattack();
|
|
}
|
|
public void ShanXingAttack()
|
|
{
|
|
attack.ShanXingAttack();
|
|
}
|
|
|
|
public void RunRangeattack()
|
|
{
|
|
attack.RunRangeattack();
|
|
}
|
|
}
|