示例#1
0
    void OnTriggerEnter(Collider other)
    {
        if (other.gameObject.CompareTag("Player"))
        {
            other.GetComponentInParent <PlayerMove>().ExtendBody();

            ScoreInterface.AddScore(Pickup_Score);
            gameObject.SetActive(false);
        }
    }