- Timestamp:
- 2016-06-09 09:18:14 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
2016/23/ohjaajat/Punasininen/Punasininen/Punasininen/Tile.cs
r7209 r7212 19 19 } 20 20 21 public void SetColor(Image[] animation, Image glowImage, Color newColor )21 public void SetColor(Image[] animation, Image glowImage, Color newColor, Action colorChanged) 22 22 { 23 23 var overlay = new GameObject(Width, Height); … … 29 29 this.Color = newColor; 30 30 overlay.Destroy(); 31 32 if (colorChanged != null) 33 { 34 colorChanged(); 35 } 31 36 }; 32 37 overlay.Animation.Start();
Note: See TracChangeset
for help on using the changeset viewer.