Search Unity

Discussion Cost of Unity Render

Discussion in 'Scripting' started by zoeyz0102, Jan 11, 2023.

  1. zoeyz0102

    zoeyz0102

    Joined:
    Nov 9, 2022
    Posts:
    20
    Hi there
    Recently, I am play with unity game optimizing. And most of optimizing skills are related with Unity Perfabs. And I am wondering will It cost less If I made some Perfabs change during the program. For example, I am putting cans into a box. Everytime the box is full, I just active an Perfab that ignored invisiable part of the cans and deactive the orignial box. When I need operate the cans I just reverse the previous steps. Will it worth to try ?
    Thanks
     
  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    5,048
    That will probably help, especially if there are many boxes. Rendering less is generally better.

    But for all performance issues, run the profiler!