Replace TownSquare with HomeCamp art and land humanoid bots, LittleBear, and LmGirl review assets.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -6,7 +6,7 @@ using YooAsset;
|
||||
namespace HotUpdate
|
||||
{
|
||||
/// <summary>
|
||||
/// 加载人物角色 CaoCao 进广场(地址 CaoCao)。
|
||||
/// 加载人物角色 CaoCao 的独立预览(地址 CaoCao)。
|
||||
/// </summary>
|
||||
public sealed class CharacterSpawner : MonoBehaviour
|
||||
{
|
||||
@@ -67,8 +67,7 @@ namespace HotUpdate
|
||||
|
||||
_instance = Instantiate(prefab);
|
||||
_instance.name = "CaoCao_Runtime";
|
||||
var plaza = GameObject.Find("TownSquare_Runtime");
|
||||
var y = GroundSit.Height(Vector3.zero, plaza != null ? plaza.transform : null);
|
||||
var y = GroundSit.Height(Vector3.zero, null);
|
||||
_instance.transform.position = new Vector3(0f, y, 0f);
|
||||
DontDestroyOnLoad(_instance);
|
||||
|
||||
@@ -82,7 +81,7 @@ namespace HotUpdate
|
||||
billboardTf.rotation = Quaternion.LookRotation(-dir.normalized);
|
||||
}
|
||||
|
||||
if (GameObject.Find("TownSquare_Runtime") == null && Camera.main != null)
|
||||
if (Camera.main != null)
|
||||
{
|
||||
var cam = Camera.main;
|
||||
cam.transform.position = new Vector3(0f, 1.2f, -2.2f);
|
||||
|
||||
Reference in New Issue
Block a user