Untitled

 avatar
unknown
plain_text
3 years ago
445 B
12
Indexable
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class PuyoRotate : MonoBehaviour
{
    // Start is called before the first frame update
    public int Degrees = 0;
    void Start()
    {
     if (Input.GetKey(KeyCode.Z));
     if (Degrees == 0);
     transform.Translate (-1, 1, 0);
     Degrees = 90;
    }

    // Update is called once per frame
    void Update()
    {
     
    }
}
Editor is loading...