示例#1
0
    void Start()
    {
        //MyStore = GameObject.Find ("Store");
        MyInv = GameObject.Find("Inventory");

        Tooltip         = GameObject.Find("Store").GetComponent <StoreToolTip>();
        MyInvScript     = MyInv.GetComponent <inventoryInStore> ();
        Myitem_Database = GameObject.Find("Store").GetComponent <Item_Database>();
    }
示例#2
0
 void Start()
 {
     Tooltip     = GameObject.Find("Store").GetComponent <StoreToolTip>();
     LongPressed = false;
 }