private string startButton; // start or pause button

    // Use this for initialization
    void Start()
    {
        //grab reference to state script
        playerStateScript = GetComponent <player_state> ();

        // check the os to ensure that the proper control scheme is used
        RuntimePlatform os = Application.platform;

        print(os.ToString());
        if (os == RuntimePlatform.WindowsEditor || os == RuntimePlatform.WindowsPlayer)
        {
            isPC = true;
            print("it's windows!!");
        }
        else if (os == RuntimePlatform.OSXEditor || os == RuntimePlatform.OSXPlayer)
        {
            isPC = false;
            print("it's Mac!!");
        }
        else
        {
            isPC = true;
            print("it's Other!!");
        }

        //SetPlayerID (playerID);
        SetPlayerID(playerStateScript.GetPlayerID());
    }
    // Use this for initialization
    void Start()
    {
        //grab reference to state script
        playerStateScript = GetComponent<player_state> ();

        // check the os to ensure that the proper control scheme is used
        RuntimePlatform os = Application.platform;
        print(os.ToString());
        if (os == RuntimePlatform.WindowsEditor || os == RuntimePlatform.WindowsPlayer)
        {
            isPC = true;
            print("it's windows!!");
        }
        else if (os == RuntimePlatform.OSXEditor || os == RuntimePlatform.OSXPlayer)
        {
            isPC = false;
            print("it's Mac!!");
        }
        else
        {
            isPC = true;
            print("it's Other!!");
        }

        //SetPlayerID (playerID);
        SetPlayerID (playerStateScript.GetPlayerID ());
    }