Exemple #1
0
    private void Start()
    {
        for (int i = 0; i < Categories.Length; i++)
        {
            Categories[i].Buttons = Categories[i].Content.GetComponentsInChildren <UICircularButton>().ToList();
        }

        ChangeIndex(Categories[0].Name);

#if WINTERBYTE
        Container = UltimateSurvival.GUISystem.GUIController.Instance.GetContainer("Inventory");
#endif
    }
 private void Awake()
 {
     m_Input = transform.FindDeepChild("Input").GetComponent <ItemContainer>();
     m_Fuel  = transform.FindDeepChild("Fuel").GetComponent <ItemContainer>();
 }