Commit 874cdef8 authored by mercury233's avatar mercury233

temp partly fix closeup can't be turned off

parent 009a00e8
Pipeline #20982 passed with stages
in 153 minutes and 27 seconds
...@@ -1431,9 +1431,15 @@ public class gameCard : OCGobject ...@@ -1431,9 +1431,15 @@ public class gameCard : OCGobject
{ {
gameObject_face.GetComponent<Renderer>().material.mainTexture = await GameTextureManager.GetCardPicture(data.Id, gameObject_face.GetComponent<Renderer>().material.mainTexture = await GameTextureManager.GetCardPicture(data.Id,
p.controller == 0 ? GameTextureManager.myBack : GameTextureManager.opBack); p.controller == 0 ? GameTextureManager.myBack : GameTextureManager.opBack);
if (game_object_verticle_drawing) if (game_object_verticle_drawing)
game_object_verticle_drawing.GetComponent<Renderer>().material.mainTexture = {
await GameTextureManager.GetCardCloseUp(data.Id); if (Program.getVerticalTransparency() > 0.5f)
game_object_verticle_drawing.GetComponent<Renderer>().material.mainTexture =
await GameTextureManager.GetCardCloseUp(data.Id);
else
game_object_verticle_drawing.GetComponent<Renderer>().material.mainTexture =
GameTextureManager.N;
}
} }
private void card_picture_handler() private void card_picture_handler()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment