http://stackoverflow.com/questions/7328424/point-in-obb-oriented-bounding-box-algorithm Given a center point, width, height and angle forming an OBB, how can I find if a given point P is inside the OBB? I take it that the wrinkle in your problem is t…
UI3D转2D平面显示UI3DTo2D血条显示: using UnityEngine; using System.Collections; public class UI3DTo2D : MonoBehaviour { private GameObject _TargetEnemyObj; //目标物体 private Camera worldcamera; //世界相机 private Camera guiCamera…