示例#1
0
 // Use this for initialization
 void Start()
 {
     enemyRibo2d       = gameObject.GetComponent <Rigidbody2D>();
     enemyPatrolScript = gameObject.GetComponent <EnemyPatrol>();
     pickup            = FindObjectOfType <PickUpBaddieManager>();
 }
 // Use this for initialization
 void Start()
 {
     PickUpManageScript = GetComponent <PickUpBaddieManager>();
     loadLevelObject    = FindObjectOfType <LevelLoaderCloudCheck>();
 }