Skip to content

Instantly share code, notes, and snippets.

@HoloApolloX
HoloApolloX / ArrowBehavior.cs
Last active October 23, 2018 16:23
Holo ApolloX project
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ArrowBehavior : MonoBehaviour {
// Update is called once per frame
void Update () {
gameObject.transform.Rotate(gameObject.transform.rotation.y + 0.8f, 0 , 0);