Exemple #1
0
 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;
Exemple #2
0
 public bool Equals(SpriteAnimationClipBufferElement <TProperty, TData> other)
 {
     return(ClipName.Equals(other.ClipName) &&
            Value.Equals(other.Value));
 }