// *********************************************************************** // Assembly : Game // Author : Kimch // Created : 2020-09-02 // Description : // Last Modified By : // Last Modified On : // *********************************************************************** // // // *********************************************************************** using UnityEngine; namespace G { public class Bullet_chaarrow_multi : MonoBehaviour { private float _finishDelay; private void Awake() { } private void Start() { } private void Update() { if (_finishDelay > 0.2f) { this.gameObject.SetActive(false); _finishDelay = 0f; this.transform.localScale = Vector3.one * 0.1f; } else { _finishDelay += Time.deltaTime; this.transform.localScale += Vector3.one * (4f * Time.deltaTime); this.transform.position += this.transform.forward * (4f * Time.deltaTime); } } } }