Assistant
THEME IS CLOSED |
Puzzle 1000 |
Message#1 28.03.17, 13:06 | |
Guru [online] Group: Friendssavagemessiahzine.com Messages 2155 Check in: 21.03.14 Reputation: 45 | Puzzle 1000 downloadVersion: 1.0 Last update in the header: 03/29/2017 Android version: any Full description of the game: Puzzles. More than 1000 photos in 27 themes. Interested in: Testing on the device (on the emulator does not work, in unity it works) Post has been editedmihail_13 - 14.05.17, 13:38 |
Message#22 11.05.17, 15:42 | |
Guru [online] Group: Friendssavagemessiahzine.com Messages 2155 Check in: 21.03.14 Reputation: 45 | on average it is more expensive But the problem was again not there Interposed one more debugging of null there right after assignment not null I hate mysticism. Only one thought - in the coroutine under the android you can not use global variables (they are updated) |
Message#23 11.05.17, 15:44 | |
Local [offline] Group: Friendssavagemessiahzine.com Messages 172 Check in: 03.04.17 Reputation: 12 | |
Message#24 11.05.17, 16:01 | |
Guru [online] Group: Friendssavagemessiahzine.com Messages 2155 Check in: 21.03.14 Reputation: 45 | Yes, they do not spoil. But in them under the android (everything is normal under the editor) nothing is written. What kind of rake did I find there? And the code is three lines ... Where is it possible to make a mistake? |
Message#25 11.05.17, 16:09 | |
Local [offline] Group: Friendssavagemessiahzine.com Messages 172 Check in: 03.04.17 Reputation: 12 | Yes, they do not spoil. But in them under the android (everything is normal under the editor) nothing is written. Everything is written there .. if it is not written, then you are not writing .. When subscribing, immediately add OnDisable and the same line as in OnEnable. Only instead of + put -. Difficult and not comfortable? Just a couple of mouse and keyboard clicks .. Example: void OnEnable () { CaptureButton.OnClick + = CaptureButton_OnClick; } void OnDisable () { CaptureButton.OnClick - = CaptureButton_OnClick; } Long and tedious to write this code that the scribe .. Post has been editedmysterioOne - 11.05.17, 16:12 |
Message#26 11.05.17, 16:19 | |
Guru [online] Group: Friendssavagemessiahzine.com Messages 2155 Check in: 21.03.14 Reputation: 45 | IEnumerator LoadTexture (string url) { Www www; www = new WWW (url); yield return www; info.text + = "|" + "end load texture" + (www.texture! = null) + "" + www.error; info.text + = "|" + "0 not null" + (mat2.mainTexture! = null); mat2.mainTexture = www.texture; info.text + = "|" + "1 not null" + (mat2.mainTexture! = null); readyTexture = true; } In the editor, I get true, false, true In android true false false If I hadn’t, I’d not write where |
Message#27 11.05.17, 16:28 | |
Local [offline] Group: Friendssavagemessiahzine.com Messages 172 Check in: 03.04.17 Reputation: 12 | string url Try a simple http download. eg,http: //www.jpeghost.ru…26_5295_n8p/03_bta.png maybe your protocol on Android breaks .. |
Message#28 11.05.17, 16:39 | |
Guru [online] Group: Friendssavagemessiahzine.com Messages 2155 Check in: 21.03.14 Reputation: 45 | mysterioOne, Firstly, the old version works, and secondly, the picture is loaded on the emulator USB flash drive Thirdly, a pure file is requested. StartCoroutine (LoadTexture ("file: ///" + dir + "/" + picName [pagePic-1] [nomPic] + ".jpg")); in the fourth it does not matter what is in the texture: there is a variable whose value is not null, I assign its value to another variable, but no assignment takes place. But I will try - suddenly it turns out that the useful. |
Message#29 11.05.17, 16:52 | |
Guru [online] Group: Friendssavagemessiahzine.com Messages 2155 Check in: 21.03.14 Reputation: 45 | Useful did not work - exactly the same. |
Message#30 11.05.17, 17:01 | |
Local [offline] Group: Friendssavagemessiahzine.com Messages 172 Check in: 03.04.17 Reputation: 12 | |
Message#31 11.05.17, 17:23 | |
Veteran [online] Group: Friendssavagemessiahzine.com Messages 1744 Check in: 02.03.14 Reputation: 406 | |
Message#32 11.05.17, 18:13 | |
Guru [online] Group: Friendssavagemessiahzine.com Messages 2155 Check in: 21.03.14 Reputation: 45 | Why then do I have to download images from the Internet and the appointment to the Image material works? Because your shader is different. (I also use the standard one, only the texture I put into it through this one, and this one has an read-only texture field under the android) |
Message#33 11.05.17, 18:15 | |
Local [offline] Group: Friendssavagemessiahzine.com Messages 172 Check in: 03.04.17 Reputation: 12 | mihail_13, 1. What is my shader? 2. What prevents to use a suitable shader? 3. The read / write permission field for the texture is available for the texture, but not for the shader .. Post has been editedmysterioOne - 11.05.17, 18:21 |
Message#34 11.05.17, 18:18 | |
Guru [online] Group: Friendssavagemessiahzine.com Messages 2155 Check in: 21.03.14 Reputation: 45 | |
Message#35 11.05.17, 18:22 | |
Local [offline] Group: Friendssavagemessiahzine.com Messages 172 Check in: 03.04.17 Reputation: 12 | mihail_13, Well, if you do not want to use normal (in this case, suitable), then watch the nullref and complain that it does not work further :) Material / shader do not care how and why you take / cram the texture .. Post has been editedmysterioOne - 11.05.17, 18:24 |
Message#36 11.05.17, 18:57 | |
Guru [online] Group: Friendssavagemessiahzine.com Messages 2155 Check in: 21.03.14 Reputation: 45 | |
Message#37 12.05.17, 11:47 | |
Guru [online] Group: Friendssavagemessiahzine.com Messages 2155 Check in: 21.03.14 Reputation: 45 | |
Message#38 12.05.17, 15:36 | |
Veteran [online] Group: Friendssavagemessiahzine.com Messages 1744 Check in: 02.03.14 Reputation: 406 | |
Message#39 12.05.17, 15:42 | |
Guru [online] Group: Friendssavagemessiahzine.com Messages 2155 Check in: 21.03.14 Reputation: 45 | |
Message#40 12.05.17, 16:00 | |
Local [offline] Group: Friendssavagemessiahzine.com Messages 172 Check in: 03.04.17 Reputation: 12 | |
Message#41 12.05.17, 16:07 | |
Local [offline] Group: Friendssavagemessiahzine.com Messages 172 Check in: 03.04.17 Reputation: 12 | |
mobile version | Now: 05/20/19 08:32 |