[SerializeField] private Material _skybox;
void Start()
{
if (SceneManager.GetActiveScene().buildIndex == 0)
{
// Set skybox rotation to 260
}
if (SceneManager.GetActiveScene().buildIndex == 1)
{
// Set skybox rotation to 1
}
}
Tried doing it like this :P