On Thu, 21 Dec 2017 23:54:17 +0100, Ranya <ranyafaf...@gmail.com> wrote: > Hi, > Am trying to use clr.AddReference and clr.AddReferenceToFile, 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' > > How can I fix this? > Thanks in advance.
What is clr? Whatever it is, it doesn't have the AddReference attribute that you seem to be expecting. -- To email me, substitute nowhere->runbox, invalid->com. -- https://mail.python.org/mailman/listinfo/python-list