Last active
May 24, 2017 17:23
-
-
Save sada913/62ac661d860cfcbe63cf53b0ebcaf4bd to your computer and use it in GitHub Desktop.
Log出力
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class test : MonoBehaviour { | |
[SerializeField] Enemy ene; | |
//Enemyは最初に設定したClass名 | |
void Start () { | |
Debug.Log("id " + ene.param[0].id); | |
Debug.Log("name " + ene.param[0].name); | |
Debug.Log("ATK " + ene.param[0].ATK); | |
Debug.Log("DEF " + ene.param[0].DEF); | |
Debug.Log("id " + ene.param[1].id); | |
Debug.Log("name " + ene.param[1].name); | |
Debug.Log("ATK " + ene.param[1].ATK); | |
Debug.Log("DEF " + ene.param[1].DEF); | |
//配列の添字はエクセルの2行目以降から何列目か | |
} | |
// Update is called once per frame | |
void Update () { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment