mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2024-11-10 06:34:16 +00:00
config file is loaded from resources
This commit is contained in:
parent
e97e36a9a4
commit
827aec1c9e
2 changed files with 2 additions and 2 deletions
|
@ -155,7 +155,7 @@ namespace SanAndreasUnity.Utilities
|
|||
_substitutions.Clear ();
|
||||
|
||||
|
||||
_root = JObject.Parse (File.ReadAllText (FilePath));
|
||||
_root = JObject.Parse (Resources.Load<TextAsset>("config").text);
|
||||
|
||||
if (File.Exists (UserFilePath))
|
||||
{
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
- Chat
|
||||
|
||||
- Android: touch input is required ; set default fps to 25 ; add some predefined folders in file browser ; HUD must run before other UI scripts ; load config from resources ;
|
||||
- Android: touch input is required ; set default fps to 25 ; add some predefined folders in file browser ; HUD must run before other UI scripts ; load config from resources ; when build is finished, don't try to copy Data folder ;
|
||||
|
||||
- Play sounds: horn ; empty weapon slot ; ped damage ; footsteps in run and sprint states ;
|
||||
|
||||
|
|
Loading…
Reference in a new issue