public override void Dispose() { _lazyCreator.DecRefCount(); _singletonRegistry.UnmarkSingleton(_singletonId, SingletonTypes.ToSingleMonoBehaviour); _owner.UnmarkGameObject(_singletonId, _monoBehaviourId.GameObject); }
public override void Dispose() { _lazyCreator.DecRefCount(); _singletonRegistry.UnmarkSingleton(_id, SingletonTypes.ToSingleFactory); }
public override void Dispose() { _creator.DecRefCount(); _singletonRegistry.UnmarkSingleton(_id, SingletonTypes.ToSingleGameObject); }
public override void Dispose() { _lazyCreator.DecRefCount(); _singletonRegistry.UnmarkSingleton(_singletonId, SingletonTypes.ToSinglePrefabResource); _owner.UnmarkResource(_singletonId, _resourceId.ResourcePath); }
public override void Dispose() { _lazyCreator.DecRefCount(); _singletonRegistry.UnmarkSingleton(_singletonId, SingletonTypes.ToSinglePrefab); _owner.UnmarkPrefab(_singletonId, _prefabId.Prefab); }