Added dropdowns and colorpickers to the SceneEffectCategory stuff. #77

Merged
krypto5863 merged 6 commits from master into master 2024-09-17 19:41:50 +00:00
krypto5863 commented 2024-09-12 17:51:42 +00:00 (Migrated from github.com)

Threw these together real quick, I only tested in HS2 and KKS, so lemme know if fixes or changes need to be made.

Threw these together real quick, I only tested in HS2 and KKS, so lemme know if fixes or changes need to be made.
ManlyMarco (Migrated from github.com) requested changes 2024-09-12 21:54:40 +00:00
ManlyMarco (Migrated from github.com) left a comment

The changes look good, but whitespace got messed up with random tabs. Make sure your editor is set to using spaces for indents.

The changes look good, but whitespace got messed up with random tabs. Make sure your editor is set to using spaces for indents.
krypto5863 commented 2024-09-12 22:40:29 +00:00 (Migrated from github.com)

Should be fixed now, I'm a tab enjoyer. Might add a few more controls to this later.

Should be fixed now, I'm a tab enjoyer. Might add a few more controls to this later.
ManlyMarco commented 2024-09-13 00:23:44 +00:00 (Migrated from github.com)

Do you want me to wait with reviewing until you finish adding them? You can mark the PR as a draft in that case.

Do you want me to wait with reviewing until you finish adding them? You can mark the PR as a draft in that case.
krypto5863 commented 2024-09-13 17:50:28 +00:00 (Migrated from github.com)

Nah should be good to go now. Think I've done most of the simple stuff with this already.

Nah should be good to go now. Think I've done most of the simple stuff with this already.
ManlyMarco (Migrated from github.com) reviewed 2024-09-17 19:37:41 +00:00
@ -68,6 +78,13 @@ namespace KKAPI.Studio.UI
#if !PH
ManlyMarco (Migrated from github.com) commented 2024-09-17 19:37:40 +00:00

Why not do this?

            var allsprites = Resources.FindObjectsOfTypeAll<Sprite>();
            _expandSprite = allSprites.FirstOrDefault(r => r.name.Equals("sp_sn_09_00_05"));
            _collapseSprite = allSprites.FirstOrDefault(r => r.name.Equals("sp_sn_09_00_03"));
Why not do this? ```suggestion var allsprites = Resources.FindObjectsOfTypeAll<Sprite>(); _expandSprite = allSprites.FirstOrDefault(r => r.name.Equals("sp_sn_09_00_05")); _collapseSprite = allSprites.FirstOrDefault(r => r.name.Equals("sp_sn_09_00_03")); ```
ManlyMarco (Migrated from github.com) reviewed 2024-09-17 19:41:03 +00:00
@ -68,6 +78,13 @@ namespace KKAPI.Studio.UI
#if !PH
ManlyMarco (Migrated from github.com) commented 2024-09-17 19:41:03 +00:00
            var allSprites = Resources.FindObjectsOfTypeAll<Sprite>();
```suggestion var allSprites = Resources.FindObjectsOfTypeAll<Sprite>(); ```
ManlyMarco (Migrated from github.com) approved these changes 2024-09-17 19:41:21 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
IllusionMods/IllusionModdingAPI!77
No description provided.