コード例 #1
0
 public static SkillButtonGUI CreateSkillCap()
 {
     SkillButtonGUI ret = new SkillButtonGUI();
     ret.position = new Rect(190,0,50,50);
     ret.type = TowerType.skillCap;
     return ret;
 }
コード例 #2
0
 public static SkillButtonGUI CreateShoot()
 {
     SkillButtonGUI ret = new SkillButtonGUI();
     ret.position = new Rect(10,0,50,50);
     ret.type = TowerType.shoot;
     return ret;
 }
コード例 #3
0
 public static SkillButtonGUI CreateSilence()
 {
     SkillButtonGUI ret = new SkillButtonGUI();
     ret.position = new Rect(130,0,50,50);
     ret.type = TowerType.silence;
     return ret;
 }
コード例 #4
0
 public static SkillButtonGUI CreateBuild()
 {
     SkillButtonGUI ret = new SkillButtonGUI();
     ret.position = new Rect(70,0,50,50);
     ret.type = TowerType.build;
     return ret;
 }