[SaveSource] TutorialManager
using UnityEngine;using System.Collections.Generic;using System.Collections;using System; public enum TutorialState{ // None은 제외 하고 Step(단계) 순서대로 정렬해야함 None, StartTutorial, MinimapClose, GunGrab, GunShoot, GunReload, GunDrop, GatlingGrab, GatlingShoot, GatlingDrop, SpecialGrab, SpecialThrow, EndTutorial,} class TutorialManager : MonoSingleTon{ public class TutorialStep { private TutorialState m_..
2017. 2. 8.
[SaveSource] StageRankManager
스테이지별 랭킹관리, Json 파일 입출력 using UnityEngine;using System.Collections.Generic;using UnityEngine.SceneManagement;using System.IO; public enum StageType{ Cpt, Desert, Desert2, Ruin, Ruin2, Hope, Hope2, None} [System.Serializable]public class ClearData{ public string stage; public int score; public float time; public ClearData(string stage, int score, float time) { this.stage = stage; this.score = sco..
2017. 1. 20.