전체 글
-
07/12 게임 웹 프로그래밍게임 웹 프로그래밍/node.js 2021. 7. 12. 14:36
VS Code 실행후 exam-10 폴더 만들기 터미널 열어서 cd exam-10 npm init -y npm i express nodemon app.js파일 만들기 기본 express server 만들어서 실행 supervisor app or nodemon app 포트 3030 nodemon이 작동하지 않을 때는 npx nodemon app postman으로 파라미터 잘 들어오는 지 확인 app.cs const express = require('express'); const app = express(); app.use(express.json()); app.get('/', (req, res) => { res.send("hello express!!"); }); app.post('/purchases', (r..
-
07/09 페이스 북 로그인 1카테고리 없음 2021. 7. 9. 13:09
https://developers.facebook.com/docs/unity/gettingstarted https://developers.facebook.com/docs/development/create-an-app 앱 만들기 버튼 클릭 비밀번호 입력 후 완료 설정 -> 기본설정 https://developers.facebook.com/docs/unity/downloads sdk 다운로드 유니티 프로젝트 생성 플랫폼 설정 안드로이드로 sdk 임포트 fb.Init 클래식 로그인 클릭 파인드 액세스 토큰 클릭 권한 부여 클릭 제너레이트 클릭 수락 클릭 빌드세팅에 씬 추가 생성된 액세스 토큰 유니티에 유저 액세스 토큰에 입력 센드 석세스 클릭 로그 클릭 페이스북 -> 에디트 세팅 -> 인스펙터 앱 name, ..
-
07/08 카카오톡 로그인카테고리 없음 2021. 7. 8. 18:20
http://www.passportjs.org/ Passport.js Simple, unobtrusive authentication for Node.js www.passportjs.org 카카오 개발자 앱 등록 https://developers.kakao.com/ Kakao Developers 카카오 API를 활용하여 다양한 어플리케이션을 개발해보세요. 카카오 로그인, 메시지 보내기, 친구 API, 인공지능 API 등을 제공합니다. developers.kakao.com 카카오 앱 생성 Web플랫폼 설정 (url등록) 로그인 후 리다이렉트 url 등록 호스팅할 서버에 서버코드 업로드 유니티 App.cs using System.Collections; using System.Collections.Generic..
-
07/08 구글 파이어베이스카테고리 없음 2021. 7. 8. 12:46
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class UIPopupTutorial : MonoBehaviour { public Button btnClose; public Button btnNext; public Text txtPageNum; private int currentPage = 1; private int totalPage = 5; public void Init() { this.btnNext.onClick.AddListener(() => { if (this.currentPage < this.totalPage) { this.currentPage++; ..
-
07/05 수업 서바이벌 슈터카테고리 없음 2021. 7. 5. 14:17
리소스 다운 https://github.com/IJEMIN/Unity-Programming-Essence IJEMIN/Unity-Programming-Essence 레트로의 유니티 게임 프로그래밍 에센스. Contribute to IJEMIN/Unity-Programming-Essence development by creating an account on GitHub. github.com 조이스틱 다운로드 https://assetstore.unity.com/packages/tools/input-management/joystick-pack-107631 Joystick Pack | 입출력 관리 | Unity Asset Store Get the Joystick Pack package from Fenerax S..
-
07/01 작업내용개발일지/팀GC 2021. 7. 1. 18:21
연출회의 유니티 웹뷰로 카카오 로그인 한 뒤, jwt토큰은 웹뷰에서 앱으로 전달 using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class BestHttp : MonoBehaviour { UniWebView webView; public Text txtJWT; // Start is called before the first frame update void Start() { } // Update is called once per frame void Update() { } public void WebViewOpen() { webView = gameObject.AddC..
-
06/30 작업내용개발일지/팀GC 2021. 6. 30. 18:23
jwt토큰 테스트 카페24 node.js 서버 작동 안됨 로컬에서는 작동되나 카페24에 호스팅하면 작동되지 않음 TypeError: OAuth2Strategy requires a clientID option at Strategy.OAuth2Strategy (/home/hosting_users/hijun1/apps/hijun1_teamgctest/node_modules/passport-oauth2/lib/strategy.js:83:34) at new Strategy (/home/hosting_users/hijun1/apps/hijun1_teamgctest/node_modules/passport-kakao/dist/Strategy.js:33:31) at Object. (/home/hosting_users/h..