Answer the question
In order to leave comments, you need to log in
How to write data to txt on GitHub in Unity?
Hello! I can’t find an answer to a simple question, is it possible to change a txt file located on GitHub using C # in Unity?
Maybe there is some documentation.
Thanks in advance for any information!
Answer the question
In order to leave comments, you need to log in
Well, theoretically, it's possible. But this is some kind of method through the ass. State the purpose of this perversion - for sure there is a simpler method
Theoretically, this can be done through the git2 library - you clone the repository, change the text in the file, commit, and push.
But I don’t think that this can be applied within the game, because then you will either have to transfer the developer’s private ssh key, or use the player’s account and fork into his account
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question