unity 判断一个trans在不在sceen内

public bool IsOutScreen(Transform fTrans) { Vector3 screenpos = API.Camera.MainCamera.WorldToScreenPoint(fTrans.position); if (screenpos.x > Screen.wi
posted @ 2018-06-28 19:22  sun_dust_shadow  阅读(216)  评论(0编辑  收藏  举报