public override void OnInspectorGUI(SpriteAnimationClipBufferElement <TileOffsetProperty, half4> target, string index) { base.OnInspectorGUI(target, $"{nameof(TileOffsetProperty)}-{target.ClipName.ToString()}-{index}"); if (!target.Value.IsCreated) { return; } EditorGUI.indentLevel++; ref var clipSet = ref target.Value.Value;
public bool Equals(SpriteAnimationClipBufferElement <TProperty, TData> other) { return(ClipName.Equals(other.ClipName) && Value.Equals(other.Value)); }