public void SetAlpha(int layerIndex, float value) { if (_alpha [layerIndex] != value) { _preset = TUNNEL_PRESET.Custom; _alpha [layerIndex] = value; UpdateMaterialProperties(); } }
public void SetRotationSpeed(int layerIndex, float value) { if (_rotationSpeed [layerIndex] != value) { _preset = TUNNEL_PRESET.Custom; _rotationSpeed [layerIndex] = value; UpdateMaterialProperties(); } }
public void SetExposure(int layerIndex, float value) { if (_exposure [layerIndex] != value) { _preset = TUNNEL_PRESET.Custom; _exposure [layerIndex] = value; UpdateMaterialProperties(); } }
public void SetTexture(int layerIndex, Texture2D tex) { if (tex != _layerTextures [layerIndex]) { _preset = TUNNEL_PRESET.Custom; _layerTextures [layerIndex] = tex; UpdateMaterialProperties(); } }