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