mirror of
https://gitgud.io/AbstractConcept/rimworld-animation-studio.git
synced 2024-08-15 00:43:27 +00:00
Code refactor
This commit is contained in:
parent
5ca7e486f8
commit
e14a12f2ab
310 changed files with 4875 additions and 4102 deletions
19
Assets/Scripts/GUI/AddonAnchorDropdown.cs
Normal file
19
Assets/Scripts/GUI/AddonAnchorDropdown.cs
Normal file
|
@ -0,0 +1,19 @@
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
namespace RimWorldAnimationStudio
|
||||
{
|
||||
public class AddonAnchorDropdown : MonoBehaviour
|
||||
{
|
||||
private void Start()
|
||||
{
|
||||
Dropdown dropdown = GetComponent<Dropdown>();
|
||||
|
||||
dropdown.ClearOptions();
|
||||
dropdown.AddOptions(Constants.bodyPartAnchorNames.Values.ToList());
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue