Skip to content

Instantly share code, notes, and snippets.

View jordyhenry's full-sized avatar

Jordy Henry Pereira jordyhenry

View GitHub Profile
/*
INSTRUCTIONS
- Join a Mozilla Hubs room
- Open your browser console (f12)
- Copy and paste this snippet on the console, and press Enter
- Walk with your avatar to wherever the viewpoint you wish to capture
- Press the left Ctrl+Space on your keyboard, and download your 360 image.
*/
function setupAndGetScreenshooter() {
@jordyhenry
jordyhenry / ⚡PW² Library and Tools README (cs50 final project).md
Last active January 19, 2021 15:38
⚡PW² Library and Tools README (cs50 final project).md

⚡PW² Library and Tools

⚡PW² Library and Tools is a group of three projects that easily allows you to re-scale your images to the right power of two dimensions.


using System.Collections;
using UnityEngine;
public class CurveGrowUp : MonoBehaviour
{
Coroutine coroutine;
//First keyframe of the animation
public Vector3 startScale;
//Last keyframe of the animation
public Vector3 endScale;
using System.Collections;
using UnityEngine;
public class SimpleGrowUp : MonoBehaviour
{
Coroutine coroutine;
//First keyframe of the animation
public Vector3 startScale;
//Last keyframe of the animation
public Vector3 endScale;
/*
Read the article about this script on : https://medium.com/return-of-the-jordy/dealing-with-unity-ui-hierarchy-db2ff05e01b0
*/
using UnityEngine;
using UnityEditor;
[ExecuteInEditMode]
public class UIFocusMode : MonoBehaviour
{