I am using this code:
and I want to change the url and use the save/image directory to make it faster to load, is there any way?Code:string aimHelp= @"[ { ""name"": ""aimHelp"", ""parent"": ""Overlay"", ""components"": [ { ""type"":""UnityEngine.UI.RawImage"", ""imagetype"": ""Image"", ""color"": ""1.0 1.0 1.0 1.0"", ""url"": ""http://..."", }, { ""type"":""RectTransform"", ""anchormin"": ""0.50 0.50"", ""anchormax"": ""0.50 0.50"" } ] } ] ";
Getting an image from save/images c#
Discussion in 'Rust Development' started by cibal, Aug 20, 2015.
-
look at Sign Artists. That plugin has a possibillity to load pictures from server storage if I'm not wrong.
-
Was remove this new update. And on the last update I didnt find nothing that helps me. If I use a local server I only need to change the url for "C://..." but on the ftp I didnt find the way
On the sign artist plugin it get the img like an array but to put the img as a GUI i need an url, isnt it?Last edited by a moderator: Aug 20, 2015 -
On the last update they remove this stuff:
Removed /sil s [num] (can't be used since new update)
[DOUBLEPOST=1440415998][/DOUBLEPOST]I have notice that you can use:
instead ofCode:""sprite"": ""Assets/Icons/rust.png""
but I havent found that folder, do someone know where it is?Code:""url"":""http://...""
-
As I know its some kind of compressed asset file. You can really unpack it. At least idk how to unpack it.
-
do you know where I can find the asset file?
-
Search for it in your Rust Steam folder. You should be able to easily find it.
-
I have found some asset files but none of this files include rust.png
[DOUBLEPOST=1440420368][/DOUBLEPOST]Do you know if theis working and where is this searchig for the image?Code:""png"":"uint imageID""
