Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EnemyInfo {
public int enemyId;
public string enemyName;
public class EnemyParam {
public int maxHp;
public int maxMp;
public int atk;
public int def;
public int speed;
public class EnemyReward {
public int exp;
public int gold;
public string dropItem;
[CreateAssetMenu(menuName = "MyScriptable/Create GroupingTestSerializedData")]
public class GroupingTestSerialized : ScriptableObject {
public EnemyInfo enemyInfo;
public EnemyParam enemyParam;
public EnemyReward enemyReward;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment