Skip to content

Instantly share code, notes, and snippets.

@tarocco
tarocco / ChilloutVR-Resources.md
Last active July 31, 2022 04:18
ChilloutVR Resources

ChilloutVR Resources

Here you will find an assorted list of different kinds of resources for playing or making content for (or importing content) to ChilloutVR by Alpha Blend Interactive. I have created this running list of resources in order to make finding them easier for everyone. This is also here to shed some light on what is currently possible using user-produced content and tools for improving your ChilloutVR experience.

Disclaimer

I am not affiliated with Alpha Blend Interactive or with the development of any of these resources (unless otherwise specified). This list is for research purposes. If something on it causes problems, let me know so I can remove it. However, I am not responsible for any outcomes of you or anyone else using the things listed here. Your Mileage May Vary.

@tarocco
tarocco / AnimatorEvaluate.cs
Last active March 11, 2022 05:03
Component to evaluate Unity Animator in-editor with the press of a button by calling Animator.Update(0f) exactly once. Useful for applying one frame of animation to an object, such as a model pose, and saving it permanently in the scene. Supports undo.
using System;
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
#endif
[RequireComponent(typeof(Animator))]
public class AnimatorEvaluate : MonoBehaviour
{
}
@tarocco
tarocco / Unity Encapsulation Tutorial.md
Last active March 11, 2022 05:05
Best practices for making your serialized classes code & editor-friendly!

Unity Encapsulation Tutorial

by Tarocco

Fields and Properties

Unity does not serialize properties or any static members. You have some options for serializing member fields.

Field-only

@tarocco
tarocco / ghsu.py
Last active March 20, 2017 00:05
Use UTF-8 (en)coding, fixed double print
#!/usr/bin/env python
# coding=utf-8
'''
GitHub Switch User (ghsu)
Author: Tarocco 🐰
License: MIT License
'''
import sys