예제 #1
0
    void Start()
    {
        InputField field = gameObject.GetComponent <InputField>();

        field.onValueChange.AddListener(delegate { DisableNavigation(); });
        field.onEndEdit.AddListener(delegate { EnableNavigation(); });

        CamMove = GameObject.FindGameObjectWithTag("Player").GetComponent <BrowseCamMovement>();
//		ModifyArtefact = GameObject.FindGameObjectWithTag("MainCamera").GetComponent<Collect_RaycastModifyIncrement>();
    }
예제 #2
0
    public GameObject curArtefact;     //used by Collect_RayCastModifyArtefact TODO not sure if this best way to get artefact into mod script


    void Start()
    {
        CamMove            = gameObject.GetComponentInParent <BrowseCamMovement>();
        previousIdentifier = null;
    }