热门

最新

红包

立Flag

投票

同城

我的

发布
weixin_42784535
来一块葱花饼
4 年前
trueweixin_42784535

新年第一天,喜提粉丝第三千名
感谢大家的支持继续加油

CSDN App 扫码分享
分享
1
3
打赏
  • 复制链接
  • 举报
下一条:
using System.Collections;using System.Collections.Generic;using UnityEngine;public class XiaoHao rigger : MonoBehaviour11 Start is called before the first frame updatepublic GameObjec chf;private void OnTriggerEnter(Collider other)if(other.tag-="Player")chf.SetActive(true);private void OnTriggerExitCollider other)iflother.tag=-"Player")chf.SetActive(false);1
立即登录