示例#1
0
 void Start()
 {
     rot = GetComponent <RotationHolder> ();
 }
示例#2
0
 void Awake()
 {
     rot        = GetComponent <RotationHolder> ();
     localZAxis = transform.forward;
 }
示例#3
0
 void Start()
 {
     rot        = GetComponent <RotationHolder> ();
     im         = GetComponent <InputManager> ();
     localZAxis = transform.forward;
 }