Skip to content

PrefabChange

namespace Griff.Runtime;
public sealed class PrefabChange

A prefab file found to have changed (Changed).

public PrefabVersion? Before { get; init; }

The version it was, or null if it hadn’t been read (or is new).

public PrefabVersion? Now { get; init; }

The version it is now, or null if it was deleted.

public string Path { get; init; }

The prefab file’s full path.

public void Deconstruct(out string Path, out PrefabVersion? Before, out PrefabVersion? Now)
public override bool Equals(object? obj)
public bool Equals(PrefabChange? other)
public override int GetHashCode()
public override string ToString()