/// <summary> /// Generates new Guid. Be careful with this method. It should be called only in specific cases. /// </summary> public void RegenerateGuid() { GuidManagerSingleton.Remove(guid); serializedGuid = null; guid = System.Guid.Empty; cachedStringGuid = null; CreateGuid(); }
private void OnDestroy() { GuidManagerSingleton.Remove(guidProviderAsset.GetGuid()); }