- Home /
Question by
AshwaniKumar · Jul 31, 2013 at 09:29 AM ·
iphoneandroidplugin
Read a file in AppController before the scene load
I am creating a game in Unity3d. I have some settings which are stored in a file.
Currently I have a scene which has a game object which reads these settings in C# and this the settings are available everywhere, however I need these settings in 1. iPhone=AppController (didFinishLaunchingWithOptions) 2. Android = onCreate
I am not sure how to call C# methods in this condition so as to have settings available when they are needed in iPhone (AppController) or Android (OnCreate).
Can somebody tell me how it can be done?
Thanks, Ashwani
Comment