Last active
January 29, 2019 12:15
Star
You must be signed in to star a gist
ScriptableObjectのサンプル
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; | |
[CreateAssetMenu(menuName = "MyScriptable/Create EnemyData")] | |
public class EnemyData : ScriptableObject { | |
public string enemyName; | |
public int maxHp; | |
public int atk; | |
public int def; | |
public int exp; | |
public int gold; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment