Exemplo n.º 1
0
 void Start()
 {
     DontDestroyOnLoad(this.gameObject);
     if (instanse == null)
     {
         instanse = this;
     }
 }
Exemplo n.º 2
0
        public override void OnInspectorGUI()
        {
            DrawDefaultInspector();
            RankSystem myScript = (RankSystem)target;

            if (GUILayout.Button("Test Connection"))
            {
                myScript.TestConnection();
            }
        }
 void SendStageData_ToResult()
 {
     //ランクシステムへの送信
     foreach (GameObject obj in FindSceneObjectsOfType(typeof(GameObject)))
     {
         if (obj.name == "RankUpSystem")
         {
             m_RankSystem = obj.GetComponent <RankSystem>();
             break;
         }
     }
     if (m_RankSystem)
     {
         m_RankSystem.SetStageStatus(m_BaseScore, m_StagePoint);
     }
 }
Exemplo n.º 4
0
 public static bool Initialize()
 {
     try
     {
         rankSystem = new RankSystem();
         if (rankSystem.Initialize())
         {
             Loger.Debug("--- Rank System Initialized. ---");
         }
     }
     catch (Exception ex)
     {
         Loger.Debug("---error :" + ex.ToString());
     }
     return(true);
 }
Exemplo n.º 5
0
 void Awake()
 {
     instance = this;
 }
Exemplo n.º 6
0
 void Awake()
 {
     instance = this;
 }