9092858a58
I updated everything to the latest Unity Editor. Also realized I had the wrong shaders on my hairs, those are fixed and the hairs look MUCH better!
30 lines
832 B
C#
30 lines
832 B
C#
using JetBrains.Annotations;
|
|
using Packages.Rider.Editor;
|
|
using Unity.CodeEditor;
|
|
|
|
// ReSharper disable once CheckNamespace
|
|
namespace JetBrains.Rider.Unity.Editor
|
|
{
|
|
/// <summary>
|
|
/// Is called via commandline from Rider Notification after checking out from source control.
|
|
/// </summary>
|
|
[UsedImplicitly]
|
|
public static class RiderMenu
|
|
{
|
|
/// <summary>
|
|
/// Is called via commandline from Rider Notification after checking out from source control.
|
|
/// </summary>
|
|
[UsedImplicitly]
|
|
public static void MenuOpenProject()
|
|
{
|
|
if (RiderScriptEditor.IsRiderOrFleetInstallation(RiderScriptEditor.CurrentEditor))
|
|
{
|
|
// Force the project files to be sync
|
|
CodeEditor.CurrentEditor.SyncAll();
|
|
|
|
// Load Project
|
|
CodeEditor.CurrentEditor.OpenProject();
|
|
}
|
|
}
|
|
}
|
|
} |