Added samples for burst and entities
This commit is contained in:
parent
2a354e7da5
commit
c1e7044561
25 changed files with 840 additions and 3 deletions
|
|
@ -0,0 +1,27 @@
|
|||
using Module.NavigationTool.Editor.Toolbar;
|
||||
using UnityEditor;
|
||||
|
||||
namespace Module.NavigationTool.Editor.Entities.Toolbar
|
||||
{
|
||||
internal sealed class ToolbarEntitiesSettings : IToolbarSettings
|
||||
{
|
||||
public string Title => "Entities";
|
||||
|
||||
private const string PREF_PREFS_ENABLED = "ToolbarSettings.IsEntitiesEnabled";
|
||||
|
||||
public static bool IsEnabled
|
||||
{
|
||||
get => EditorPrefs.GetBool(PREF_PREFS_ENABLED, false);
|
||||
set => EditorPrefs.SetBool(PREF_PREFS_ENABLED, value);
|
||||
}
|
||||
|
||||
public void Initialize()
|
||||
{
|
||||
}
|
||||
|
||||
public void Draw()
|
||||
{
|
||||
IsEnabled = EditorGUILayout.Toggle("Enable Entities", IsEnabled);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 1077d6399eff29247a55c20578a2df1c
|
||||
Loading…
Add table
Add a link
Reference in a new issue