{"action":"opened","issue":{"url":"https://api.github.com/repos/MaxDeadOriginal/My-Unity-Saves/issues/1","repository_url":"https://api.github.com/repos/MaxDeadOriginal/My-Unity-Saves","labels_url":"https://api.github.com/repos/MaxDeadOriginal/My-Unity-Saves/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/MaxDeadOriginal/My-Unity-Saves/issues/1/comments","events_url":"https://api.github.com/repos/MaxDeadOriginal/My-Unity-Saves/issues/1/events","html_url":"https://github.com/MaxDeadOriginal/My-Unity-Saves/issues/1","id":189339215,"number":1,"title":"Create texture2d asset","user":{"login":"MaxDeadOriginal","id":11372141,"avatar_url":"https://avatars.githubusercontent.com/u/11372141?v=3","gravatar_id":"","url":"https://api.github.com/users/MaxDeadOriginal","html_url":"https://github.com/MaxDeadOriginal","followers_url":"https://api.github.com/users/MaxDeadOriginal/followers","following_url":"https://api.github.com/users/MaxDeadOriginal/following{/other_user}","gists_url":"https://api.github.com/users/MaxDeadOriginal/gists{/gist_id}","starred_url":"https://api.github.com/users/MaxDeadOriginal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaxDeadOriginal/subscriptions","organizations_url":"https://api.github.com/users/MaxDeadOriginal/orgs","repos_url":"https://api.github.com/users/MaxDeadOriginal/repos","events_url":"https://api.github.com/users/MaxDeadOriginal/events{/privacy}","received_events_url":"https://api.github.com/users/MaxDeadOriginal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-15T09:23:29Z","updated_at":"2016-11-15T09:23:29Z","closed_at":null,"body":"using UnityEditor;\r\n\r\n[MenuItem(\"GameObject/Create Texture2D\")]\r\n    static void CreateTexture2D(Texture2D txt)\r\n    {\r\n        // Create a simple texture asset\r\n\r\n\r\n        Texture2D texture = txt;\r\n        AssetDatabase.CreateAsset(texture, \"Assets/GenerateTexture.asset\");\r\n\r\n        // Print the path of the created asset\r\n        Debug.Log(\"Created ASSET: \" + AssetDatabase.GetAssetPath(texture));\r\n    }"}}
{"actor":{"display_login":"MaxDeadOriginal"}}