コード例 #1
0
    public override int GetHashCode()
    {
#if UNITY_EDITOR
        if (AssetIdentifier == "")
        {
            Debug.LogError("Saveable asset has not been initialized yet! To fix this click in the Menue \"SaveableAssets -> Validate all Assets\".");
        }
#endif
        return(AssetIdentifier.GetHashCode());
    }
コード例 #2
0
 public override int GetHashCode()
 {
     return(AssetIdentifier.GetHashCode());
 }