Skip to content

Instantly share code, notes, and snippets.

Avatar

Renaud Forestié reunono

View GitHub Profile
View gist:ff2c6460df1ee031947d8f198e3b6670
using UnityEngine;
using System.Collections;
namespace MoreMountains.Tools
{
/// <summary>
/// Add this class to a GameObject to make it rotate on itself
/// </summary>
public class AutoRotate : MonoBehaviour
{
@reunono
reunono / CinemachineCameraShaker.cs
Last active Apr 13, 2020
Cinemachine camera shake
View CinemachineCameraShaker.cs
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
using System.Collections.Generic;
/// <summary>
/// Add this component to your Cinemachine Virtual Camera to have it shake when calling its ShakeCamera methods.
/// </summary>
public class CinemachineCameraShaker : MonoBehaviour
{
View designer.html
<link rel="import" href="../topeka-elements/topeka-datasource.html">
<link rel="import" href="../topeka-elements/theme.html">
<link rel="import" href="../topeka-elements/topeka-resources.html">
<link rel="import" href="../topeka-elements/topeka-app.html">
<polymer-element name="my-element">
<template>
<style>
:host {
You can’t perform that action at this time.