Example #1
0
 void Start()
 {
     creator_script = creator.GetComponent <Createballs>();
     Slot_script    = Slot.GetComponent <Slot_pr>();
     Status_script  = Status.GetComponent <status>();
     Physics.IgnoreLayerCollision(8, 8);
     Physics.gravity = new Vector3(0, -40F, 0);
 }
Example #2
0
 // Start is called before the first frame update
 void Start()
 {
     parent_script = transform.parent.GetComponent <Slot_pr>();
 }