Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Mecanim: Optimize and de-optimize game objects at runtime

Discussion in 'Animation' started by yuewahchan, Apr 30, 2014.

  1. yuewahchan

    yuewahchan

    Joined:
    Jul 2, 2012
    Posts:
    309
    It is in UnityEditor namespace which cannot work at runtime.



    How to optimize game objects at runtime and exposing extra transforms ?
     
  2. chrisall76

    chrisall76

    Joined:
    May 19, 2012
    Posts:
    667
    Why not just do this in the editor, why at runtime? I mean, exposing transforms and optimizing the gameobject in general instead of at runtime would have the same result.
     
  3. yuewahchan

    yuewahchan

    Joined:
    Jul 2, 2012
    Posts:
    309
    It is because it is a customizable character in editor that is generated at runtime.
     
  4. Sparrowfc

    Sparrowfc

    Joined:
    Jan 31, 2013
    Posts:
    100
    God, a three year old thread? I really hope Unity can make this API runtime. Transform information is needed to combine mesh at runtime, for those they can only do optimize-gameobject at runtime