Search found 4 matches
- Sun Nov 10, 2024 12:39 am
- Forum: Dialogue System for Unity
- Topic: SavePosition on RectTransform?
- Replies: 1
- Views: 66
SavePosition on RectTransform?
I've built an inventory system where items(images) can be freely dragged and dropped anywhere within a panel. I've attached a PositionSaver, and it sooooort of works. It's spawns the object but it's not a child of the panel. This is fine, I can set the parent in the Awake() function, but the positio...
- Sun Nov 10, 2024 12:29 am
- Forum: Dialogue System for Unity
- Topic: Loading Breaks Public References
- Replies: 4
- Views: 98
Re: Loading Breaks Public References
Great! thank you. I'll stay with my work-around for now, but if I end up needing this, it's good to have as a reference.
- Fri Nov 08, 2024 10:23 pm
- Forum: Dialogue System for Unity
- Topic: Loading Breaks Public References
- Replies: 4
- Views: 98
Re: Loading Breaks Public References
Can confirm that it looks like it has to do with running it straight through the Lua.RegisterFunction call.
If I instead have the dialogue system enable an separate object with a Usable trigger, I can go to that object to trigger the code with the usable.
If I instead have the dialogue system enable an separate object with a Usable trigger, I can go to that object to trigger the code with the usable.
- Fri Nov 08, 2024 10:01 pm
- Forum: Dialogue System for Unity
- Topic: Loading Breaks Public References
- Replies: 4
- Views: 98
Loading Breaks Public References
Whenever I load (currently with SaveSystemMethods) I am getting: MissingReferenceException: The object of type 'GameObject' has been destroyed but you are still trying to access it. On public references that are visible in the inspector. This only seems to happen on functions that are called through...