Skip to content

Instantly share code, notes, and snippets.

@unitycoder
Last active March 7, 2024 08:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save unitycoder/cc472faec83f4941d032e2010ce889ea to your computer and use it in GitHub Desktop.
Save unitycoder/cc472faec83f4941d032e2010ce889ea to your computer and use it in GitHub Desktop.
Unity Hub> Custom Unity Template package.json with VIDEO and CUSTOM CSS
{
"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"
}
}
{
"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