public override void Draw(SharpRenderer renderer) { if (AHDR.assetType == HipHopFile.AssetType.UI && _textureAssetID == 0) { base.Draw(renderer); } else { renderer.DrawPlane(world, isSelected, _textureAssetID, UvAnimOffset); } }
public override void Draw(SharpRenderer renderer) { if (DontRender || isInvisible) { return; } if (_textureAssetID == 0) { base.Draw(renderer); } else { renderer.DrawPlane(world, isSelected, _textureAssetID, UvAnimOffset); } }