I have game object which loads textures from external directory. Code part looks like this:
private var stillsPathsLeft : String = Directory.GetFiles("C:/MyApp/stills/Left/","*.jpg"); private var urlLeft = "file://"+stillsPathsLeft[initImage]; private var stillsPathsReset = stillsPathsLeft.Length-1; private var initImage: int = 0; var leftGo: GameObject;
Learn to format your code properly. See the tutorial video.
Answer by Graham-Dunnett
Apr 29, 2013 at 11:44 AM
The webplayer has zero (none, nada) access to the file system of the PC where it is running.
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a site navigation guide.
If you are a new user to Unity Answers, check out our FAQ for more information.
Make sure to check out our Knowledge Base for commonly asked Unity questions.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
Answers and Comments
13 People are following this question.
Setting Scroll View Width GUILayout
Tried to set animation speed: Type 'UnityEngine.Component' does not support slicing.
Translate c script in java
issue with raycast behavior