深入模块的各种特殊处理以及对话处理
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using AibisDream;
|
||||
using UnityEngine;
|
||||
using System;
|
||||
|
||||
public class Socket : MonoBehaviour, ISocket
|
||||
{
|
||||
@@ -7,18 +8,26 @@ public class Socket : MonoBehaviour, ISocket
|
||||
public Vector2 InsertionPoint => transform.position;
|
||||
private Plug plug=null;
|
||||
private YarnOption _option;
|
||||
public bool waitYarnCommand=false;
|
||||
private bool waitYarnCommand = false;
|
||||
|
||||
public bool WaitYarnCommand
|
||||
{
|
||||
get { return waitYarnCommand; }
|
||||
}
|
||||
|
||||
public bool notAlowedDeep=false;
|
||||
[HideInInspector]
|
||||
public TargetPointData targetData; // 新增属性
|
||||
|
||||
|
||||
|
||||
public YarnOption Option
|
||||
|
||||
{
|
||||
set => _option = value;
|
||||
}
|
||||
|
||||
|
||||
public void Start()
|
||||
{
|
||||
targetData=transform.GetComponent<TargetPointData>();
|
||||
|
||||
Reference in New Issue
Block a user