Example #1
0
 // Start is called before the first frame update
 void Start()
 {
     rb = GetComponent <Rigidbody2D>();
     InvokeRepeating("randomposi", 0.2f, 0.8f);
     Physics2D.queriesStartInColliders = false;
     ebv = GameObject.Find("EBulletInstance1").GetComponent <EbulletInstance>();
 }
Example #2
0
 // Start is called before the first frame update
 void Start()
 {
     rb = GetComponent <Rigidbody2D>();
     InvokeRepeating("randomposi", 0.2f, 0.8f);
     ebv = GameObject.Find("EBulletInstance1").GetComponent <EbulletInstance>();
 }
Example #3
0
 // Start is called before the first frame update
 void Start()
 {
     ebs = GameObject.Find("EBulletInstance1").GetComponent <EbulletInstance>();
 }