Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public bool GetBounds(out Vector3 minBounds, out Vector3 maxBounds)
- {
- var sceneObjects = GetData().GetArray("m_sceneObjects");
- if (sceneObjects.Length == 0)
- {
- minBounds = maxBounds = new Vector3(0, 0, 0);
- return false;
- }
- minBounds = sceneObjects[0].GetSubCollection("m_vMinBounds").ToVector3();
- maxBounds = sceneObjects[0].GetSubCollection("m_vMaxBounds").ToVector3();
- return true;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement