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

unity wont accept system.windows?

Discussion in 'Scripting' started by Wtyson, Dec 25, 2015.

  1. Wtyson

    Wtyson

    Joined:
    Aug 15, 2014
    Posts:
    57
    any one know why unity will not accept system.windows even after i add the assembly reference in visual studio? just keeps spitting namespace errors at me .
     
  2. hippocoder

    hippocoder

    Digital Ape Moderator

    Joined:
    Apr 11, 2010
    Posts:
    29,723
    Visual Studio doesn't compile anything for Unity if just using C# and not building dlls or anything. In any case there are a hundred google results for it, did you search with a unity context?
     
  3. Wtyson

    Wtyson

    Joined:
    Aug 15, 2014
    Posts:
    57
    yeah i was thinking unity for some reason could not get the game window size. but i was wrong. was basically due to my launcher changing window size through command lines and having the data be mirrored in side unity. but after digging through the api i found what i needed to make it all work in sync with each other. thanks for taking the time to answer on X-mas!