{"id":23066440,"url":"https://github.com/xjine/unity_settexturestomaterial","last_synced_at":"2026-04-29T10:03:26.676Z","repository":{"id":83607019,"uuid":"167359644","full_name":"XJINE/Unity_SetTexturesToMaterial","owner":"XJINE","description":"SetTexturesToMaterial will make Texture2DArray and set it to material in runtime.","archived":false,"fork":false,"pushed_at":"2019-01-24T12:24:23.000Z","size":148,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-03T09:12:46.504Z","etag":null,"topics":["assets","unity"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/XJINE.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-01-24T11:52:55.000Z","updated_at":"2022-05-13T17:01:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"ef0a3408-ee25-4146-bd7d-8da1de2a9d1d","html_url":"https://github.com/XJINE/Unity_SetTexturesToMaterial","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/XJINE/Unity_SetTexturesToMaterial","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XJINE%2FUnity_SetTexturesToMaterial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XJINE%2FUnity_SetTexturesToMaterial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XJINE%2FUnity_SetTexturesToMaterial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XJINE%2FUnity_SetTexturesToMaterial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/XJINE","download_url":"https://codeload.github.com/XJINE/Unity_SetTexturesToMaterial/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XJINE%2FUnity_SetTexturesToMaterial/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261243140,"owners_count":23129585,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["assets","unity"],"created_at":"2024-12-16T05:13:19.609Z","updated_at":"2026-04-29T10:03:26.562Z","avatar_url":"https://github.com/XJINE.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Unity_SetTexturesToMaterial\n\n``SetTexturesToMaterial`` will Make ``Texture2DArray`` and set it to material in runtime.\n\n## Import to Your Project\n\nYou can import this asset from UnityPackage.\n\n- [SetTexturesToMaterial.unitypackage](https://github.com/XJINE/Unity_SetTexturesToMaterial/blob/master/SetTexturesToMaterial.unitypackage)\n\n### Dependencies\n\nYou have to import following assets to use this asset.\n\n- [Unity_IInitializable](https://github.com/XJINE/Unity_IInitializable)\n- [Unity_Texture2DArrayGenerator](https://github.com/XJINE/Unity_Texture2DArrayGenerator)\n\n## How to Use\n\n\u003cimg src=\"https://github.com/XJINE/Unity_SetTexturesToMaterial/blob/master/Screenshot.png\" width=\"100%\" height=\"auto\" /\u003e\n\nSet ``material``, ``parameter``(means name) and ``textures``. That's all.\n\nAdditionary, ``textures.Length`` value will be set to ``\"parameter + Length\"``.\nEx. when the ``prameter`` value is ``_Textures``, ``(u)int _TexturesLength`` parameter gets ``textures.Length`` value.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxjine%2Funity_settexturestomaterial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxjine%2Funity_settexturestomaterial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxjine%2Funity_settexturestomaterial/lists"}