Example #1
0
 public void Start()
 {
     SaveLoad = GameObject.Find("SaveLoad").GetComponent <saveLoad>();
     if (Advertisement.isSupported)
     {
         if (Application.platform == RuntimePlatform.Android)
         {
             Advertisement.Initialize("1313182", false);
         }
         if (Application.platform == RuntimePlatform.IPhonePlayer)
         {
             Advertisement.Initialize("1313183", false);
         }
     }
 }
Example #2
0
 // later implementation
 void Awake()
 {
     DontDestroyOnLoad(this);
     SL = this;
     load();
 }
Example #3
0
 return(new Composite(saveLoad, data, name, key, value));
Example #4
0
 private void Awake()
 {
     SaveLoad = GameObject.Find("SaveLoad").GetComponent <saveLoad>();
     bgms     = GameObject.Find("bgm").GetComponent <bgm>();
     body     = playStoreURL;
 }
Example #5
0
 public void Awake()
 {
     DontDestroyOnLoad(this);
     SaveLoad = GameObject.Find("SaveLoad").GetComponent <saveLoad>();
 }