コード例 #1
0
    // Use this for initialization
    void Start()
    {
        cooldownText      = GetComponent <Text>();
        cooldownText.text = "";

        spawnerValue = spawner.GetComponent <attackMagic>();
    }
コード例 #2
0
 public void setAttackMagic(attackMagic method)
 {
     this.method = method;
     battleItemSelectedChange?.Invoke(this, EventArgs.Empty);
 }