示例#1
0
 // Start is called before the first frame update
 void Start()
 {
     rb2d        = GetComponent <Rigidbody2D>();
     quest_giver = FindObjectOfType <Quest_Giver>();
 }
示例#2
0
 // Start is called before the first frame update
 void Start()
 {
     player_death = FindObjectOfType <PlayerDeath>();
     quest_giver  = FindObjectOfType <Quest_Giver>();
     pool         = GameObject.Find("Tilemap").GetComponent <ObjectPoolNS>();
 }