Improve AR menu with multi-dish support, 3D ingredients, and shared sky HDRI.
Fix AR export/visibility per dish, load catalog GLBs at runtime, and replace per-dish HDR with one overcast sky environment for the whole menu. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -7,16 +7,12 @@ namespace Needle.Typescript.GeneratedComponents
|
||||
{
|
||||
public partial class MenuController : UnityEngine.MonoBehaviour
|
||||
{
|
||||
public bool @isMobile = false;
|
||||
public bool @isDesktop = false;
|
||||
public bool @isXR = false;
|
||||
public UnityEngine.Transform[] @dishes;
|
||||
public UnityEngine.Transform @webXROrigin;
|
||||
[UnityEngine.Tooltip("Local-space vertical bob amplitude (meters). Set to 0 to disable.")]
|
||||
[UnityEngine.Tooltip("Local-space vertical bob amplitude (meters). Set to 0 to disable. Peak-to-peak motion is 2× this value; 0.004 ≈ 8 mm total — subtle but visible.")]
|
||||
public float @dishBobAmplitude = 0.004f;
|
||||
[UnityEngine.Tooltip("Bob angular speed (radians per second).")]
|
||||
public float @dishBobSpeed = 1f;
|
||||
public float @selectedDishIndex = 0f;
|
||||
public void OnEnable() {}
|
||||
public void onEnterXR(object @args) {}
|
||||
public void onLeaveXR(object @_args) {}
|
||||
@@ -26,7 +22,9 @@ namespace Needle.Typescript.GeneratedComponents
|
||||
public void setupMobileControls() {}
|
||||
public void setupDesktopControls() {}
|
||||
public void createMenuMobileControls() {}
|
||||
public void prepareForAR() {}
|
||||
public float getDishSlotCount() { return default; }
|
||||
public void registerDishRoot(UnityEngine.Transform @dish) {}
|
||||
public string getPickerLabel() { return default; }
|
||||
public void selectPreviousDish() {}
|
||||
public void selectNextDish() {}
|
||||
|
||||
Reference in New Issue
Block a user