FOVE SUPPORT CENTER

Access modifier for FoveInterface gameobject lifecycle methods

Comments

4 comments

  • Avatar
    Jeff

    Hi Jialiang,

    I'm taking a look at what the recommended solution is here and will get back to you (or Pierre who works on the plugin will), but changing the source is perfectly fine, and simply changing some methods to protected is a fairly simple small change that won't cause too much trouble if you need to upgrade versions in the future.

    Best,

    Jeff @FOVE

    0
    Comment actions Permalink
  • Avatar
    Pierre

    Hello,

    Thanks for pointing that out.

    The FoveInterface had never really been designed to be inherited so far. I am not sure how some members ended up being protected. We will fix that and expose what is required for inheritance in next release. 

    Best,

    Pierre.

    0
    Comment actions Permalink
  • Avatar
    Jialiang Lu

    Hello,

    Thank you both for your reply! I'm looking forward to it.

    Best

    0
    Comment actions Permalink
  • Avatar
    Jeff

    Hi Jialiang,

     

    v3.1.1 is out now, which has the fields changed to protected so you no longer need to modify the source:

    https://archives-fove.s3-ap-northeast-1.amazonaws.com/developer/Unity_Plugin_3.1.1.zip

     

    Best,

    Jeff

    0
    Comment actions Permalink

Please sign in to leave a comment.