Class EditorHash
Inheritance
System.Object
EditorHash
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: CarbideFunction.Wildtile.Editor
Syntax
public static class EditorHash
Methods
AssetReference(UnityEngine.Object)
Hash an asset reference. Deterministic across editor sessions.
This does not hash the asset itself, only which asset this reference is pointing at.
If the target is not an asset, this call will silently return 0.
Declaration
public static IntegerType AssetReference(UnityEngine.Object target)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.Object | target |
Returns
Type | Description |
---|---|
IntegerType |