Inheritance: MonoBehaviour
示例#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>();
 }
示例#2
0
        public override Skill Clone(int value)
        {
            var tmp = new Fortify
            {
                Description = Description,
                MaxValue    = MaxValue,
                Name        = Name,
                Value       = value
            };

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