Skip to content

Instantly share code, notes, and snippets.

@todorok1
Created February 3, 2019 05:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save todorok1/e6d2fa543089566f1653884faa386daf to your computer and use it in GitHub Desktop.
Save todorok1/e6d2fa543089566f1653884faa386daf to your computer and use it in GitHub Desktop.
ScriptableObjectで作成したフィールドをグループ分けする前
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(menuName = "MyScriptable/Create GroupingTestData")]
public class GroupingTest : ScriptableObject {
public int enemyId;
public string enemyName;
public int maxHp;
public int maxMp;
public int atk;
public int def;
public int speed;
public int exp;
public int gold;
public string dropItem;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment