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

            if (_textureAssetID == 0)
            {
                base.Draw(renderer);
            }
            else
            {
                renderer.DrawPlane(world, isSelected, _textureAssetID, UvAnimOffset);
            }
        }