Spring Joint and Invoking

Due to time investment into app dev, it has been forever since opening Unity.
As reckless as it may sound, I decided to join a game jam coming up soon.
With that said, time to study the super basics.

Today, I learned how to use Spring Joint, and Invoke to call methods with a specified delay.
Something I did today and tested on my iphone.

    private void Example()
    {
        Invoke(nameof(RunMethod), 1.8f);
    }

    void RunMethod()
    {
	Console.WriteLine("It's working");
    }

Leave a Reply

Your email address will not be published. Required fields are marked *