You just write: [Button] public void MyFunction() { /* stuff */ } And it creates a button for it in the inspector.
@unity3d needs a [Button] property attribute you can put above any function. Basically have it automate this: http://unity3d.com/learn/tutorials/modules/intermediate/editor/adding-buttons-to-inspector …
-
-
-
Part of me is hoping it's there and I just haven't found it yet.
Keskustelun loppu
Uusi keskustelu -
Lataaminen näyttää kestävän hetken.
Twitter saattaa olla ruuhkautunut tai ongelma on muuten hetkellinen. Yritä uudelleen tai käy Twitterin tilasivulla saadaksesi lisätietoja.