private void Awake()
    {
        PlayGamesPlatform.Activate();
        if (instance == null)
        {
            instance = this;
        }
        else
        {
            Destroy(this);
        }

        DontDestroyOnLoad(this);
    }
    private void Start()
    {
        if (!FrameworkValues.UseGooglePlayServices)
        {
            statusImage.color = Color.yellow;
            return;
        }

        if (GooglePlayServicesManager.IsUserLoggedIn())
        {
            statusImage.color = Color.green;
        }
        else
        {
            statusImage.color = Color.red;
        }
    }
 public void Start()
 {
     gpsm = this.GetComponent <GooglePlayServicesManager>();
 }