コード例 #1
0
 /// <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();
 }
コード例 #2
0
 private void OnDestroy()
 {
     GuidManagerSingleton.Remove(guidProviderAsset.GetGuid());
 }