赞
踩
using UnityEngine;
using System.Collections;
namespace TowerDefenceTemplate
{
public class Bullet : MonoBehaviour
{
[HideInInspector]
public float Damage;//炮弹的伤害值
[HideInInspector]
public GameObject target;//炮弹的攻击对象
public int BulletSpeed;//炮弹的移动速度
void Start()
{
Invoke("Deactivate", 1);//1S后执行Deactivate方法
}
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。