void Start() { m_mapObjList = GameObject.Find("1_GameManeger").GetComponent <MapGameObjectList>(); Debug.Log(m_mapObjList); if (m_mapObjList == null) { return; } TileCreate(); this.transform.Rotate(90f, 0, 0); Vector3 objPos = new Vector3(3f, 0, 0); this.transform.position = objPos; }
void Awake() { m_mapGameObjectList = GetComponent <MapGameObjectList>(); }