Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions EditorScripts/AryzonEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ public class AryzonEditor : Editor

SerializedProperty trackingEngineProp;

SerializedProperty setAryzonModeOnStartProp;
SerializedProperty addEditorMovementControlsProp;

SerializedProperty setAryzonModeOnStartProp;
SerializedProperty blackBackgroundProp;

SerializedProperty onStartProp;
Expand Down Expand Up @@ -77,7 +79,8 @@ void OnEnable()
trackingEngineProp = serializedObject.FindProperty("trackingEngine");

setAryzonModeOnStartProp = serializedObject.FindProperty("setAryzonModeOnStart");
blackBackgroundProp = serializedObject.FindProperty("blackBackgroundInStereoscopicMode");
addEditorMovementControlsProp = serializedObject.FindProperty("editorMovementsControls");
blackBackgroundProp = serializedObject.FindProperty("blackBackgroundInStereoscopicMode");

m_OnClickProperty = serializedObject.FindProperty("onClick");

Expand Down Expand Up @@ -146,7 +149,8 @@ public override void OnInspectorGUI()

EditorGUILayout.PropertyField(setAryzonModeOnStartProp, new GUIContent("Set Aryzon mode on Start"), GUILayout.Height(fieldHeight));
EditorGUILayout.PropertyField(blackBackgroundProp, new GUIContent("Auto setup cameras for AR/MR", "This will disable the camera feed in stereoscopic mode (ARFoundation only) and set its Clear Flags to Solid Color black (any tracking engine). This is recommended for MR use, for VR you may want to render the Sky Box, in that case you will need to disable the camera feed manually."), GUILayout.Height(fieldHeight));
EditorGUILayout.Space();
EditorGUILayout.PropertyField(addEditorMovementControlsProp, new GUIContent("Add movement controls (editor only)"), GUILayout.Height(fieldHeight));
EditorGUILayout.Space();
EditorGUILayout.Space();

aryzonManager.showAryzonModeEvents = EditorGUILayout.Foldout(EditorPrefs.GetBool("showAryzonModeEvents", false), "Aryzon mode events");
Expand Down
Binary file added Runtime/Graphics/AryzonControllerBlack.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
146 changes: 146 additions & 0 deletions Runtime/Graphics/AryzonControllerBlack.png.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added Runtime/Graphics/AryzonControllerTurnOn.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
146 changes: 146 additions & 0 deletions Runtime/Graphics/AryzonControllerTurnOn.png.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading