コード例 #1
0
 void Start()
 {
     go_textrecv = GameObject.Find("upgdesc");
     s_upgtext = go_textrecv.GetComponent<upgtext>();
 }
コード例 #2
0
 void Start()
 {
     buildtower3strng = "Ice Tower\n Attack damage: 0.25\n Attack speed: 1.5\n Attack range: 10\n Cost: 150\n Special: Slows target";
     go_textrecv = GameObject.Find("upgdesc2");
     s_upgtext = go_textrecv.GetComponent<upgtext>();
 }
コード例 #3
0
 void Start()
 {
     go_textrecv = GameObject.Find("upgdesc");
     s_upgtext   = go_textrecv.GetComponent <upgtext>();
 }
コード例 #4
0
 void Start()
 {
     buildtower1strng = "Basic Tower\n Attack damage: 1\n Attack speed: 0.75\n Attack range: 10\n Cost: 100";
     go_textrecv      = GameObject.Find("upgdesc2");
     s_upgtext        = go_textrecv.GetComponent <upgtext>();
 }
コード例 #5
0
 void Start()
 {
     buildtower2strng = "Splash Tower\n Attack damage: 2\n Attack speed: 0.75\n Attack range: 10\n Cost: 150\n Special: Splash Attack";
     go_textrecv      = GameObject.Find("upgdesc2");
     s_upgtext        = go_textrecv.GetComponent <upgtext>();
 }
コード例 #6
0
 void Start()
 {
     buildtower1strng = "Basic Tower\n Attack damage: 1\n Attack speed: 0.75\n Attack range: 10\n Cost: 100";
     go_textrecv = GameObject.Find("upgdesc2");
     s_upgtext = go_textrecv.GetComponent<upgtext>();
 }
コード例 #7
0
 void Start()
 {
     buildtower3strng = "Ice Tower\n Attack damage: 0.25\n Attack speed: 1.5\n Attack range: 10\n Cost: 150\n Special: Slows target";
     go_textrecv      = GameObject.Find("upgdesc2");
     s_upgtext        = go_textrecv.GetComponent <upgtext>();
 }
コード例 #8
0
 void Start()
 {
     buildtower2strng = "Splash Tower\n Attack damage: 2\n Attack speed: 0.75\n Attack range: 10\n Cost: 150\n Special: Splash Attack";
     go_textrecv = GameObject.Find("upgdesc2");
     s_upgtext = go_textrecv.GetComponent<upgtext>();
 }