Ejemplo n.º 1
0
 private GameObject GetEffectPrefab(OnBlockEffectType type)
 {
     return(Resources.Load <GameObject>(
                Path.Combine(onBlockEffectsSpritesPath, type + onBlockEffectsSpritesPostfix)));
 }
Ejemplo n.º 2
0
 public OnBlockEffect(OnBlockEffectType type, float duration)
 {
     Type      = type;
     Duration  = duration;
     StartTime = DateTime.UtcNow;
 }
Ejemplo n.º 3
0
 public OnBlockEffect(OnBlockEffectType type, float duration)
 {
     Type     = type;
     Duration = duration;
 }