示例#1
0
 void Start()
 {
     my_script = menu.GetComponent <checkDrop>();
     occupied  = false;
     owned     = false;
     up_txt.SetActive(false);
 }
示例#2
0
 // Start is called before the first frame update
 void Start()
 {
     sc  = menu.GetComponent <checkDrop>();
     sc2 = transform.parent.GetComponent <MouseOver>();
 }
示例#3
0
 void Start()
 {
     myParent = transform.parent.GetComponent <checkDrop>();
 }