Skip to content

Instantly share code, notes, and snippets.

View BoraxKid's full-sized avatar
🎯
Focusing

Victor Aubry BoraxKid

🎯
Focusing
View GitHub Profile
@BoraxKid
BoraxKid / Rotate.cs
Last active November 7, 2017 20:13
Rotating Platform
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Rotate : MonoBehaviour
{
// Rotation value
// The [SerializeField] make it visible in the editor even though it is private
[SerializeField] private Vector3 _rotation = Vector3.zero;