- Home /
Script Component to implement interface
Is it possible to have a GameObject's Script Component implement an interface?
Currently the only was I see to to do this is to write a class that proxies my interface and the GameObject but I would rather not do this if possible.
btw, im using JavaScript.
Thanks.
Comment
Answer by Varjacic · Oct 31, 2016 at 03:03 PM
Check this out. https://unity3d.com/learn/tutorials/topics/scripting/interfaces
Your answer
![](https://koobas.hobune.stream/wayback/20220613025827im_/https://answers.unity.com/themes/thub/images/avi.jpg)