Last active
March 7, 2024 08:56
-
-
Save unitycoder/cc472faec83f4941d032e2010ce889ea to your computer and use it in GitHub Desktop.
Unity Hub> Custom Unity Template package.json with VIDEO and CUSTOM CSS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "com.unitycoder.template.fun", | |
"displayName": "Best Template 🍔™", | |
"version": "1.0.0", | |
"type": "template", | |
"unity": "2022.3", | |
"description": "Some description here.. <video width='320' height='240' autoplay style=''><source src='https://cdn.mtdv.me/video/rick.mp4' type='video/mp4'></video><style>.template-preview__image{display:none !important;}</style>", | |
"dependencies": {}, | |
"repository": { | |
"type": "git", | |
"url": "https://github.com/unitycoder/nothere.git" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "com.unitycoder.template.fun", | |
"displayName": "Best Template 🍔™", | |
"version": "1.0.0", | |
"type": "template", | |
"unity": "2022.3", | |
"description": "Some description here..<video width='320' height='240' autoplay style=''><source src='https://cdn.mtdv.me/video/rick.mp4' type='video/mp4'></video><style>.template-preview__image{display:none !important;}.template-list__item__icon svg {display:none !important;}[data-heap-template='com.unitycoder.template.fun'] .template-list__item__icon {position: relative;margin: 14px !important;}.template-list__item__icon::after {content: '';position: absolute;top: 0;left: 0;width: 1.5rem;height: 1.5rem;background-image: url('https://github.com/unitycoder/RandomImageCopyPaste/assets/5438317/68604d2a-db23-4d6b-b7da-9c7681266200');background-size: cover;background-repeat: no-repeat;}</style>", | |
"dependencies": {}, | |
"repository": { | |
"type": "git", | |
"url": "https://github.com/unitycoder/nothere.git" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
more info https://unitycoder.com/blog/2024/03/06/custom-unity-hub-project-template-preview-image-video-using-htmlcss-in-package-description/