Search Unity

  1. Unity 2020.1 has been released.
    Dismiss Notice
  2. We are looking for feedback on the experimental Unity Safe Mode which is aiming to help you resolve compilation errors faster during project startup.
    Dismiss Notice
  3. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Noob Question: How to disable a System?

Discussion in 'Data Oriented Technology Stack' started by craig4android, Dec 27, 2019.

  1. craig4android

    craig4android

    Joined:
    May 8, 2019
    Posts:
    113
    Sure I could comment it out, but there should be a better way? I don't want to disable it, I just don't want it in the build temporarily.
     
  2. eizenhorn

    eizenhorn

    Joined:
    Oct 17, 2016
    Posts:
    2,028
    "How to disable system"
    "I don't want to disable it"


    If youi want exclude susyem from build - wrap it to preprocessor directive (like UNITY_EDITOR) or use your own definitions in player settings for include\exclude system from build\editor\platform\etc
     
    starikcetin likes this.
  3. BenjaminBachman

    BenjaminBachman

    Joined:
    Feb 1, 2017
    Posts:
    25
  4. 5argon

    5argon

    Joined:
    Jun 10, 2013
    Posts:
    1,506
    If you put [DisableAutoCreation] it is still in the build but not added to default world.
     
unityunity