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
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.Linq; | |
using TMPro; | |
using UnityEngine; | |
using UnityEngine.Playables; | |
using UnityEngine.SceneManagement; | |
using UnityEngine.Timeline; | |
using UnityEngine.UI; |
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
# COPYRIGHT: https://blenderartists.org/t/applying-object-pass-index-to-multiple-objects/562689/4 | |
# This script apply a object pass index to multiple objects in Blender | |
# Select all objects to be batched first; all selected objects will be batched | |
import bpy | |
selection = bpy.context.selected_objects | |
passNumber = 2 #change '2' to whichever pass index you choose | |
bpy.ops.object.select_all(action='DESELECT') |
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
/**************************************************************************************************** | |
Originally created by Kay and published in CodePen (https://codepen.io/opensoorce/pen/KQmvdL). | |
The original code used jQuery, I just converted to Vanilla JavaScript. | |
Just to be very clear, this code should not be used in production, | |
its only purpose is for testing and demos. | |
****************************************************************************************************/ | |
document.addEventListener("DOMContentLoaded", function() { | |
let loginSubmit = document.querySelector(".login__submit-btn"); |