Beispiel #1
0
    void Start()
    {
        MenuPanel.SetActive(false);
        Button button = GameObject.Find("Canvas/Panel/menu/SELECT").GetComponent <Button>();

        button.Select();
        createbox = GameObject.Find("CreateBox").GetComponent <CreateBox>();
    }
Beispiel #2
0
    void Start()
    {
        button = GameObject.Find("Canvas/ButtonMain/Button").GetComponent <Button>();
        button.Select();
        GameObject g = new GameObject("CreateBox");

        CreativBox = g.AddComponent <CreateBox>();
    }
Beispiel #3
0
 public void OnBoxCreate(CreateBox createBox)
 {
     createBox.Apply(world);
 }
Beispiel #4
0
 public void OnBoxCreate(CreateBox createBox)
 {
     Apply(createBox);
 }