增加特效 ,优化道具外观

This commit is contained in:
2024-10-27 17:06:07 +08:00
parent 25e940ece8
commit daeaa8487a
40 changed files with 89000 additions and 347 deletions

View File

@@ -1,4 +1,6 @@
using Cysharp.Threading.Tasks;
using Framework.GamePool.manager;
using Sirenix.Utilities;
using UnityEngine;
namespace Game.Component.SceneProp
@@ -21,6 +23,11 @@ namespace Game.Component.SceneProp
{
if (isReady)
{
if (!this.effectPoolPath.IsNullOrWhitespace ())
{
GamePoolManager.Instance.InstantiatePoolObject<PropEffect_PoolObject> (this.effectPoolPath).transform.position
= this._a_pos.parent.position;
}
var player = other.gameObject.GetComponent<PlayerEntity> ();
this.ToPos (player , this._b_pos);
if (HasOnce)