몬스터 스킬 json 로드 기능 추가
This commit is contained in:
@@ -20,15 +20,16 @@ namespace TON
|
||||
// 기본 공격력
|
||||
public int attackPower;
|
||||
// 기본 방어력
|
||||
public int defensivePower;
|
||||
public int defencePower;
|
||||
// 몬스터 스킬 ID
|
||||
public string monsterSkillID;
|
||||
public int monsterSkillID;
|
||||
// 패트롤 범위
|
||||
public float patrolRange;
|
||||
// 인식 범위
|
||||
public float detectionRange;
|
||||
// 추적 범위
|
||||
public float chaseRange;
|
||||
public float moveSpeed;
|
||||
// 공격 범위
|
||||
public float attackRange;
|
||||
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace TON
|
||||
{
|
||||
[System.Serializable]
|
||||
public class MonsterSkillData
|
||||
{
|
||||
public int skillId; // 스킬 ID
|
||||
public string skillName; // 스킬 이름
|
||||
public float damage; // 스킬 데미지
|
||||
public float cooldown; // 스킬 쿨다운
|
||||
public float range; // 스킬 범위
|
||||
public string animationName; // 스킬 애니메이션 이름
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e7674986391c77044bbc330f14711e86
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user