コード例 #1
0
 // Start is called before the first frame update
 void Start()
 {
     player = GameObject.Find("Player").GetComponent <JY_Move>();
     timing = GameObject.Find("Canvas").GetComponent <JZ_Timer>();
     //for instantly calling game end on insta death
     //or we can set timeReduction float in JZ_Timer to 9999999 to make time count zero
     // GM.GetComponent<GameManager>();
 }
コード例 #2
0
 // Start is called before the first frame update
 void Start()
 {
     cam    = GameObject.Find("Main Camera");
     player = GameObject.Find("Player").GetComponent <JY_Move>();
 }
コード例 #3
0
ファイル: JY_PowerUp.cs プロジェクト: Charibasa/RogueRaid
 // Start is called before the first frame update
 void Start()
 {
     player = GameObject.Find("Player").GetComponent <JY_Move>();
     sound  = GameObject.Find("SFXManager").GetComponent <JY_SFXManager>();
     timing = GameObject.Find("Canvas").GetComponent <JZ_Timer>();
 }