Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
ai.fluctio.fluctio-sim / EditorCore / HierarchyIcons / HierarchyIconsHelpers.cs
Size: Mime:
using System;
using System.Diagnostics.CodeAnalysis;
using UnityEngine;

namespace Fluctio.FluctioSim.EditorCore.HierarchyIcons
{
	public record HierarchyIconLabel(Texture2D Icon, string Description, bool FixIsEnabled = false);
	
	[Serializable]
	public record HierarchyIconInfo(bool IsEnabled, Color Color)
	{
		[field: SerializeField] public bool IsEnabled { get; set; } = IsEnabled;
		[field: SerializeField] public Color Color { get; set; } = Color;

		public HierarchyIconInfo() : this(false, Color.black) {}
		public HierarchyIconInfo(Color color) : this(true, color) {}
	}
	
	[Serializable]
	[SuppressMessage("ReSharper", "UnusedMember.Global")]
	public enum GameObjectIconMode
	{
		ShowAll,
		HideComponentIcon,
		HideGameObjectIcon,
	}
}