Stein0705
Stein0705
CC#
Created by Stein0705 on 8/25/2023 in #help
✅ Acces delegate type from another script
/close
35 replies
CC#
Created by Stein0705 on 8/25/2023 in #help
✅ Acces delegate type from another script
ok, thanks again!
35 replies
CC#
Created by Stein0705 on 8/25/2023 in #help
✅ Acces delegate type from another script
Does the ticket close automatically or do i need to do something?
35 replies
CC#
Created by Stein0705 on 8/25/2023 in #help
✅ Acces delegate type from another script
Thank you so much, i kinda wasted your time there... I works like a charm now. peepoNoted
35 replies
CC#
Created by Stein0705 on 8/25/2023 in #help
✅ Acces delegate type from another script
cannot convert from 'InventoryManagerScript.ReadCallback' to 'FirebaseManager.ReadCallback'
35 replies
CC#
Created by Stein0705 on 8/25/2023 in #help
✅ Acces delegate type from another script
also, here is the error:
35 replies
CC#
Created by Stein0705 on 8/25/2023 in #help
✅ Acces delegate type from another script
You can tell me when you'll have time. (I live at GMT+1 btw)
35 replies
CC#
Created by Stein0705 on 8/25/2023 in #help
✅ Acces delegate type from another script
i would be ok with going into voice chat and talking about this vocaly so its easier for the both of us
35 replies
CC#
Created by Stein0705 on 8/25/2023 in #help
✅ Acces delegate type from another script
ReadCallback readCallback = LoadInventory; FirebaseManager.ReadFromDatabase("/data/", readCallback);
35 replies
CC#
Created by Stein0705 on 8/25/2023 in #help
✅ Acces delegate type from another script
public delegate void ReadCallback(object data);
35 replies
CC#
Created by Stein0705 on 8/25/2023 in #help
✅ Acces delegate type from another script
i have this delegate type:
35 replies
CC#
Created by Stein0705 on 8/25/2023 in #help
✅ Acces delegate type from another script
35 replies
CC#
Created by Stein0705 on 8/25/2023 in #help
✅ Acces delegate type from another script
Go to go. It's getting late. Thank you for trying to help me
35 replies
CC#
Created by Stein0705 on 8/25/2023 in #help
✅ Acces delegate type from another script
Well that is what im trying to do. I am just not very good at this and cant seem to make it work. The function is beeing called from another script that is not static. Both relegate types are identical but arent defined in the same script, so it just gives an error
35 replies
CC#
Created by Stein0705 on 8/25/2023 in #help
✅ Acces delegate type from another script
35 replies
CC#
Created by Stein0705 on 8/25/2023 in #help
✅ Acces delegate type from another script
If you need more explaining, we could talk in a call.
35 replies
CC#
Created by Stein0705 on 8/25/2023 in #help
✅ Acces delegate type from another script
Well i basically got a static script called FirebaseManager with a static funtion ReadFromDatabase. Since that function needs to wait for the data to arive, i need it to callback with the data to the function that called it. Therefore, i need to give the function to call later (when the data is received) as an argument to said ReadFromDatabase function. I having issues doing that. Could you tell me how im supposed to do that?
35 replies