public override void OnChessEnter(GChess chess) { base.OnChessEnter(chess); chess.Die(); var particle = GameObject.Instantiate(prefabFoam, GridManager.instance.GetChessPosition3D(location), prefabFoam.transform.rotation); }