// Use this for initialization void Start() { _gmaeStatusManager = transform.root.Find("/GameState").GetComponent <GameStateIndex>(); _mapManager = transform.root.Find("/MapManager").GetComponent <MapManager>(); initSize(); initBlocks(); initWalls(); }
// Use this for initialization void Start() { _matchWidth = 800; _matchHeight = 450; _matchTexture = new Texture2D(_matchWidth, _matchHeight); isSave = false; _matchObjectList = new List <MatchObject>(); _matchColorObjectList = new List <MatchObject>(); _changeRectList = new List <OpenCVForUnity.Rect>(); _gmaeStatusManager = transform.root.Find("/GameState").GetComponent <GameStateIndex>(); //讀取ObjectColor.txt SensingResults = ColorSaveData.GetComponent <ColorSaveData>().ReadColorData(); _useRotateLaserGenerator = true; }
// 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; }
// Use this for initialization void Start() { _gameState = transform.root.Find("/GameState").GetComponent <GameStateIndex>(); _gameLevel = transform.root.Find("/LevelIndex").GetComponent <GameLevelIndex>(); }
void Start() { _gmaeStatusManager = transform.root.Find("/GameState").GetComponent <GameStateIndex>(); }
// 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; }