Search Unity

Referencing Unity view in .java?

Discussion in 'Android' started by ina, Sep 2, 2012.

  1. ina

    ina

    Joined:
    Nov 15, 2010
    Posts:
    1,084
    unityView = (UnityView) findViewById(R.id.UnityView);

    Is it possible to reference the view that contains Unity, from Android .java file?
     
  2. Jessespike

    Jessespike

    Joined:
    Jul 9, 2012
    Posts:
    44
    I believe it's possible.. Have you tried mUnityPlayer.getView() ?