Example #1
0
    // - 게이지
    //public CustomFan GaugeBar_Script = null; //왜 인식이 안될까?

    void Start()
    {
        if (dirType == -1)
        {
            rotateValue = 30f;
        }
        else if (dirType == 1)
        {
            rotateValue = -30f;
        }

        enterBtn_script = GameObject.FindObjectOfType <EnterClockAnswer>();
    }
Example #2
0
    void Start()
    {
        mainCamera = Camera.main;
        mCT        = mainCamera.transform;

        cuckoo_script = GameObject.FindObjectOfType <Move_Cuckoo>();

        enterBtn_script = GameObject.FindObjectOfType <EnterClockAnswer>();
        reward_script   = GameObject.FindObjectOfType <DoorAni_reward>();
        fan_script      = GameObject.FindObjectOfType <CustomFan>();

        //외곽선
        OutlineController = GameObject.FindObjectOfType <DrawOutline_HJ>();

        SeeClock_script = GameObject.FindObjectOfType <MakeClockSee>();

        // 쪽지 매니저
        notemager = FindObjectOfType <NoteManger>();

        //시계퍼즐 활성화
        activePuzzle_script = GameObject.FindObjectOfType <ActivePuzzle_CP>();
    }