Esempio n. 1
0
    void Update()
    {
        trans.Translate(new Vector3(0, 10f * Time.deltaTime, 0));

        if (trans.position.y >= 8.3)
        {
            ws.DeleteBullet();
            Destroy(obj);
        }
    }