Пример #1
0
    public void ChangeFireStyle(FireStyle style)
    {
        switch (style)
        {
        case FireStyle.Auto:
        {
            autoStick.SetActive(true);
            manualStick.SetActive(false);
        }
        break;

        case FireStyle.Manual:
        {
            autoStick.SetActive(false);
            manualStick.SetActive(true);
        }
        break;
        }
    }
Пример #2
0
 public static void ChangeFireStype(FireStyle style)
 {
     fireStyle = style;
 }