Beispiel #1
0
 void Start()
 {
     _faceTarget    = GetComponent <FaceTarget>();
     _handDraggable = GetComponent <HandDraggable>();
     _handDraggable.IsDraggingEnabled = false;
 }
Beispiel #2
0
        void Start()
        {
            FaceTarget faceTarget = GetComponent <FaceTarget>();

            faceTarget.Target = GameObject.FindGameObjectWithTag("MainCamera").transform;
        }