コード例 #1
0
 // 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;
 }
コード例 #2
0
ファイル: playerCube.cs プロジェクト: iml885203/csie-seminar
 void Awake()
 {
     _processBar = this.GetComponent <processBar>();
 }
コード例 #3
0
 // 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;
 }