Hi Chris!
I got a question regarding Documents menu. Is it possible to scroll not only text by ShiftLeft and ShiftRight, but also a texture (i.e. "flip pages")? If not, do you plan to add such feature in the future?
Thank you!
With best regards , Dennis.
Comments
_... but you can't assign a texture to each individual page
Yeah , that`s I mean... I`m not a programmer and no savvy how to do this through custom script... Can you help?
Something like this:
https://i.imgur.com/7iiWTLV.png
I should like this:
https://imgur.com/a/QzgKSEU
For instance, photo album with short notes about each photo. Or dossiers of the actors, with short description of each, and also a photo
I think I will need 5 or 6 of such documents:
Photoalbum , Characters , Equip , Weapons , Items... may be something else.
Thank you very much for your help!
You are the best developer!
Thank you very much!!!
I'm trying to create a journal with textures as you've discussed above as well. Through following this post and other ones, I've been able to create a functional journal with double pages, buttons etc.
I've followed the steps detailed here but the textures don't seem to show up, I don't know why. I've kept the name of the menus the same as that in the script as well.
Any idea what I'm missing?
Here's some images of the editor.
Thanks!
But the issue now is that the textures don't seem to change with the pages. It stays stuck on the first image even when changing the pages. I created a single page journal instead of a double one but the problem remains.
I think there'll be problems making it work for a double page system but I'll try and make it work for a single system first.
Here's links to images showing no change in texture after flipping pages, and inspector properties:
https://imgur.com/Zkvs7yW
https://imgur.com/cXOEdff
Edit: And another question - is it possible to add more pages during runtime like it is for the Journals? Something like Menu>Change state>Add Journal Page.
I intend to keep updating the diary/ document as the player discovers stuff. Kind of like where they receive a "entry added" notification which they can read by opening the diary/ document.
A completely new document can be added but I'm not sure whether I should use a separate document for each new page.
After updating the page texture (line 53 in the script).
The ID field is correct now.
Switching to AC menu did make the textures switch correctly.
"while it's likely better to just disconnect the Image component from the Menu Manager and just manipulate it directly" - how can the image be manipulated directly? Removing the Image component made the texture disappear altogether.
With the image component intact, I updated the script by adding the suggested code below line 53 and saved, but it made no difference.
The code should look like this?
Hi Chris, I would be interested in the code that you pasted above:
http://pasteall.org/1221068/csharp
But I don't think it's available anymore. Is there any chance that you could repost it?
Thanks!
I'm afraid it's been lost, though perhaps @armaan or @disya75 still have a copy.
Thanks Chris, let's see if they have still have a copy.