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