Exemplo n.º 1
0
    // Use this for initialization
    void Awake()
    {
        _sendToGoogle = GetComponent <SendToGoogle>();
        _csvWriter    = GetComponent <CSVWriter>();
        //Invoke("Test", 3);

        LoadScores();
    }
Exemplo n.º 2
0
 public static SendToGoogle GetInstance()
 {
     if (instance == null)
     {
         instance = GameObject.Find("WebCommunicationManager").GetComponent <SendToGoogle>();
         //instance = new WebCommunication();
     }
     return(instance);
 }