Beispiel #1
0
    protected override void DoDispose()
    {
        base.DoDispose();

        GameObject.Destroy(TheAsset);
        _assetFileLoader.Release();
    }
Beispiel #2
0
    protected override void DoDispose()
    {
        base.DoDispose();

        _assetFileBridge.Release();
        if (InstanceAsset != null)
        {
            Object.Destroy(InstanceAsset);
            InstanceAsset = null;
        }
    }
Beispiel #3
0
 protected override void Dispose()
 {
     base.Dispose();
     AssetFileBridge.Release();
 }
Beispiel #4
0
 protected override void DoDispose()
 {
     base.DoDispose();
     AssetFileBridge.Release(); // all, Texture is singleton!
 }
Beispiel #5
0
 protected override void DoDispose()
 {
     base.DoDispose();
     _bridge.Release();
 }