mirror of
https://github.com/donl/brainvr.git
synced 2026-05-26 14:22:16 -06:00
20 lines
401 B
C#
20 lines
401 B
C#
using UnityEngine;
|
|
using System.Collections;
|
|
|
|
public class HeadSizeManager : MonoBehaviour {
|
|
public float headSizeScale = 10f;
|
|
// Use this for initialization
|
|
void Start () {
|
|
|
|
}
|
|
|
|
// Update is called once per frame
|
|
void Update () {
|
|
/* not really interesting
|
|
float hs = Input.GetAxis ("HeadSize");
|
|
|
|
Vector3 sv = Vector3.one * hs * headSizeScale;
|
|
transform.localScale += sv;
|
|
*/
|
|
}
|
|
}
|