-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resharper->Edit->Reformat Code (Actions)
- Loading branch information
1 parent
44ce77c
commit 12602be
Showing
13 changed files
with
199 additions
and
176 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
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 |
---|---|---|
@@ -1,14 +1,17 @@ | ||
#if UNITY_EDITOR | ||
| ||
#if UNITY_EDITOR | ||
|
||
namespace UnityEditor.Experimental.EditorVR.Actions | ||
{ | ||
[ActionMenuItem("Copy", ActionMenuItemAttribute.DefaultActionSectionName, 5)] | ||
sealed class Copy : BaseAction | ||
{ | ||
public override void ExecuteAction() | ||
{ | ||
Unsupported.CopyGameObjectsToPasteboard(); | ||
Paste.SetBufferDistance(Selection.transforms); | ||
} | ||
} | ||
[ActionMenuItem("Copy", ActionMenuItemAttribute.DefaultActionSectionName, 5)] | ||
sealed class Copy : BaseAction | ||
{ | ||
public override void ExecuteAction() | ||
{ | ||
Unsupported.CopyGameObjectsToPasteboard(); | ||
Paste.SetBufferDistance(Selection.transforms); | ||
} | ||
} | ||
} | ||
|
||
#endif |
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
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
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 |
---|---|---|
@@ -1,15 +1,18 @@ | ||
#if UNITY_EDITOR | ||
| ||
#if UNITY_EDITOR | ||
|
||
namespace UnityEditor.Experimental.EditorVR.Actions | ||
{ | ||
[ActionMenuItem("Play")] | ||
sealed class Play : BaseAction | ||
{ | ||
public override void ExecuteAction() | ||
{ | ||
[ActionMenuItem("Play")] | ||
sealed class Play : BaseAction | ||
{ | ||
public override void ExecuteAction() | ||
{ | ||
#if UNITY_EDITOR | ||
EditorApplication.isPlaying = true; | ||
EditorApplication.isPlaying = true; | ||
#endif | ||
} | ||
} | ||
} | ||
} | ||
} | ||
#endif | ||
|
||
#endif |
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 |
---|---|---|
@@ -1,15 +1,18 @@ | ||
#if UNITY_EDITOR | ||
| ||
#if UNITY_EDITOR | ||
|
||
namespace UnityEditor.Experimental.EditorVR.Actions | ||
{ | ||
[ActionMenuItem("Redo", ActionMenuItemAttribute.DefaultActionSectionName, 1)] | ||
sealed class Redo : BaseAction | ||
{ | ||
public override void ExecuteAction() | ||
{ | ||
[ActionMenuItem("Redo", ActionMenuItemAttribute.DefaultActionSectionName, 1)] | ||
sealed class Redo : BaseAction | ||
{ | ||
public override void ExecuteAction() | ||
{ | ||
#if UNITY_EDITOR | ||
UnityEditor.Undo.PerformRedo(); | ||
UnityEditor.Undo.PerformRedo(); | ||
#endif | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
#endif |
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
Oops, something went wrong.