Пример #1
0
    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;
    }
Пример #2
0
 void Awake()
 {
     m_mapGameObjectList = GetComponent <MapGameObjectList>();
 }