{"id":88,"date":"2020-06-03T04:15:51","date_gmt":"2020-06-03T04:15:51","guid":{"rendered":"https:\/\/lucyestela.com\/dev\/?p=88"},"modified":"2021-03-02T03:01:14","modified_gmt":"2021-03-02T03:01:14","slug":"invoke","status":"publish","type":"post","link":"https:\/\/lucyestela.com\/dev\/unity\/invoke\/","title":{"rendered":"Invoke &#8211; unity"},"content":{"rendered":"<div class=\"boldgrid-section\">\n<div class=\"container\">\n<div class=\"row\">\n<div class=\"col-md-12 col-xs-12 col-sm-12\">\n<pre><span style=\"font-family: Menlo;\"> <span style=\"color: #009695;\">public<\/span><span style=\"color: #222222;\">&nbsp;<\/span><span style=\"color: #009695;\">void<\/span><span style=\"color: #222222;\">&nbsp;<\/span><span style=\"color: #222222;\">Invoke<\/span><span style=\"color: #222222;\">(<\/span><span style=\"color: #009695;\">string<\/span><span style=\"color: #222222;\">&nbsp;<\/span><span style=\"color: #222222;\">methodName<\/span><span style=\"color: #222222;\">,<\/span><span style=\"color: #222222;\">&nbsp;<\/span><span style=\"color: #009695;\">float<\/span><span style=\"color: #222222;\">&nbsp;<\/span><span style=\"color: #222222;\">time<\/span><span style=\"color: #222222;\">);<\/span><\/span><\/pre>\n<p class=\"\">It calls the method <span style=\"font-family: Menlo;\"><span style=\"color: #222222;\">methodName<\/span><\/span> in <span style=\"font-family: Menlo;\"><span style=\"color: #222222;\">time<\/span><\/span>&nbsp;seconds&nbsp;<\/p>\n<p>This is an alternative to using coroutines.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>public&nbsp;void&nbsp;Invoke(string&nbsp;methodName,&nbsp;float&nbsp;time); It calls the method methodName in time&nbsp;seconds&nbsp; This is an alternative to using coroutines.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"bgseo_title":"","bgseo_description":"","bgseo_robots_index":"index","bgseo_robots_follow":"follow","footnotes":""},"categories":[58],"tags":[23,44,4],"class_list":["post-88","post","type-post","status-publish","format-standard","hentry","category-unity","tag-invoke","tag-timed","tag-unity"],"_links":{"self":[{"href":"https:\/\/lucyestela.com\/dev\/wp-json\/wp\/v2\/posts\/88","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lucyestela.com\/dev\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lucyestela.com\/dev\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lucyestela.com\/dev\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/lucyestela.com\/dev\/wp-json\/wp\/v2\/comments?post=88"}],"version-history":[{"count":3,"href":"https:\/\/lucyestela.com\/dev\/wp-json\/wp\/v2\/posts\/88\/revisions"}],"predecessor-version":[{"id":242,"href":"https:\/\/lucyestela.com\/dev\/wp-json\/wp\/v2\/posts\/88\/revisions\/242"}],"wp:attachment":[{"href":"https:\/\/lucyestela.com\/dev\/wp-json\/wp\/v2\/media?parent=88"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lucyestela.com\/dev\/wp-json\/wp\/v2\/categories?post=88"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lucyestela.com\/dev\/wp-json\/wp\/v2\/tags?post=88"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}