// Start is called before the first frame update void Start() { viewPAnel = GameObject.Find("ViewPanel").GetComponent <ViewPanel>(); button = gameObject.GetComponent <Button>(); animator = gameObject.GetComponent <Animator>(); msysHand = GameObject.Find("ManagerSysHand").GetComponent <ManageSystemHand>(); }
void Start() { if (is2D) { viewPAnel = GameObject.Find("ViewPanel").GetComponent <ViewPanel>(); } msysHand = GameObject.Find("ManagerSysHand").GetComponent <ManageSystemHand>(); }
void Start() { viewPAnel = GameObject.Find("ViewPanel").GetComponent <ViewPanel>(); mngsyshands = GameObject.Find("ManagerSysHand").GetComponent <ManageSystemHand>(); animatorComponent.GetComponent <Animator>(); actions.Add("start", a => SpeechAction("start")); keywordRecognizer = new KeywordRecognizer(actions.Keys.ToArray()); keywordRecognizer.OnPhraseRecognized += RecognizedSpeech; keywordRecognizer.Start(); Debug.Log(gameObject.transform.parent.gameObject.transform.parent.gameObject.name); }
void Start() { myHand = GameObject.Find("ManagerSysHand").GetComponent <ManageSystemHand>(); closed.SetActive(false); }
// Start is called before the first frame update void Start() { myHand = GameObject.Find("ManagerSysHand").GetComponent <ManageSystemHand>(); }