Beispiel #1
0
    // Use this for initialization
    void Start()
    {
        Walker.transform.position = helperInitialPosition.position;
        Walker.transform.rotation = helperInitialPosition.rotation;

        talkerAnim = Talker.GetComponent <SPHelperAnimation>();

        Controller.canControl  = true;
        Controller.controlMode = 0;
    }
Beispiel #2
0
    // Use this for initialization
    void Start()
    {
        Helper.transform.position = helperInitialPosition.position;
        Helper.transform.rotation = helperInitialPosition.rotation;

        helperAnim = Helper.GetComponent <SPHelperAnimation>();

        Controller.canControl = false;
        Controller.rightHandHoverUI.GetComponentInChildren <UnityEngine.UI.Text>().text = "Move Mode";
        Controller.controlMode = 4;
    }
Beispiel #3
0
    // Use this for initialization
    void Start()
    {
        Walker.transform.position = walkerInitialPosition.position;
        Walker.transform.rotation = walkerInitialPosition.rotation;
        Talker.transform.position = talkerInitialPosition.position;
        Talker.transform.rotation = talkerInitialPosition.rotation;

        talkerAnim = Talker.GetComponent <SPHelperAnimation>();

        Controller.canControl = false;
        Controller.rightHandHoverUI.GetComponentInChildren <UnityEngine.UI.Text>().text = "Hold On...";
        Controller.controlMode = 1;
        Controller.ChangeToTask3();
    }
Beispiel #4
0
 // Use this for initialization
 void Start()
 {
     audioSource = GetComponent <AudioSource>();
     HelperAnim  = GetComponent <SPHelperAnimation>();
 }