Exemplo n.º 1
0
 void Start()
 {
     myDropdownmenu = Dropdown1.GetComponent <Dropdownmenu>();
     Handwerk       = GameObject.Find("Handwerk");
     CrafttimerbarCurrent.SetActive(false);
     CrafttimerBackground.SetActive(false);
 }
Exemplo n.º 2
0
 // Use this for initialization
 void Start()
 {
     DropDownMenu   = GameObject.Find("Dropdown");
     Handwerk       = GameObject.Find("Handwerk");
     myCrafting     = Handwerk.GetComponent <Crafting>();
     myDropdownmenu = DropDownMenu.GetComponent <Dropdownmenu>();
     Button         = this.GetComponent <Button>();
     Button.onClick.AddListener(Buttonjob);
     Button.onClick.AddListener(myCrafting.SelectRecipe);
     Button.onClick.AddListener(myCrafting.SelectRecipe);
     Button.onClick.AddListener(myCrafting.ProcessRecipeResources);
 }
Exemplo n.º 3
0
 // Use this for initialization
 void Start()
 {
     Handwerk      = GameObject.Find("Handwerk");
     Dropdown      = GameObject.Find("Dropdown");
     myDropdown    = Dropdown.GetComponent <Dropdownmenu>();
     ResourceItem1 = GameObject.Find("ResourceItem1");
     ResourceItem2 = GameObject.Find("ResourceItem2");
     ResourceItem3 = GameObject.Find("ResourceItem3");
     Description   = GameObject.Find("Description");
     CraftedItem   = GameObject.Find("CraftedItem");
     Rightarm      = GameObject.Find("Rightarm");
 }