Message308909
Am trying to use clr.AddReference and clr.AddReferenceToFile to import an assembly, but python(2.7) keeps making this error:
Traceback (most recent call last):
File "<pyshell#5>", line 1, in <module>
clr.AddReference("UnityEngine")
AttributeError: 'module' object has no attribute 'AddReference'
Can anyone tell me how to fix this. |
|
| Date |
User |
Action |
Args |
| 2017-12-21 21:58:48 | Rany | set | recipients:
+ Rany, terry.reedy |
| 2017-12-21 21:58:48 | Rany | set | messageid: <1513893528.75.0.213398074469.issue32405@psf.upfronthosting.co.za> |
| 2017-12-21 21:58:48 | Rany | link | issue32405 messages |
| 2017-12-21 21:58:48 | Rany | create | |
|