Exemplo n.º 1
0
    // Start is called before the first frame update
    void Start()
    {
        gizmo             = GameObject.Find("RTGizmoManager");
        parentObject      = GameObject.Find("Objects");
        colorPickerObject = GameObject.Find("BackgroundColor");
        //calculationOverview = GameObject.Find("Calculation_Overzicht");
        //objectListContent = GameObject.Find("Content");
        manager = gizmo.GetComponent <RTG.GizmoManager>();

        objectNameObject = GameObject.Find("ObjectNameField");
        objectNameField  = objectNameObject.GetComponent <InputField>();

        propertyMenu.gameObject.SetActive(false);

        SetObjectListMenu();
    }
Exemplo n.º 2
0
 // Start is called before the first frame update
 void Start()
 {
     assetNameText = GetComponentInChildren <Text>();
     gizmoManager  = GameObject.Find("RTGizmoManager").GetComponent <RTG.GizmoManager>();
 }