Answers for "start public coroutine from another script unity"

C#
1

start public coroutine from another script unity

using UnityEngine;  
using System.Collections;   
public class myCallTimer : MonoBehaviour 
{   
void Start() 
{    //myTimer script attach at Main Camera, than    
StartCoroutine(Camera.main.GetComponent<myTimer>().Counter());   
}  
}
Posted by: Guest on May-18-2021

Code answers related to "start public coroutine from another script unity"

C# Answers by Framework

Browse Popular Code Answers by Language