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
using System; | |
namespace Example | |
{ | |
public struct Mass : IComparable<Mass>, IEquatable<Mass> | |
{ | |
#region Constants | |
public static readonly Mass MinValue = new Mass { Ticks = long.MinValue }; | |
public static readonly Mass MaxValue = new Mass { Ticks = long.MaxValue }; | |
public static readonly Mass Zero; |
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
using UnityEngine; | |
using UnityEditor.Graphing; | |
using UnityEditor.ShaderGraph; | |
[Title("Utility", "Comment")] | |
public class CommentNode : AbstractMaterialNode { | |
[SerializeField] | |
private string m_comment = string.Empty; |