// Start is called before the first frame update void Start() { name = transform.parent.name; ballDur = GetComponent <BallDurability>(); ballCollision = GetComponent <BallCollision>(); nameplateDisplay = GetComponent <NameplateDisplay>(); }
private void Start() { rb = GetComponent <Rigidbody>(); ballDur = GetComponent <BallDurability>(); ballPhysics = GetComponent <BallPhysics>(); nameplate = GetComponent <NameplateDisplay>(); //Initialise ballConfig values }