// 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>(); }
// Start is called before the first frame update void Start() { cam = GameObject.Find("Main Camera"); player = GameObject.Find("Player").GetComponent <JY_Move>(); }
// 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>(); }