导入敌人模型素材,统一经验和金币掉落物
This commit is contained in:
@@ -1,18 +0,0 @@
|
||||
namespace SepCore.Entity
|
||||
{
|
||||
public class CoinData : EntityDataBase
|
||||
{
|
||||
private int _value;
|
||||
|
||||
public CoinData(int value, int entityId, string assetName = "CoinEntity") : base(assetName, entityId)
|
||||
{
|
||||
_value = value;
|
||||
}
|
||||
|
||||
public int Value
|
||||
{
|
||||
get => _value;
|
||||
set => _value = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d9caee22d67a42018113acc77155d6ba
|
||||
timeCreated: 1770292597
|
||||
@@ -0,0 +1,27 @@
|
||||
namespace SepCore.Entity
|
||||
{
|
||||
public class DropData : EntityDataBase
|
||||
{
|
||||
private int _coinCount;
|
||||
private int _expCount;
|
||||
|
||||
public DropData(int coinCount, int expCount, int entityId, string assetName = "DropEntity")
|
||||
: base(assetName, entityId)
|
||||
{
|
||||
_coinCount = coinCount;
|
||||
_expCount = expCount;
|
||||
}
|
||||
|
||||
public int CoinCount
|
||||
{
|
||||
get => _coinCount;
|
||||
set => _coinCount = value;
|
||||
}
|
||||
|
||||
public int ExpCount
|
||||
{
|
||||
get => _expCount;
|
||||
set => _expCount = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9fde8f604fb5b7646b201ca25bb5b86b
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,5 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using SepCore.Definition;
|
||||
using UnityEngine;
|
||||
|
||||
@@ -32,10 +31,6 @@ namespace SepCore.Entity
|
||||
|
||||
public float SpeedBase => Config.Speed;
|
||||
|
||||
public int DropCoin => Config.CoinDrop;
|
||||
|
||||
public int DropExp => Config.ExpDrop;
|
||||
|
||||
public float DropPercent => Config.DropPercent;
|
||||
|
||||
public float Scale => Config.Scale;
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
namespace SepCore.Entity
|
||||
{
|
||||
public class ExpData : EntityDataBase
|
||||
{
|
||||
private int _value;
|
||||
|
||||
public ExpData(int value, int entityId, string assetName = "ExpEntity") : base(assetName, entityId)
|
||||
{
|
||||
_value = value;
|
||||
}
|
||||
|
||||
public int Value
|
||||
{
|
||||
get => _value;
|
||||
set => _value = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e0f6c8e117da49f1ad04fd8810882043
|
||||
timeCreated: 1770292932
|
||||
Reference in New Issue
Block a user