场景设计

This commit is contained in:
SoulliesOfficial
2026-01-12 03:22:16 -05:00
parent 33b1795c1f
commit d94241f36c
8645 changed files with 1242757 additions and 1039728 deletions

View File

@@ -1,11 +1,12 @@
using System;
using System.Collections.Generic;
using Sirenix.OdinInspector;
using SLSFramework.AllInOneAssistance;
using UnityEngine;
namespace Cielonos.MainGame.Inventory
{
public partial class ItemViewObject : SerializedMonoBehaviour
public partial class ItemViewObject : General3DObject
{
public Dictionary<string, GameObject> functionalParts;
@@ -44,8 +45,10 @@ namespace Cielonos.MainGame.Inventory
return false;
}
private void Reset()
protected override void Reset()
{
base.Reset();
functionalParts ??= new Dictionary<string, GameObject>();
FindAndAssignPart("GrabPoint");