示例#1
0
 void Awake()
 {
     _selfRef = this;
     DontDestroyOnLoad(gameObject);
     if (once)
     {
         GJAPI.Init(gameID, privateKey);
     }
 }
示例#2
0
 void Awake()
 {
     _selfRef = this;
     DontDestroyOnLoad(gameObject);
     if (once) GJAPI.Init(gameID, privateKey);
 }
示例#3
0
文件: StartGame.cs 项目: nyrrrr/LD28
 // Use this for initialization
 void Awake()
 {
     api = GameObject.Find("_GameJoltAPIManager").GetComponent<GameJoltAPIManager>();
 }
示例#4
0
 // Use this for initialization
 void Awake()
 {
     _selfRef = this;
     api = GameObject.Find("_GameJoltAPIManager").GetComponent<GameJoltAPIManager>();
 }
示例#5
0
 // Use this for initialization
 void Awake()
 {
     _selfRef = this;
     api      = GameObject.Find("_GameJoltAPIManager").GetComponent <GameJoltAPIManager>();
 }
示例#6
0
文件: StartGame.cs 项目: nyrrrr/LD28
 // Use this for initialization
 void Awake()
 {
     api = GameObject.Find("_GameJoltAPIManager").GetComponent <GameJoltAPIManager>();
 }