Generation

generate functionSat, 03 Dec 2022

on start change light intensity with a random range from 0.1 to 4

public float randomIntensity; void Start() { randomIntensity = Random.Range(0.1f, 4f); }

Questions about programming?Chat with your personal AI assistant