29 lines
743 B
C#
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);
|
|
}
|
|
}
|
|
}
|