Add TownSquare scene assets, resource production docs, and model pipeline updates.
Bring in plaza props/prefabs, ZhaoYun source GLB, design originals, and Hunyuan/Blender tooling used to produce them. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
|
||||
public static class FrameTownSquare
|
||||
{
|
||||
public static string Run()
|
||||
{
|
||||
SceneView.FocusWindowIfItsOpen<SceneView>();
|
||||
var v = SceneView.lastActiveSceneView;
|
||||
if (v == null && SceneView.sceneViews.Count > 0)
|
||||
v = SceneView.sceneViews[0] as SceneView;
|
||||
if (v == null)
|
||||
return "no scene view";
|
||||
v.LookAt(new Vector3(0f, 1.0f, 0.5f), Quaternion.Euler(38f, 12f, 0f), 22f);
|
||||
v.Repaint();
|
||||
return "framed";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user