A
A
Alexey Fobius2021-10-12 21:53:45
GitHub
Alexey Fobius, 2021-10-12 21:53:45

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

2 answer(s)
G
GavriKos, 2021-10-13
@phobious

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

V
Vasily Bannikov, 2021-10-13
@vabka

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 question

Ask a Question

731 491 924 answers to any question