コード例 #1
0
 public void Awake()
 {
     if (SaveControl.GetString("CheckPoint") == Key)
     {
         MainCharacterControl.Main.SetPosition(ResetPoint.transform.position);
     }
 }
コード例 #2
0
ファイル: Level.cs プロジェクト: zittacheng/TheLaptop
 private void Awake()
 {
     if (SaveControl.GetString("Level") == Key)
     {
         Main = this;
         Base.SetActive(true);
     }
 }