Esempio n. 1
0
 private void AddResetProperty()
 {
     if (current.materials[0].HasProperty("shader_is_using_thry_editor") == false)
     {
         EditorChanger.AddThryProperty(current.materials[0].shader);
     }
     current.materials[0].SetFloat("shader_is_using_thry_editor", 69);
 }