Check out example codes for "unity invoke". It will help you in understanding the concepts better.
Code Example 1
void Start()
{
Invoke(/*In quotes is the function name*/"TurnLastPOff", /*Time to wait*/2);
}
public void StartWithDelay()
{
print("This should be printed after 2 seconds");
}
Learn ReactJs, React Native from akashmittal.com