Quantcast
Channel: Answers for "Exposing interface implementation"
Browsing latest articles
Browse All 6 View Live

Answer by nesis

I'm thinking I did what you're attempting with this (Unity 4.3): MyInterface.cs: using UnityEngine; using System.Collections; public interface MyInterface { string GetSomeClassId(); void...

View Article



Answer by Jamora

You have two options (that I know of) to have the Editor accept only your interface types in the general case: 1) Do as [IUnified][1], and have a generic MonoBehaviour class for which you create a...

View Article

Answer by vexe

A 3rd solution to add to @Jamora's list, is to implement a custom serialization system that properly handles edge cases that Unity doesn't do a good job at. I did just that in VFW, a custom...

View Article
Browsing latest articles
Browse All 6 View Live


Latest Images