void Start() { // TileBehaivor init m_TileBehaivour = new TileBehaivour(this.transform); // Target Tile init m_TargetTile = new Tile(); }
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)); }