// Use this for initialization void Start() { if (BodySrcManager == null) { Debug.Log("Error"); } else { _bodyManager = BodySrcManager.GetComponent <BodySourceManager>(); } _processBar = this.GetComponent <processBar>(); _handImage = transform.Find("handImage").gameObject; _gmaeStatusManager = transform.root.Find("/GameState").GetComponent <GameStateIndex>(); _kinectSettingView = transform.root.Find("/UICanvas/InfoView/view-KinectSetting").gameObject; }
void Awake() { _processBar = this.GetComponent <processBar>(); }
// Use this for initialization void Awake() { _processBar = this.GetComponent <processBar>(); _gmaeStatusManager = transform.root.Find("/GameState").GetComponent <GameStateIndex>(); _kinectSettingView = transform.root.Find("/UICanvas/InfoView/view-KinectSetting").gameObject; }