Example #1
0
    void Start()
    {
        GetComponent <MeshRenderer>().enabled = false;

        playerCamObj = GameObject.Find("Player Camera");
        fp           = playerCamObj.GetComponent <FovPopper>();
    }
Example #2
0
    void Start()
    {
        if (fovKick)
        {
            fp = GameObject.Find("Player Camera").GetComponent <FovPopper>();
        }
        mgr     = GameObject.Find("Hotspot Manager").GetComponent <HotspotManager>();
        gameMgr = GameObject.Find("Game Manager").GetComponent <GameManager>();

        if (flowchart == null)
        {
            flowchart = GameObject.Find("Flowchart").GetComponent <Fungus.Flowchart>();
        }
    }