// *********************************************************************** // Assembly : Game // Author : Kimch // Created : 2020-09-02 // Description : // Last Modified By : // Last Modified On : // *********************************************************************** // // // *********************************************************************** using UnityEngine; namespace G { /// /// /// public class Bullet_chaarrow : MonoBehaviour { private void Awake() { } private void Start() { } private void Update() { var position = this.transform.position + this.transform.forward * (4f * Time.deltaTime); this.transform.position = position; if (position.y < 0f) { this.gameObject.SetActive(false); } } } }