2025-05-18 01:04:31 +08:00

29 lines
743 B
C#

// ***********************************************************************
// Assembly : Game
// Author : Kimch
// Created : 2020-09-02
// Description :
// Last Modified By :
// Last Modified On :
// ***********************************************************************
// <copyright file= "Bullet_arrow" company="Kimch"></copyright>
// <summary></summary>
// ***********************************************************************
using UnityEngine;
namespace G
{
/// <summary>
///
/// </summary>
public class Bullet_arrow : MonoBehaviour
{
public float bullet_speed;
private void FixedUpdate()
{
this.transform.position += transform.forward * (bullet_speed * Time.deltaTime);
}
}
}