Tanoda
HandHeightFixer.cs
Go to the documentation of this file.
1
using
System.Collections;
2
using
System.Collections.Generic;
3
using
UnityEngine
;
4
8
public
class
HandHeightFixer
: MonoBehaviour
9
{
10
// public ModelRenderer[] hands;
11
// public Transform head;
12
// public float multiplier = 0.001f;
13
//
14
// void Update()
15
// {
16
// var angle = Mathf.Clamp(head.eulerAngles.x, 0, 90);
17
// if (angle > 89.0f)
18
// {
19
// angle = 0.0f;
20
// }
21
// transform.position = Vector3.up * angle * multiplier;
22
// foreach (var hand in hands)
23
// {
24
// hand.offset = angle * multiplier;
25
// }
26
// }
27
}
HandHeightFixer
DEPRECATED
Definition:
HandHeightFixer.cs:9
UnityEngine
Definition:
HSVPicker/UtilityScripts/BoxSlider.cs:7
Source
Assets
Scripts
HandHeightFixer.cs
Generated by
1.9.3