后处理+FEEL完全改进
This commit is contained in:
@@ -43,11 +43,12 @@ namespace Cielonos.MainGame.Inventory
|
||||
"NormalBlock", "PerfectBlock", defaultBlockTime, perfectTime);
|
||||
}
|
||||
|
||||
public GameObject InstantiateBlockEffect(string effectName, Vector3 position, Quaternion rotation)
|
||||
public GameObject InstantiateBlockEffect(string effectName, CharacterBase creator, Vector3 position, Quaternion rotation)
|
||||
{
|
||||
if (blockEffects.TryGetValue(effectName, out GameObject effect))
|
||||
{
|
||||
return LeanPool.Spawn(effect, position, rotation);
|
||||
GameObject obj = VFXObject.Spawn(effect, creator, position, rotation);
|
||||
return obj;
|
||||
}
|
||||
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user