-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
25 changed files
with
396 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
...ditions-And-Behaviors/Editor/UI/Drawers/Data Property Drawers/IntProcessVariableDrawer.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
using UnityEditor; | ||
using VRBuilder.Core.ProcessUtils; | ||
using VRBuilder.Editor.UI.Drawers; | ||
|
||
namespace VRBuilder.Editor.Core.UI.Drawers | ||
{ | ||
/// <summary> | ||
/// Implementation of <see cref="ProcessVariableDrawer{T}"/> that draws int variables. | ||
/// </summary> | ||
[DefaultProcessDrawer(typeof(ProcessVariable<int>))] | ||
internal class IntProcessVariableDrawer : ProcessVariableDrawer<int> | ||
{ | ||
/// <inheritdoc/> | ||
protected override int DrawConstField(int value) | ||
{ | ||
return EditorGUILayout.IntField("", value); | ||
} | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
...ns-And-Behaviors/Editor/UI/Drawers/Data Property Drawers/IntProcessVariableDrawer.cs.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 15 additions & 6 deletions
21
Source/Basic-Interaction-Component/Runtime/Resources/VRBuilderAnchorPrefab.prefab
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.