Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Script for the rotating sun
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LightRotate : MonoBehaviour {
public float spinX = 0;
public float spinY = 0;
public float spinZ = 0;
// Use this for initialization
void Start () {
// Update is called once per frame
void Update () {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment