VipereSolide 61 Posted March 16 Share Posted March 16 (edited) How will it work? It will be files, .swplugins, written in c#, that will handle new functionnalities for the SD. Here is a little example of a plugin, that adds an "about" category which contains an option to open www.skillwarz.com : #CODE using UnityEngine; public class SWPluginExample : MonoBehavior { Category newAboutCategory; SubCategory aboutSC; private void Start() { newAboutCategory = new Category(); newAboutCategory.categoryName = "About"; aboutSC = new SubCategory(); newAboutCategory.AppendSC(aboutSC); SCOption skillwarzLink = aboutSC.NewOption(); skillwarzLink.scOptionName = "skillwarz.com"; skillwarzLink.onclick = () => { //Open Browser }; } } #ENDCODE ⚠️ THIS TOPIC IS GOING TO HAVE MORE POSTS IN THE FUTURE ⚠️ Edited March 16 by VipereSolide 1 3 Quote Link to post Share on other sites
VipereSolide 61 Posted March 16 Author Share Posted March 16 4 minutes ago, OneManArmy said: wut? I thought I had said it in the Who Wants To Help topic, but apparently not. There will be files, you will be able to download and put into a specific folder that will make add functionnalities. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.