Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

New "generate Physics" option on sprite mode

Discussion in 'UGUI & TextMesh Pro' started by andyz, Aug 10, 2018.

  1. andyz

    andyz

    Joined:
    Jan 5, 2010
    Posts:
    2,236
    So in 2018 (well .2) there is a Generate Physics tickbox under Texture - Sprite - Sprite Mode that has appeared but does not seem to be documented!

    Anyway I assume not needed for sprites to use in the UI so perhaps you can make a setting that disables this by default (without resorting to editor scripting) for any project that does not use sprites for 2D [non-UI]?
     
  2. koirat

    koirat

    Joined:
    Jul 7, 2012
    Posts:
    2,065
    "Generate Physics Shape" - How can I disable/enable this option by script on importer.

    It is missing on TextureImporter.
     
  3. Sara_in_Everi

    Sara_in_Everi

    Joined:
    May 22, 2023
    Posts:
    1
    any update on this ^^ ?

    it is still missing on textureImporter.

    and i saw its available on Sprite class. Not on editor script related classes or in import settings stuff.