- Added new assets, effects and edited existing ones - Added new Rogue playable class - Added multiple new rogue abilities both knives and arrows
20 lines
432 B
C#
20 lines
432 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class Demo_TurningAround : MonoBehaviour
|
|
{
|
|
public float rotSpeed_X;
|
|
public float rotSpeed_Y;
|
|
public float rotSpeed_Z;
|
|
|
|
public float globalSpeed = 1f;
|
|
|
|
|
|
// Update is called once per frame
|
|
void Update()
|
|
{
|
|
transform.Rotate(new Vector3(rotSpeed_X, rotSpeed_Y, rotSpeed_Z) * globalSpeed * Time.deltaTime);
|
|
}
|
|
}
|