public static bool GetLocationBounds(string scene, string name, out Bounds bounds) { LocationDefenition location = GetLocation(scene, name); if (location == null) { bounds = new Bounds(); return(false); } bounds = location.GetBounds(); return(true); }
public static bool GetLocationTransform(string scene, string name, out MiniTransform transform) { LocationDefenition location = GetLocation(scene, name); if (location == null) { transform = new MiniTransform(Vector3.zero); return(false); } transform = location.GetTransform(); return(true); }