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