Ejemplo n.º 1
0
    void Start()
    {
        inputManager = GameObject.Find("InputManager").GetComponent <InputManager>();
        rayCast      = GameObject.Find("PointerController").GetComponent <RayCast>();

        dragFurniture = GameObject.Find("EditionHandler").GetComponent <DragFurniture>();
    }
Ejemplo n.º 2
0
    void Start()
    {
        scrollViewHeight = scrollView.GetComponent <RectTransform>().rect.height;
        rightSideHeight  = rightSide.GetComponent <RectTransform>().rect.height;

        leftPartUIItemHeight  = leftPartUIItem.GetComponent <RectTransform>().rect.height;
        rightPartUIItemHeight = rightPartUIItem.GetComponent <RectTransform>().rect.height;

        inputManager  = GameObject.Find("InputManager").GetComponent <InputManager>();
        modHandler    = GameObject.Find("ModHandler").GetComponent <ModHandler>();
        rayCast       = GameObject.Find("PointerController").GetComponent <RayCast>();
        dragFurniture = GameObject.Find("EditionHandler").GetComponent <DragFurniture>();

        scrollStack = 0;

        CreateUI();
    }
Ejemplo n.º 3
0
 void Start()
 {
     inputManager  = GameObject.Find("InputManager").GetComponent <InputManager>();
     dragFurniture = GameObject.Find("EditionHandler").GetComponent <DragFurniture>();
 }