LoginSignup
2
1

More than 1 year has passed since last update.

UnityでSystem.Drawingを使用する

Last updated at Posted at 2021-04-02

通常の状態ではUnity内にSystem.Drawing.dllは含まれていない。

下記のパスからコピーして持ってくる。ちなみに.Netのフォルダから持ってくると名前解決はできるが、実際に呼び出しなどを行うとUnityエディタが強制終了する不具合が発生することがある。

C:\Program Files\Unity\Hub\Editor\ [Unityバージョン] \Editor\Data\MonoBleedingEdge\lib\mono\4.5

csc.rspを記述する方法も考えたが、製品にビルドする際にエラーが出てしまう。1

参照

Unity Forums
Unity Answers - csc.rsp works in editor but throws an error when building


2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1