Pathfinding.AstarUpdateChecker.CheckForUpdatesNow C# (CSharp) Method

CheckForUpdatesNow() public static method

public static CheckForUpdatesNow ( ) : void
return void
        public static void CheckForUpdatesNow()
        {
            lastUpdateCheck = System.DateTime.UtcNow.AddDays (-5);

            // Remove the callback if it already exists
            EditorApplication.update -= UpdateCheckLoop;

            // Add a callback so that we can parse the message when it has been downloaded
            EditorApplication.update += UpdateCheckLoop;
        }