몬스터 스킬 json 로드 기능 추가

This commit is contained in:
Mingu Kim
2025-02-15 02:17:46 +09:00
parent d59faab87d
commit 648452a153
8 changed files with 345 additions and 24 deletions

View File

@@ -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;

View File

@@ -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; // 스킬 애니메이션 이름
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: e7674986391c77044bbc330f14711e86
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: