void Start() { animator = aniModeling.GetComponent <Animator>(); dollAniManger_script = GameObject.FindObjectOfType <DollAniManager>(); initialize(); }
void Start() { displayManager_script2 = GameObject.FindObjectOfType <DisplayManager_3stage>(); actionController_2stage_script = FindObjectOfType <ActionController_02_VER2>(); actionController_2stage_script.enabled = false; doorAnimation = GameObject.FindObjectOfType <RewardDoor_Open>(); getKey_script = GameObject.FindObjectOfType <ActionController_GetKey>(); dollAniManager_script = GameObject.FindObjectOfType <DollAniManager>(); // 외곽선 OutlineController = GameObject.FindObjectOfType <DrawOutline_HJ>(); // 장애물,벽 obstacleReader_script = GameObject.FindObjectOfType <ObstacleReader>(); _puzzle_layer = (1 << LayerMask.NameToLayer("Item")) + (1 << LayerMask.NameToLayer("Doll")); }