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; }
public OnBlockEffect(OnBlockEffectType type, float duration) { Type = type; Duration = duration; }