Ejemplo n.º 1
0
 void OnWillRenderObject()
 {
     if (heightMap2NormalMapAsset == null || oldProps.Equals(heightMap2NormalMapAsset.editGenerator))
     {
         return;
     }
     oldProps = heightMap2NormalMapAsset.editGenerator;
     UpdateMap();
 }
 public void ApplyEditProperty()
 {
     generator = editGenerator;
     generator.UpdateDestMap();
 }
 public void RevertEditProperty()
 {
     editGenerator = generator;
 }