Cherry

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Cherry : MonoBehaviour
{
    public void Death()
    {
        FindObjectOfType<PlayerContronller>().CherryCount();
        Destroy(gameObject);
    }
}

ozg
发布了12 篇原创文章 · 获赞 0 · 访问量 37

猜你喜欢

转载自blog.csdn.net/qq_34751660/article/details/105614933