Exemplo n.º 1
0
 void Start()
 {
     // TileBehaivor init
     m_TileBehaivour = new TileBehaivour(this.transform);
     // Target Tile init
     m_TargetTile = new Tile();
 }
Exemplo n.º 2
0
    private void MoveDown(int downScale)
    {
        // Set Active
        if (this.gameObject.active == false)
        {
            this.gameObject.SetActive(true);
        }

        // Move Down
        if (m_TileBehaivour == null)
        {
            m_TileBehaivour = new TileBehaivour(this.transform);
        }
        m_TileBehaivour.StartCoroutine(m_TileBehaivour.CoStartMoveDown(this, downScale));
    }