slimecing

a fighting game featuring slimes and swords
Log | Files | Refs | README

PlayerInputs.cs (1589B)


      1 using UnityEngine;
      2 
      3 [System.Serializable]
      4 public class PlayerInputs
      5 {
      6     public bool mouseInput;
      7     public string xMoveAxis;
      8     public string yMoveAxis;
      9     public string xSwordAxis;
     10     public string ySwordAxis;
     11     public string thrustInput;
     12     public string dashInput;
     13     public string emoteOne;
     14 
     15     public bool MouseInput { get { return mouseInput; } set { mouseInput = value; } }
     16     public string XMoveAxis { get { return xMoveAxis; } set { xMoveAxis = value; } }
     17     public string YMoveAxis { get { return yMoveAxis; } set { yMoveAxis = value; } }
     18     public string XSwordAxis { get { return xSwordAxis; } set { xSwordAxis = value; } }
     19     public string YSwordAxis { get { return ySwordAxis; } set { ySwordAxis = value; } }
     20     public string ThrustInput { get { return thrustInput; } set { thrustInput = value; } }
     21     public string DashInput { get { return dashInput; } set { dashInput = value; } }
     22     public string EmoteOne { get { return emoteOne; } set { emoteOne = value; } }
     23 
     24     /*public bool MouseInput { get; set; }
     25     public string XMoveAxis { get; set; }
     26     public string YMoveAxis { get; set; }
     27     public string XSwordAxis { get; set; }
     28     public string YSwordAxis { get; set; }
     29     public string ThrustInput { get; set; }
     30     public string DashInput { get; set; }*/
     31 
     32     /*public PlayerInputs(bool mouse, string x, string y, string xs, string ys, string t, string d)
     33     {
     34         mouseInput = mouse;
     35         xMoveAxis = x;
     36         yMoveAxis = y;
     37         xSwordAxis = xs;
     38         ySwordAxis = ys;
     39         thrustInput = t;
     40         dashInput = d;
     41     }*/
     42 }