Method GetComponent GetComponent(Int32) Declaration public WeaponComponent GetComponent(int index) Parameters Type Name Description System.Int32 index Returns Type Description WeaponComponent