Search Unity

Question Make a propertie accesible by script but not exposed in the inspector

Discussion in 'Visual Effect Graph' started by The_Storm_Rider, Oct 31, 2022.

  1. The_Storm_Rider

    The_Storm_Rider

    Joined:
    Jan 28, 2020
    Posts:
    66
    Well the question is as simple : in VFX graph, is there a way to make a properties accessible by script but not exposed in the inspector ?
    In shader graph the non exposed properties are accessible by script, this is what I want.
     
    Qriva likes this.
  2. Qriva

    Qriva

    Joined:
    Jun 30, 2019
    Posts:
    1,314
    Last time I tried that it didn't work and I am pretty sure there is no way (right now), but it sounds like good feature request.
     
    The_Storm_Rider and OrsonFavrel like this.
  3. OrsonFavrel

    OrsonFavrel

    Unity Technologies

    Joined:
    Jul 25, 2022
    Posts:
    194
    Again @Qriva is right. There's no way at the moment to do so. But it's indeed an interesting feature request.
     
    The_Storm_Rider likes this.