Пример #1
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>();
    }
Пример #2
0
 void Start()
 {
     aniController     = GetComponent <Animator>();
     moveCuckoo_script = GameObject.FindObjectOfType <Move_Cuckoo>();
 }