示例#1
0
    private void CheckPlayer()
    {
        if (transform.position.Equals(player.transform.position))
        {
            timeLeft.AddTime(10);

            Destroy(this.gameObject);
        }
    }