示例#1
0
    private void Start()
    {
        GetBtn.SetActive(false);
        huntBtn.SetActive(false);
        checkBtn.SetActive(false);

        move = GameObject.Find("Main Camera").GetComponent <MovePointForCam>();

        audio = GetComponent <AudioSource>();
    }
    private void Start()
    {
        /* 임시 설정 */
        dm         = DataManager.dataManager;
        combine    = GetComponent <Combine>();
        recipeList = dm.GetRecipeList();
        move       = GameObject.Find("Main Camera").GetComponent <MovePointForCam>();

        InitCombiner();

        // 레시피 리스트 개수만큼 버튼 생성
        for (int i = 0; i < recipeList.Count; i++)
        {
            Dictionary <string, object> recipe = recipeList[i];
            MakeBtnRecipe(recipe);
        }
    }
示例#3
0
 private void Start()
 {
     move = GameObject.Find("Main Camera").GetComponent <MovePointForCam>();
 }