public void HandleSendTileToPosition(EventSendTileToPosition p_event) { // TODO perform a smooth transition here instead of a rough destruction. if (p_event.index == this.m_index) { Destroy (this.gameObject); Destroy (this); } }
public void HandleSendTileToPosition(EventSendTileToPosition p_event) { // TODO : Smooth transition if(p_event.player == m_player) { TileView.InstantiateWithParent(Suburbia.Market[p_event.index], this.transform); } }
public void HandleSendTileToPosition(EventSendTileToPosition p_event) { // TODO : Smooth transition if (p_event.player == m_player) { TileView.InstantiateWithParent(Suburbia.Market[p_event.index], this.transform); } }
public void HandleSendTileToPosition(EventSendTileToPosition p_event) { // TODO perform a smooth transition here instead of a rough destruction. if (p_event.index == this.m_index) { Destroy(this.gameObject); Destroy(this); } }