示例#1
0
 // Start is called before the first frame update
 void Start()
 {
     playerStatus  = GameObject.Find("Player").GetComponent <PlayerStatus>();
     isInteraction = gameObject.GetComponent <InteractionWithPlayer>();
     //inventory = gameObject.GetComponent<FuranceInventory>();
     craftingManager = gameObject.GetComponent <CraftingManager>();
 }
 private void Awake()
 {
     instance = this;
 }