Skip to content

Commit

Permalink
performance tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
neon-ninja committed May 25, 2020
1 parent 0104dde commit 7c37f45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/Scripts/Fishtank.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1616,7 +1616,7 @@ public void SetCartoonRendering(GameObject go)
dimer.GetComponent<MeshRenderer>().enabled = !renderCartoon;
dimer.transform.Find("mesh_cartoon").gameObject.SetActive(renderCartoon);

dimer.transform.Find("dimerLight").gameObject.SetActive(!renderCartoon);
//dimer.transform.Find("dimerLight").gameObject.SetActive(!renderCartoon);
}
else if (go.tag == "ring")
{
Expand Down

0 comments on commit 7c37f45

Please sign in to comment.