mid code timer?

can some one show me an example of a timer happening mid code so i can dellay things happen

If you just want to delay an action then you should use a coroutine in c# as the following code :-

using System;
using System.Collections;
using UnityEngine;

public class SomeClass : MonoBehaviour
{
    public void funcA()
    {
        // This will cal funcB after 2 seconds
        StartCoroutine(coroutineA(funcB, 2f));
        // This will cal funcC with first arguement a blank string after 0.2 seconds
        StartCoroutine(
            coroutineA(
                // Use of lambda to call funcC with blank string arguement
                () => funcC("")
                , 2f)
            );
    }

    public void funcB()
    {
        // Example function
    }

    public void funcC(object arguement)
    {
        // Example function 2 with arguement
    }

    IEnumerator coroutineA(Action action, float delay)
    {
        yield return new WaitForSeconds(delay);
        action();
    }
}