场景设计
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user