Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# execute after delay

void Start() 
{
	StartCoroutine(ChangeColor()); // Call ChangeColor() after 2 sec
{

public IEnumerator ChangeColor()
{
	yield return new WaitForSeconds(2f);
	image.color = Color.red;	   // Logic
{
 
PREVIOUS NEXT
Tagged: #execute #delay
ADD COMMENT
Topic
Name
3+6 =