Inheritance: MonoBehaviour
Exemplo n.º 1
0
 void Start()
 {
     Gobject     = GameObject.FindGameObjectWithTag("MainCamera").GetComponent <GlobalClass>();
     fortify_obj = GameObject.FindGameObjectWithTag("MainCamera").GetComponent <Fortify>();
     draft_phase = GameObject.FindGameObjectWithTag("MainCamera").GetComponent <Draftphase>();
     attk        = GameObject.FindGameObjectWithTag("MainCamera").GetComponent <attack_phase>();
 }
Exemplo n.º 2
0
        public override Skill Clone(int value)
        {
            var tmp = new Fortify
            {
                Description = Description,
                MaxValue    = MaxValue,
                Name        = Name,
                Value       = value
            };

            return(tmp);
        }
Exemplo n.º 3
0
 void Start()
 {
     Gobject     = GameObject.FindGameObjectWithTag("MainCamera").GetComponent <GlobalClass>();
     fortify_obj = GameObject.FindGameObjectWithTag("MainCamera").GetComponent <Fortify>();
 }
Exemplo n.º 4
0
 public FortitudeJewel2()
 {
     Name  = "Fortitude Jewel 2";
     Skill = new Fortify(1);
     Type  = SlotType.Medium;
 }