Jump to content
Free trial for all, just make a forum account => download loader => follow faq => play ×
Stripe will no longer be supported ×
14.8 Patch Update ×
Sign in to follow this  
LoveBlade

Utils Classes

Recommended Posts

Couple of classes for script developing. Also C# isn't my favorite language and was just for personal use so "It just works" status basically.

 

Prediction not working currently.

Collision.cs Prediction.cs TargetSelect.cs Spell.cs

Edited by LoveBlade

Share this post


Link to post
Share on other sites
On 7/8/2021 at 8:53 PM, LoveBlade said:

Couple of classes for script developing. Also C# isn't my favorite language and was just for personal use so "It just works" status basically.

 

Prediction not working currently.

Collision.cs 5.11 kB · 19 downloads Prediction.cs 2.84 kB · 18 downloads TargetSelect.cs 4.25 kB · 15 downloads Spell.cs 2.68 kB · 21 downloads

Thanks m8. Have an example for the menu?

Share this post


Link to post
Share on other sites
6 hours ago, Kurisu said:

Thanks m8. Have an example for the menu?

var MenuTab = new  Tab("Tab Title")

MenuManager.AddTab(MenuTab);

var aMenuSetting = new Switch();

aMenuSetting.Title = "Enable Auto Q";

aMenuSetting.IsOn = true;

MenuTab.AddItem(aMenuSetting)

 

It'll be easier to have a class for menu tab and items, but can get the menu settings with

MenuManager.GetTab("Tab Title").GetItem<Switch>("Enable Auto Q").IsOn

 

 

 

Share this post


Link to post
Share on other sites
1 hour ago, Kurisu said:

Can we create submenus ?

No but you can create more than one menu, or use info item to split them up

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...