InvexGames / MaterialUI

MaterialUI is a UI kit for Unity that follows Google's official material design guidelines.
http://invexgames.com/materialUI.html
Other
771 stars 200 forks source link

System.IO.File' does not contain a definition forWriteAllBytes' #56

Open glady-anne opened 8 years ago

glady-anne commented 8 years ago

@InvexGames hi! it seems im facing issue regarding Assets/MaterialUI/Scripts/ShadowGen.cs(292,40): error CS0117: System.IO.File' does not contain a definition forWriteAllBytes'

how can i fix it ? any solution please ?

nah0y commented 8 years ago

Hello, What platform are you targeting?

glady-anne commented 8 years ago

android . can you help me how to fix it ?

nah0y commented 8 years ago

What version of Unity are you using?

NurulUs commented 8 years ago

using unity version 5.2.0 Pada tanggal 6 Jun 2016 22.23, "Yohan Hadjedj" notifications@github.com menulis:

[image: Boxbe] https://www.boxbe.com/overview This message is eligible for Automatic Cleanup! (notifications@github.com) Add cleanup rule https://www.boxbe.com/popup?url=https%3A%2F%2Fwww.boxbe.com%2Fcleanup%3Fkey%3D5A%252Fla8td%252FNQAva%252FqpuN5nGY5NivHJpnroSV5nW8AF7I%253D%26token%3D1xcDzxDj8JBfSpnd0uotuP85PWZS21EWdoTso%252BTuJZmMhy2zQ44%252BpMXcJTZ1IlpJzfzpHJIwj6NHOugVfxoy2wjwL%252BBJ3iYIyRV2v45J3bXo21eRJZmR4K9CvMTCrL169w%252FLWfLVtrwsBnX09gkszg%253D%253D&tc_serial=25664448379&tc_rand=109247157&utm_source=stf&utm_medium=email&utm_campaign=ANNO_CLEANUP_ADD&utm_content=001 | More info http://blog.boxbe.com/general/boxbe-automatic-cleanup?tc_serial=25664448379&tc_rand=109247157&utm_source=stf&utm_medium=email&utm_campaign=ANNO_CLEANUP_ADD&utm_content=001

What version of Unity are you using?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/InvexGames/MaterialUI/issues/56#issuecomment-223992158, or mute the thread https://github.com/notifications/unsubscribe/AK5RKwKc_cpLDnYr7JIplTnZ2uNHtgx6ks5qJDsXgaJpZM4IuHkH .

nah0y commented 8 years ago

Hum... are you sure you're on Android? Seems like you're targeting WebPlayer that is not supported.

Go to File -> BuildSettings and switch to Android platform.

NurulUs commented 8 years ago

Yes, using for my android. Pada tanggal 7 Jun 2016 22.55, "Yohan Hadjedj" notifications@github.com menulis:

[image: Boxbe] https://www.boxbe.com/overview This message is eligible for Automatic Cleanup! (notifications@github.com) Add cleanup rule https://www.boxbe.com/popup?url=https%3A%2F%2Fwww.boxbe.com%2Fcleanup%3Fkey%3DEZkjXH8mylAB0z26OneXXex8lHgSx5UtAumhqrSC%252BuE%253D%26token%3DBPJiLhe70%252FHhxU3QXTcZhAYCl%252Fd1Kx9XvX1NVwz%252BxjoC3hDFkOyVS%252FiwmaxPR84Y8qw7YNfUa6%252FvPiLaQuPWFuR6RyfDbSlDa6sSz96dV%252FLRgGEGjWHfROV4gWwDuUdmWsR5a6jkCX92LCNGDTvjAg%253D%253D&tc_serial=25676952179&tc_rand=630801703&utm_source=stf&utm_medium=email&utm_campaign=ANNO_CLEANUP_ADD&utm_content=001 | More info http://blog.boxbe.com/general/boxbe-automatic-cleanup?tc_serial=25676952179&tc_rand=630801703&utm_source=stf&utm_medium=email&utm_campaign=ANNO_CLEANUP_ADD&utm_content=001

Hum... are you sure you're on Android? Seems like you're targeting WebPlayer that is not supported.

Go to File -> BuildSettings and switch to Android platform.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/InvexGames/MaterialUI/issues/56#issuecomment-224325923, or mute the thread https://github.com/notifications/unsubscribe/AK5RKyEMc6646rQ7UzIIsmTBEdeI0GHgks5qJZRbgaJpZM4IuHkH .

glady-anne commented 8 years ago

yep i already download the android platform thanks @nah0y . now my new problem is when i click ADD OPEN SOURCES i go to the folder where i put what im download. then the android platform is .EXE but the only choices there to import is .UNITY and ALL FOLDERS? question is how can i import the android platform ?

nah0y commented 8 years ago

I don't understand a single thing of what you said, sorry lol