Beispiel #1
0
 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);
     }
 }
Beispiel #2
0
 public void HandleSendTileToPosition(EventSendTileToPosition p_event)
 {
     // TODO : Smooth transition
     if(p_event.player == m_player)
     {
         TileView.InstantiateWithParent(Suburbia.Market[p_event.index], this.transform);
     }
 }
Beispiel #3
0
 public void HandleSendTileToPosition(EventSendTileToPosition p_event)
 {
     // TODO : Smooth transition
     if (p_event.player == m_player)
     {
         TileView.InstantiateWithParent(Suburbia.Market[p_event.index], this.transform);
     }
 }
Beispiel #4
0
 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);
     }
 }