oct
This commit is contained in:
parent
886be5e736
commit
22b23a26e2
BIN
Assets/.DS_Store
vendored
BIN
Assets/.DS_Store
vendored
Binary file not shown.
|
|
@ -11,12 +11,9 @@ public class GameManager : NetworkBehaviour
|
|||
public List<EnemySpawnEntry> enemySpawns;
|
||||
public Transform LootSpawnPointsParent;
|
||||
public Transform spawnPointsPlayer;
|
||||
|
||||
public static GameManager instance;
|
||||
|
||||
public List<LootData> lootDatas;
|
||||
public InventoryItemsCollection inventoryItems;
|
||||
|
||||
private void Awake() {
|
||||
instance = this;
|
||||
}
|
||||
|
|
@ -78,7 +75,6 @@ public class GameManager : NetworkBehaviour
|
|||
|
||||
return;
|
||||
|
||||
|
||||
foreach(LootData loot in lootDatas){
|
||||
if(loot.type == type){
|
||||
GameObject newLoot = Instantiate(loot.prefab, position, Quaternion.identity);
|
||||
|
|
@ -134,7 +130,6 @@ public class GameManager : NetworkBehaviour
|
|||
|
||||
}
|
||||
|
||||
|
||||
[System.Serializable]
|
||||
public class EnemySpawnEntry{
|
||||
public Transform spawnParent;
|
||||
|
|
|
|||
70
Assets/InGameCharacterMgr.cs
Normal file
70
Assets/InGameCharacterMgr.cs
Normal file
|
|
@ -0,0 +1,70 @@
|
|||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using Assets.HeroEditor4D.Common.Scripts.CharacterScripts;
|
||||
using UnityEngine;
|
||||
|
||||
public class InGameCharacterMgr : MonoBehaviour
|
||||
{
|
||||
// [SerializeField] private GameObject SwordBtn;
|
||||
// [SerializeField] private GameObject MageBtn;
|
||||
// [SerializeField] private GameObject BawBtn;
|
||||
|
||||
public GameObject[] attackBtns;
|
||||
public string selectedCharacter;
|
||||
public List<CharacterDataSO> characterDataScriptable ;
|
||||
public Character4D character4D;
|
||||
|
||||
float timer= 10;
|
||||
void Update()
|
||||
{
|
||||
if(timer < 5){timer+=Time.deltaTime; return;}
|
||||
timer=0;
|
||||
SetAttackBtn();
|
||||
}
|
||||
|
||||
void Start()
|
||||
{
|
||||
// SetAttackBtn();
|
||||
}
|
||||
public string currentJson;
|
||||
void SetAttackBtn(){
|
||||
|
||||
currentJson = character4D.ToJson();
|
||||
selectedCharacter = "attack";
|
||||
|
||||
foreach(CharacterDataSO character in characterDataScriptable){
|
||||
if(character.jsonCharData == currentJson){
|
||||
selectedCharacter = character.charName;
|
||||
break;
|
||||
}
|
||||
}
|
||||
//
|
||||
foreach(GameObject button in attackBtns){
|
||||
button.SetActive(false);
|
||||
}
|
||||
|
||||
//
|
||||
switch (selectedCharacter){
|
||||
|
||||
case "attack":
|
||||
attackBtns[0].SetActive(true);
|
||||
break;
|
||||
|
||||
case "mage":
|
||||
attackBtns[1].SetActive(true);
|
||||
break;
|
||||
|
||||
case "range":
|
||||
attackBtns[2].SetActive(true);
|
||||
break;
|
||||
|
||||
default:
|
||||
//set sword btn
|
||||
attackBtns[0].SetActive(true) ;
|
||||
break;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
11
Assets/InGameCharacterMgr.cs.meta
Normal file
11
Assets/InGameCharacterMgr.cs.meta
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 70edc540d209b4c1986b66ad9fa14056
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/Lana Studio/.DS_Store
vendored
BIN
Assets/Lana Studio/.DS_Store
vendored
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
|
@ -25,12 +25,13 @@ Transform:
|
|||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1422373590154282558}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: -0, y: 0.7071068, z: -0, w: 0.7071068}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 8780727661788297680}
|
||||
m_RootOrder: 1
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 90, z: 0}
|
||||
--- !u!198 &1422373590154282557
|
||||
ParticleSystem:
|
||||
|
|
@ -39,19 +40,19 @@ ParticleSystem:
|
|||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1422373590154282558}
|
||||
serializedVersion: 7
|
||||
serializedVersion: 8
|
||||
lengthInSec: 2
|
||||
simulationSpeed: 1
|
||||
stopAction: 0
|
||||
cullingMode: 0
|
||||
ringBufferMode: 1
|
||||
ringBufferLoopRange: {x: 0, y: 1}
|
||||
emitterVelocityMode: 0
|
||||
looping: 0
|
||||
prewarm: 0
|
||||
playOnAwake: 1
|
||||
useUnscaledTime: 0
|
||||
autoRandomSeed: 1
|
||||
useRigidbodyForVelocity: 1
|
||||
startDelay:
|
||||
serializedVersion: 2
|
||||
minMaxState: 0
|
||||
|
|
@ -250,6 +251,7 @@ ParticleSystem:
|
|||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_ColorSpace: -1
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
minGradient:
|
||||
|
|
@ -279,6 +281,7 @@ ParticleSystem:
|
|||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_ColorSpace: -1
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
startSize:
|
||||
|
|
@ -600,7 +603,9 @@ ParticleSystem:
|
|||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
randomizeRotationDirection: 0
|
||||
gravitySource: 0
|
||||
maxNumParticles: 1000
|
||||
customEmitterVelocity: {x: 0, y: 0, z: 0}
|
||||
size3D: 0
|
||||
rotation3D: 0
|
||||
gravityModifier:
|
||||
|
|
@ -1386,6 +1391,7 @@ ParticleSystem:
|
|||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_ColorSpace: -1
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
minGradient:
|
||||
|
|
@ -1415,6 +1421,7 @@ ParticleSystem:
|
|||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_ColorSpace: -1
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
UVModule:
|
||||
|
|
@ -3635,6 +3642,7 @@ ParticleSystem:
|
|||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_ColorSpace: -1
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
minGradient:
|
||||
|
|
@ -3664,6 +3672,7 @@ ParticleSystem:
|
|||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_ColorSpace: -1
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
range: {x: 0, y: 1}
|
||||
|
|
@ -4053,6 +4062,7 @@ ParticleSystem:
|
|||
m_RotationOrder: 4
|
||||
minVertexDistance: 0.2
|
||||
textureMode: 0
|
||||
textureScale: {x: 1, y: 1}
|
||||
ribbonCount: 1
|
||||
shadowBias: 0.5
|
||||
worldSpace: 0
|
||||
|
|
@ -4095,6 +4105,7 @@ ParticleSystem:
|
|||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_ColorSpace: -1
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
minGradient:
|
||||
|
|
@ -4124,6 +4135,7 @@ ParticleSystem:
|
|||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_ColorSpace: -1
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
widthOverTrail:
|
||||
|
|
@ -4211,6 +4223,7 @@ ParticleSystem:
|
|||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_ColorSpace: -1
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
minGradient:
|
||||
|
|
@ -4240,6 +4253,7 @@ ParticleSystem:
|
|||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_ColorSpace: -1
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
CustomDataModule:
|
||||
|
|
@ -4278,6 +4292,7 @@ ParticleSystem:
|
|||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_ColorSpace: -1
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
minGradient:
|
||||
|
|
@ -4307,6 +4322,7 @@ ParticleSystem:
|
|||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_ColorSpace: -1
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
colorLabel0: Color
|
||||
|
|
@ -4560,6 +4576,7 @@ ParticleSystem:
|
|||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_ColorSpace: -1
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
minGradient:
|
||||
|
|
@ -4589,6 +4606,7 @@ ParticleSystem:
|
|||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_ColorSpace: -1
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
colorLabel1: Color
|
||||
|
|
@ -4820,6 +4838,7 @@ ParticleSystemRenderer:
|
|||
m_CastShadows: 0
|
||||
m_ReceiveShadows: 0
|
||||
m_DynamicOccludee: 1
|
||||
m_StaticShadowCaster: 0
|
||||
m_MotionVectors: 1
|
||||
m_LightProbeUsage: 0
|
||||
m_ReflectionProbeUsage: 0
|
||||
|
|
@ -4850,6 +4869,7 @@ ParticleSystemRenderer:
|
|||
m_SortingLayer: 0
|
||||
m_SortingOrder: 0
|
||||
m_RenderMode: 1
|
||||
m_MeshDistribution: 0
|
||||
m_SortMode: 0
|
||||
m_MinParticleSize: 0
|
||||
m_MaxParticleSize: 1000
|
||||
|
|
@ -4862,17 +4882,23 @@ ParticleSystemRenderer:
|
|||
m_RenderAlignment: 0
|
||||
m_Pivot: {x: 0, y: 0.37, z: 0}
|
||||
m_Flip: {x: 0, y: 0, z: 0}
|
||||
m_UseCustomVertexStreams: 0
|
||||
m_EnableGPUInstancing: 1
|
||||
m_ApplyActiveColorSpace: 1
|
||||
m_AllowRoll: 1
|
||||
m_FreeformStretching: 0
|
||||
m_RotateWithStretchDirection: 1
|
||||
m_UseCustomVertexStreams: 0
|
||||
m_VertexStreams: 00010304
|
||||
m_UseCustomTrailVertexStreams: 0
|
||||
m_TrailVertexStreams: 00010304
|
||||
m_Mesh: {fileID: 0}
|
||||
m_Mesh1: {fileID: 0}
|
||||
m_Mesh2: {fileID: 0}
|
||||
m_Mesh3: {fileID: 0}
|
||||
m_MeshWeighting: 1
|
||||
m_MeshWeighting1: 1
|
||||
m_MeshWeighting2: 1
|
||||
m_MeshWeighting3: 1
|
||||
m_MaskInteraction: 0
|
||||
--- !u!1 &8780727661290054508
|
||||
GameObject:
|
||||
|
|
@ -4899,12 +4925,13 @@ Transform:
|
|||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8780727661290054508}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: 0, y: 0.7071068, z: 0, w: 0.7071068}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 8780727661788297680}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 90, z: 0}
|
||||
--- !u!198 &8780727661290054511
|
||||
ParticleSystem:
|
||||
|
|
@ -4913,19 +4940,19 @@ ParticleSystem:
|
|||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8780727661290054508}
|
||||
serializedVersion: 7
|
||||
serializedVersion: 8
|
||||
lengthInSec: 2
|
||||
simulationSpeed: 1
|
||||
stopAction: 0
|
||||
cullingMode: 0
|
||||
ringBufferMode: 1
|
||||
ringBufferLoopRange: {x: 0, y: 1}
|
||||
emitterVelocityMode: 0
|
||||
looping: 0
|
||||
prewarm: 0
|
||||
playOnAwake: 1
|
||||
useUnscaledTime: 0
|
||||
autoRandomSeed: 1
|
||||
useRigidbodyForVelocity: 1
|
||||
startDelay:
|
||||
serializedVersion: 2
|
||||
minMaxState: 0
|
||||
|
|
@ -5124,6 +5151,7 @@ ParticleSystem:
|
|||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_ColorSpace: -1
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
minGradient:
|
||||
|
|
@ -5153,6 +5181,7 @@ ParticleSystem:
|
|||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_ColorSpace: -1
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
startSize:
|
||||
|
|
@ -5474,7 +5503,9 @@ ParticleSystem:
|
|||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
randomizeRotationDirection: 0
|
||||
gravitySource: 0
|
||||
maxNumParticles: 1000
|
||||
customEmitterVelocity: {x: 0, y: 0, z: 0}
|
||||
size3D: 0
|
||||
rotation3D: 0
|
||||
gravityModifier:
|
||||
|
|
@ -6278,6 +6309,7 @@ ParticleSystem:
|
|||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_ColorSpace: -1
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
minGradient:
|
||||
|
|
@ -6307,6 +6339,7 @@ ParticleSystem:
|
|||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_ColorSpace: -1
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
UVModule:
|
||||
|
|
@ -8527,6 +8560,7 @@ ParticleSystem:
|
|||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_ColorSpace: -1
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
minGradient:
|
||||
|
|
@ -8556,6 +8590,7 @@ ParticleSystem:
|
|||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_ColorSpace: -1
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
range: {x: 0, y: 1}
|
||||
|
|
@ -8945,6 +8980,7 @@ ParticleSystem:
|
|||
m_RotationOrder: 4
|
||||
minVertexDistance: 0.2
|
||||
textureMode: 0
|
||||
textureScale: {x: 1, y: 1}
|
||||
ribbonCount: 1
|
||||
shadowBias: 0.5
|
||||
worldSpace: 0
|
||||
|
|
@ -8987,6 +9023,7 @@ ParticleSystem:
|
|||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_ColorSpace: -1
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
minGradient:
|
||||
|
|
@ -9016,6 +9053,7 @@ ParticleSystem:
|
|||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_ColorSpace: -1
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
widthOverTrail:
|
||||
|
|
@ -9103,6 +9141,7 @@ ParticleSystem:
|
|||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_ColorSpace: -1
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
minGradient:
|
||||
|
|
@ -9132,6 +9171,7 @@ ParticleSystem:
|
|||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_ColorSpace: -1
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
CustomDataModule:
|
||||
|
|
@ -9170,6 +9210,7 @@ ParticleSystem:
|
|||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_ColorSpace: -1
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
minGradient:
|
||||
|
|
@ -9199,6 +9240,7 @@ ParticleSystem:
|
|||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_ColorSpace: -1
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
colorLabel0: Color
|
||||
|
|
@ -9452,6 +9494,7 @@ ParticleSystem:
|
|||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_ColorSpace: -1
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
minGradient:
|
||||
|
|
@ -9481,6 +9524,7 @@ ParticleSystem:
|
|||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_ColorSpace: -1
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
colorLabel1: Color
|
||||
|
|
@ -9712,6 +9756,7 @@ ParticleSystemRenderer:
|
|||
m_CastShadows: 0
|
||||
m_ReceiveShadows: 0
|
||||
m_DynamicOccludee: 1
|
||||
m_StaticShadowCaster: 0
|
||||
m_MotionVectors: 1
|
||||
m_LightProbeUsage: 0
|
||||
m_ReflectionProbeUsage: 0
|
||||
|
|
@ -9742,6 +9787,7 @@ ParticleSystemRenderer:
|
|||
m_SortingLayer: 0
|
||||
m_SortingOrder: 1
|
||||
m_RenderMode: 1
|
||||
m_MeshDistribution: 0
|
||||
m_SortMode: 0
|
||||
m_MinParticleSize: 0
|
||||
m_MaxParticleSize: 1000
|
||||
|
|
@ -9754,17 +9800,23 @@ ParticleSystemRenderer:
|
|||
m_RenderAlignment: 3
|
||||
m_Pivot: {x: 0, y: 0.19, z: 0}
|
||||
m_Flip: {x: 0, y: 0, z: 0}
|
||||
m_UseCustomVertexStreams: 0
|
||||
m_EnableGPUInstancing: 1
|
||||
m_ApplyActiveColorSpace: 1
|
||||
m_AllowRoll: 1
|
||||
m_FreeformStretching: 0
|
||||
m_RotateWithStretchDirection: 1
|
||||
m_UseCustomVertexStreams: 0
|
||||
m_VertexStreams: 00010304
|
||||
m_UseCustomTrailVertexStreams: 0
|
||||
m_TrailVertexStreams: 00010304
|
||||
m_Mesh: {fileID: 0}
|
||||
m_Mesh1: {fileID: 0}
|
||||
m_Mesh2: {fileID: 0}
|
||||
m_Mesh3: {fileID: 0}
|
||||
m_MeshWeighting: 1
|
||||
m_MeshWeighting1: 1
|
||||
m_MeshWeighting2: 1
|
||||
m_MeshWeighting3: 1
|
||||
m_MaskInteraction: 0
|
||||
--- !u!1 &8780727661358402064
|
||||
GameObject:
|
||||
|
|
@ -9791,12 +9843,13 @@ Transform:
|
|||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8780727661358402064}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: -0, y: -0.7071068, z: -0, w: 0.7071068}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 8780727661788297680}
|
||||
m_RootOrder: 4
|
||||
m_LocalEulerAnglesHint: {x: 0, y: -90, z: 0}
|
||||
--- !u!198 &8780727661358402067
|
||||
ParticleSystem:
|
||||
|
|
@ -9805,19 +9858,19 @@ ParticleSystem:
|
|||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8780727661358402064}
|
||||
serializedVersion: 7
|
||||
serializedVersion: 8
|
||||
lengthInSec: 2
|
||||
simulationSpeed: 1
|
||||
stopAction: 0
|
||||
cullingMode: 0
|
||||
ringBufferMode: 0
|
||||
ringBufferLoopRange: {x: 0, y: 1}
|
||||
emitterVelocityMode: 1
|
||||
looping: 1
|
||||
prewarm: 0
|
||||
playOnAwake: 1
|
||||
useUnscaledTime: 0
|
||||
autoRandomSeed: 1
|
||||
useRigidbodyForVelocity: 1
|
||||
startDelay:
|
||||
serializedVersion: 2
|
||||
minMaxState: 0
|
||||
|
|
@ -10016,6 +10069,7 @@ ParticleSystem:
|
|||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_ColorSpace: -1
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
minGradient:
|
||||
|
|
@ -10045,6 +10099,7 @@ ParticleSystem:
|
|||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_ColorSpace: -1
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
startSize:
|
||||
|
|
@ -10366,7 +10421,9 @@ ParticleSystem:
|
|||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
randomizeRotationDirection: 0
|
||||
gravitySource: 0
|
||||
maxNumParticles: 1000
|
||||
customEmitterVelocity: {x: 0, y: 0, z: 0}
|
||||
size3D: 0
|
||||
rotation3D: 0
|
||||
gravityModifier:
|
||||
|
|
@ -11094,6 +11151,7 @@ ParticleSystem:
|
|||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_ColorSpace: -1
|
||||
m_NumColorKeys: 3
|
||||
m_NumAlphaKeys: 4
|
||||
minGradient:
|
||||
|
|
@ -11123,6 +11181,7 @@ ParticleSystem:
|
|||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_ColorSpace: -1
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
UVModule:
|
||||
|
|
@ -13343,6 +13402,7 @@ ParticleSystem:
|
|||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_ColorSpace: -1
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
minGradient:
|
||||
|
|
@ -13372,6 +13432,7 @@ ParticleSystem:
|
|||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_ColorSpace: -1
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
range: {x: 0, y: 1}
|
||||
|
|
@ -13761,6 +13822,7 @@ ParticleSystem:
|
|||
m_RotationOrder: 4
|
||||
minVertexDistance: 0.2
|
||||
textureMode: 0
|
||||
textureScale: {x: 1, y: 1}
|
||||
ribbonCount: 1
|
||||
shadowBias: 0.5
|
||||
worldSpace: 0
|
||||
|
|
@ -13803,6 +13865,7 @@ ParticleSystem:
|
|||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_ColorSpace: -1
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
minGradient:
|
||||
|
|
@ -13832,6 +13895,7 @@ ParticleSystem:
|
|||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_ColorSpace: -1
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
widthOverTrail:
|
||||
|
|
@ -13919,6 +13983,7 @@ ParticleSystem:
|
|||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_ColorSpace: -1
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
minGradient:
|
||||
|
|
@ -13948,6 +14013,7 @@ ParticleSystem:
|
|||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_ColorSpace: -1
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
CustomDataModule:
|
||||
|
|
@ -13986,6 +14052,7 @@ ParticleSystem:
|
|||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_ColorSpace: -1
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
minGradient:
|
||||
|
|
@ -14015,6 +14082,7 @@ ParticleSystem:
|
|||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_ColorSpace: -1
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
colorLabel0: Color
|
||||
|
|
@ -14268,6 +14336,7 @@ ParticleSystem:
|
|||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_ColorSpace: -1
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
minGradient:
|
||||
|
|
@ -14297,6 +14366,7 @@ ParticleSystem:
|
|||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_ColorSpace: -1
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
colorLabel1: Color
|
||||
|
|
@ -14528,6 +14598,7 @@ ParticleSystemRenderer:
|
|||
m_CastShadows: 0
|
||||
m_ReceiveShadows: 0
|
||||
m_DynamicOccludee: 1
|
||||
m_StaticShadowCaster: 0
|
||||
m_MotionVectors: 1
|
||||
m_LightProbeUsage: 0
|
||||
m_ReflectionProbeUsage: 0
|
||||
|
|
@ -14558,6 +14629,7 @@ ParticleSystemRenderer:
|
|||
m_SortingLayer: 0
|
||||
m_SortingOrder: 2
|
||||
m_RenderMode: 1
|
||||
m_MeshDistribution: 0
|
||||
m_SortMode: 0
|
||||
m_MinParticleSize: 0
|
||||
m_MaxParticleSize: 1000
|
||||
|
|
@ -14570,17 +14642,23 @@ ParticleSystemRenderer:
|
|||
m_RenderAlignment: 0
|
||||
m_Pivot: {x: 0, y: 0.66, z: 0}
|
||||
m_Flip: {x: 0, y: 0, z: 0}
|
||||
m_UseCustomVertexStreams: 0
|
||||
m_EnableGPUInstancing: 1
|
||||
m_ApplyActiveColorSpace: 1
|
||||
m_AllowRoll: 1
|
||||
m_FreeformStretching: 0
|
||||
m_RotateWithStretchDirection: 1
|
||||
m_UseCustomVertexStreams: 0
|
||||
m_VertexStreams: 00010304
|
||||
m_UseCustomTrailVertexStreams: 0
|
||||
m_TrailVertexStreams: 00010304
|
||||
m_Mesh: {fileID: 0}
|
||||
m_Mesh1: {fileID: 0}
|
||||
m_Mesh2: {fileID: 0}
|
||||
m_Mesh3: {fileID: 0}
|
||||
m_MeshWeighting: 1
|
||||
m_MeshWeighting1: 1
|
||||
m_MeshWeighting2: 1
|
||||
m_MeshWeighting3: 1
|
||||
m_MaskInteraction: 0
|
||||
--- !u!1 &8780727661788297695
|
||||
GameObject:
|
||||
|
|
@ -14599,7 +14677,7 @@ GameObject:
|
|||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &8780727661788297680
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
@ -14607,9 +14685,11 @@ Transform:
|
|||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8780727661788297695}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalPosition: {x: 11.81, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children:
|
||||
- {fileID: 8780727661290054509}
|
||||
- {fileID: 1422373590154282559}
|
||||
|
|
@ -14617,7 +14697,6 @@ Transform:
|
|||
- {fileID: 9009770792754617618}
|
||||
- {fileID: 8780727661358402065}
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!198 &8780727661788297682
|
||||
ParticleSystem:
|
||||
|
|
@ -14626,19 +14705,19 @@ ParticleSystem:
|
|||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8780727661788297695}
|
||||
serializedVersion: 7
|
||||
serializedVersion: 8
|
||||
lengthInSec: 2
|
||||
simulationSpeed: 1
|
||||
stopAction: 0
|
||||
cullingMode: 0
|
||||
ringBufferMode: 1
|
||||
ringBufferLoopRange: {x: 0, y: 1}
|
||||
emitterVelocityMode: 0
|
||||
looping: 0
|
||||
prewarm: 0
|
||||
playOnAwake: 1
|
||||
useUnscaledTime: 0
|
||||
autoRandomSeed: 1
|
||||
useRigidbodyForVelocity: 1
|
||||
startDelay:
|
||||
serializedVersion: 2
|
||||
minMaxState: 0
|
||||
|
|
@ -14837,6 +14916,7 @@ ParticleSystem:
|
|||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_ColorSpace: -1
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
minGradient:
|
||||
|
|
@ -14866,6 +14946,7 @@ ParticleSystem:
|
|||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_ColorSpace: -1
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
startSize:
|
||||
|
|
@ -15187,7 +15268,9 @@ ParticleSystem:
|
|||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
randomizeRotationDirection: 0
|
||||
gravitySource: 0
|
||||
maxNumParticles: 1000
|
||||
customEmitterVelocity: {x: 0, y: 0, z: 0}
|
||||
size3D: 0
|
||||
rotation3D: 0
|
||||
gravityModifier:
|
||||
|
|
@ -15973,6 +16056,7 @@ ParticleSystem:
|
|||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_ColorSpace: -1
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
minGradient:
|
||||
|
|
@ -16002,6 +16086,7 @@ ParticleSystem:
|
|||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_ColorSpace: -1
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
UVModule:
|
||||
|
|
@ -18222,6 +18307,7 @@ ParticleSystem:
|
|||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_ColorSpace: -1
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
minGradient:
|
||||
|
|
@ -18251,6 +18337,7 @@ ParticleSystem:
|
|||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_ColorSpace: -1
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
range: {x: 0, y: 1}
|
||||
|
|
@ -18640,6 +18727,7 @@ ParticleSystem:
|
|||
m_RotationOrder: 4
|
||||
minVertexDistance: 0.2
|
||||
textureMode: 0
|
||||
textureScale: {x: 1, y: 1}
|
||||
ribbonCount: 1
|
||||
shadowBias: 0.5
|
||||
worldSpace: 0
|
||||
|
|
@ -18682,6 +18770,7 @@ ParticleSystem:
|
|||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_ColorSpace: -1
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
minGradient:
|
||||
|
|
@ -18711,6 +18800,7 @@ ParticleSystem:
|
|||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_ColorSpace: -1
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
widthOverTrail:
|
||||
|
|
@ -18798,6 +18888,7 @@ ParticleSystem:
|
|||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_ColorSpace: -1
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
minGradient:
|
||||
|
|
@ -18827,6 +18918,7 @@ ParticleSystem:
|
|||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_ColorSpace: -1
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
CustomDataModule:
|
||||
|
|
@ -18865,6 +18957,7 @@ ParticleSystem:
|
|||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_ColorSpace: -1
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
minGradient:
|
||||
|
|
@ -18894,6 +18987,7 @@ ParticleSystem:
|
|||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_ColorSpace: -1
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
colorLabel0: Color
|
||||
|
|
@ -19147,6 +19241,7 @@ ParticleSystem:
|
|||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_ColorSpace: -1
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
minGradient:
|
||||
|
|
@ -19176,6 +19271,7 @@ ParticleSystem:
|
|||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_ColorSpace: -1
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
colorLabel1: Color
|
||||
|
|
@ -19407,6 +19503,7 @@ ParticleSystemRenderer:
|
|||
m_CastShadows: 0
|
||||
m_ReceiveShadows: 0
|
||||
m_DynamicOccludee: 1
|
||||
m_StaticShadowCaster: 0
|
||||
m_MotionVectors: 1
|
||||
m_LightProbeUsage: 0
|
||||
m_ReflectionProbeUsage: 0
|
||||
|
|
@ -19437,6 +19534,7 @@ ParticleSystemRenderer:
|
|||
m_SortingLayer: 0
|
||||
m_SortingOrder: 1
|
||||
m_RenderMode: 0
|
||||
m_MeshDistribution: 0
|
||||
m_SortMode: 0
|
||||
m_MinParticleSize: 0
|
||||
m_MaxParticleSize: 1000
|
||||
|
|
@ -19449,17 +19547,23 @@ ParticleSystemRenderer:
|
|||
m_RenderAlignment: 0
|
||||
m_Pivot: {x: 0, y: 0, z: 0}
|
||||
m_Flip: {x: 0, y: 0, z: 0}
|
||||
m_UseCustomVertexStreams: 0
|
||||
m_EnableGPUInstancing: 1
|
||||
m_ApplyActiveColorSpace: 1
|
||||
m_AllowRoll: 1
|
||||
m_FreeformStretching: 0
|
||||
m_RotateWithStretchDirection: 1
|
||||
m_UseCustomVertexStreams: 0
|
||||
m_VertexStreams: 00010304
|
||||
m_UseCustomTrailVertexStreams: 0
|
||||
m_TrailVertexStreams: 00010304
|
||||
m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_Mesh1: {fileID: 0}
|
||||
m_Mesh2: {fileID: 0}
|
||||
m_Mesh3: {fileID: 0}
|
||||
m_MeshWeighting: 1
|
||||
m_MeshWeighting1: 1
|
||||
m_MeshWeighting2: 1
|
||||
m_MeshWeighting3: 1
|
||||
m_MaskInteraction: 0
|
||||
--- !u!1 &8780727662637616944
|
||||
GameObject:
|
||||
|
|
@ -19486,16 +19590,17 @@ Transform:
|
|||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8780727662637616944}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 8780727661788297680}
|
||||
m_RootOrder: 2
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!96 &8780727662637616946
|
||||
TrailRenderer:
|
||||
serializedVersion: 2
|
||||
serializedVersion: 3
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
|
|
@ -19505,6 +19610,7 @@ TrailRenderer:
|
|||
m_CastShadows: 1
|
||||
m_ReceiveShadows: 1
|
||||
m_DynamicOccludee: 1
|
||||
m_StaticShadowCaster: 0
|
||||
m_MotionVectors: 0
|
||||
m_LightProbeUsage: 0
|
||||
m_ReflectionProbeUsage: 0
|
||||
|
|
@ -19535,6 +19641,7 @@ TrailRenderer:
|
|||
m_SortingLayer: 0
|
||||
m_SortingOrder: 0
|
||||
m_Time: 0.4
|
||||
m_PreviewTimeScale: 1
|
||||
m_Parameters:
|
||||
serializedVersion: 3
|
||||
widthMultiplier: 2.2
|
||||
|
|
@ -19598,17 +19705,21 @@ TrailRenderer:
|
|||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_ColorSpace: -1
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 6
|
||||
numCornerVertices: 0
|
||||
numCapVertices: 0
|
||||
alignment: 0
|
||||
textureMode: 1
|
||||
textureScale: {x: 1, y: 1}
|
||||
shadowBias: 0.5
|
||||
generateLightingData: 0
|
||||
m_MinVertexDistance: 0.1
|
||||
m_MaskInteraction: 0
|
||||
m_Autodestruct: 0
|
||||
m_Emitting: 1
|
||||
m_ApplyActiveColorSpace: 0
|
||||
--- !u!114 &2896553782024073769
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
@ -19648,16 +19759,17 @@ Transform:
|
|||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 9009770792754617619}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 8780727661788297680}
|
||||
m_RootOrder: 3
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!96 &9009770792754617629
|
||||
TrailRenderer:
|
||||
serializedVersion: 2
|
||||
serializedVersion: 3
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
|
|
@ -19667,6 +19779,7 @@ TrailRenderer:
|
|||
m_CastShadows: 1
|
||||
m_ReceiveShadows: 1
|
||||
m_DynamicOccludee: 1
|
||||
m_StaticShadowCaster: 0
|
||||
m_MotionVectors: 0
|
||||
m_LightProbeUsage: 0
|
||||
m_ReflectionProbeUsage: 0
|
||||
|
|
@ -19697,6 +19810,7 @@ TrailRenderer:
|
|||
m_SortingLayer: 0
|
||||
m_SortingOrder: 1
|
||||
m_Time: 0.3
|
||||
m_PreviewTimeScale: 1
|
||||
m_Parameters:
|
||||
serializedVersion: 3
|
||||
widthMultiplier: 0.5141209
|
||||
|
|
@ -19751,14 +19865,18 @@ TrailRenderer:
|
|||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_ColorSpace: -1
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 4
|
||||
numCornerVertices: 0
|
||||
numCapVertices: 0
|
||||
alignment: 0
|
||||
textureMode: 0
|
||||
textureScale: {x: 1, y: 1}
|
||||
shadowBias: 0.5
|
||||
generateLightingData: 0
|
||||
m_MinVertexDistance: 0.1
|
||||
m_MaskInteraction: 0
|
||||
m_Autodestruct: 0
|
||||
m_Emitting: 1
|
||||
m_ApplyActiveColorSpace: 0
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
BIN
Assets/MultiplayerPrefab/.DS_Store
vendored
BIN
Assets/MultiplayerPrefab/.DS_Store
vendored
Binary file not shown.
29578
Assets/MultiplayerPrefab/Projectile_arrow.prefab
Normal file
29578
Assets/MultiplayerPrefab/Projectile_arrow.prefab
Normal file
File diff suppressed because it is too large
Load Diff
7
Assets/MultiplayerPrefab/Projectile_arrow.prefab.meta
Normal file
7
Assets/MultiplayerPrefab/Projectile_arrow.prefab.meta
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 1b9a380e64dd44ba4b763e5db789e90e
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
|
|
@ -4833,13 +4833,15 @@ ParticleSystemRenderer:
|
|||
m_RenderAlignment: 2
|
||||
m_Pivot: {x: 0, y: 0, z: 0}
|
||||
m_Flip: {x: 0, y: 0, z: 0}
|
||||
m_UseCustomVertexStreams: 0
|
||||
m_EnableGPUInstancing: 1
|
||||
m_ApplyActiveColorSpace: 1
|
||||
m_AllowRoll: 1
|
||||
m_FreeformStretching: 0
|
||||
m_RotateWithStretchDirection: 1
|
||||
m_UseCustomVertexStreams: 0
|
||||
m_VertexStreams: 00010304
|
||||
m_UseCustomTrailVertexStreams: 0
|
||||
m_TrailVertexStreams: 00010304
|
||||
m_Mesh: {fileID: 0}
|
||||
m_Mesh1: {fileID: 0}
|
||||
m_Mesh2: {fileID: 0}
|
||||
|
|
@ -9749,13 +9751,15 @@ ParticleSystemRenderer:
|
|||
m_RenderAlignment: 3
|
||||
m_Pivot: {x: 0, y: 0, z: 0}
|
||||
m_Flip: {x: 0, y: 0, z: 0}
|
||||
m_UseCustomVertexStreams: 0
|
||||
m_EnableGPUInstancing: 1
|
||||
m_ApplyActiveColorSpace: 1
|
||||
m_AllowRoll: 1
|
||||
m_FreeformStretching: 0
|
||||
m_RotateWithStretchDirection: 1
|
||||
m_UseCustomVertexStreams: 0
|
||||
m_VertexStreams: 00010304
|
||||
m_UseCustomTrailVertexStreams: 0
|
||||
m_TrailVertexStreams: 00010304
|
||||
m_Mesh: {fileID: 0}
|
||||
m_Mesh1: {fileID: 0}
|
||||
m_Mesh2: {fileID: 0}
|
||||
|
|
@ -14759,13 +14763,15 @@ ParticleSystemRenderer:
|
|||
m_RenderAlignment: 3
|
||||
m_Pivot: {x: 0, y: 0, z: 0}
|
||||
m_Flip: {x: 0, y: 0, z: 0}
|
||||
m_UseCustomVertexStreams: 0
|
||||
m_EnableGPUInstancing: 1
|
||||
m_ApplyActiveColorSpace: 1
|
||||
m_AllowRoll: 1
|
||||
m_FreeformStretching: 0
|
||||
m_RotateWithStretchDirection: 1
|
||||
m_UseCustomVertexStreams: 0
|
||||
m_VertexStreams: 00010304
|
||||
m_UseCustomTrailVertexStreams: 0
|
||||
m_TrailVertexStreams: 00010304
|
||||
m_Mesh: {fileID: 0}
|
||||
m_Mesh1: {fileID: 0}
|
||||
m_Mesh2: {fileID: 0}
|
||||
|
|
@ -19675,13 +19681,15 @@ ParticleSystemRenderer:
|
|||
m_RenderAlignment: 3
|
||||
m_Pivot: {x: 0, y: 0, z: 0}
|
||||
m_Flip: {x: 0, y: 0, z: 0}
|
||||
m_UseCustomVertexStreams: 0
|
||||
m_EnableGPUInstancing: 1
|
||||
m_ApplyActiveColorSpace: 1
|
||||
m_AllowRoll: 1
|
||||
m_FreeformStretching: 0
|
||||
m_RotateWithStretchDirection: 1
|
||||
m_UseCustomVertexStreams: 0
|
||||
m_VertexStreams: 00010304
|
||||
m_UseCustomTrailVertexStreams: 0
|
||||
m_TrailVertexStreams: 00010304
|
||||
m_Mesh: {fileID: 0}
|
||||
m_Mesh1: {fileID: 0}
|
||||
m_Mesh2: {fileID: 0}
|
||||
|
|
@ -19702,9 +19710,9 @@ GameObject:
|
|||
- component: {fileID: 7706410961180048727}
|
||||
- component: {fileID: 4740347953443345374}
|
||||
- component: {fileID: 6588504100777633069}
|
||||
- component: {fileID: 649898938915075641}
|
||||
- component: {fileID: -3413770606388688639}
|
||||
- component: {fileID: -6504613686830222036}
|
||||
- component: {fileID: 6300704166952900225}
|
||||
m_Layer: 0
|
||||
m_Name: Projectiles_magic
|
||||
m_TagString: Untagged
|
||||
|
|
@ -19721,7 +19729,7 @@ Transform:
|
|||
m_GameObject: {fileID: 8407628868844321581}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalPosition: {x: 2.461, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children:
|
||||
|
|
@ -24581,13 +24589,15 @@ ParticleSystemRenderer:
|
|||
m_RenderAlignment: 0
|
||||
m_Pivot: {x: 0, y: 0, z: 0}
|
||||
m_Flip: {x: 0, y: 0, z: 0}
|
||||
m_UseCustomVertexStreams: 0
|
||||
m_EnableGPUInstancing: 1
|
||||
m_ApplyActiveColorSpace: 1
|
||||
m_AllowRoll: 1
|
||||
m_FreeformStretching: 0
|
||||
m_RotateWithStretchDirection: 1
|
||||
m_UseCustomVertexStreams: 0
|
||||
m_VertexStreams: 00010304
|
||||
m_UseCustomTrailVertexStreams: 0
|
||||
m_TrailVertexStreams: 00010304
|
||||
m_Mesh: {fileID: 0}
|
||||
m_Mesh1: {fileID: 0}
|
||||
m_Mesh2: {fileID: 0}
|
||||
|
|
@ -24597,36 +24607,6 @@ ParticleSystemRenderer:
|
|||
m_MeshWeighting2: 1
|
||||
m_MeshWeighting3: 1
|
||||
m_MaskInteraction: 0
|
||||
--- !u!114 &649898938915075641
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8407628868844321581}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 90164072e1f174490849efd1087e90eb, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
syncDirection: 0
|
||||
syncMode: 0
|
||||
syncInterval: 0
|
||||
speed: 10
|
||||
distance: 1
|
||||
lifetime: 1.4
|
||||
hitLifetime: 1
|
||||
isEnemy:
|
||||
serializedVersion: 2
|
||||
m_Bits: 384
|
||||
direction: {x: 0, y: 0, z: 0}
|
||||
shooterId: 0
|
||||
castRadius: 0.09
|
||||
hitEffectVfx: {fileID: 6750108211637369354, guid: 34f3a8b34366bc5469ddbf9e468212fa, type: 3}
|
||||
OnHit:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
isLocalp: 0
|
||||
--- !u!114 &-3413770606388688639
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
@ -24679,3 +24659,33 @@ MonoBehaviour:
|
|||
positionSensitivity: 0.01
|
||||
rotationSensitivity: 0.01
|
||||
scaleSensitivity: 0.01
|
||||
--- !u!114 &6300704166952900225
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8407628868844321581}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 90164072e1f174490849efd1087e90eb, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
syncDirection: 0
|
||||
syncMode: 0
|
||||
syncInterval: 0
|
||||
speed: 10
|
||||
distance: 1
|
||||
lifetime: 1.4
|
||||
hitLifetime: 1
|
||||
isEnemy:
|
||||
serializedVersion: 2
|
||||
m_Bits: 384
|
||||
direction: {x: 0, y: 0, z: 0}
|
||||
shooterId: 0
|
||||
castRadius: 0.09
|
||||
hitEffectVfx: {fileID: 6394855951143000011, guid: 2db29b3b6b1a8b6468716e5eb23adb30, type: 3}
|
||||
OnHit:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
isLocalp: 0
|
||||
|
|
|
|||
200
Assets/MultiplayerPrefab/arrow_01.prefab
Normal file
200
Assets/MultiplayerPrefab/arrow_01.prefab
Normal file
|
|
@ -0,0 +1,200 @@
|
|||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!1 &9092398549850995821
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1418966509310160809}
|
||||
- component: {fileID: 2647226890060513402}
|
||||
- component: {fileID: 3401507741580165612}
|
||||
m_Layer: 0
|
||||
m_Name: arrow_01
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &1418966509310160809
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 9092398549850995821}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: -17.71, y: -1.71, z: 0}
|
||||
m_LocalScale: {x: 0.85, y: 0.85, z: 0.85}
|
||||
m_ConstrainProportionsScale: 1
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!212 &2647226890060513402
|
||||
SpriteRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 9092398549850995821}
|
||||
m_Enabled: 1
|
||||
m_CastShadows: 0
|
||||
m_ReceiveShadows: 0
|
||||
m_DynamicOccludee: 1
|
||||
m_StaticShadowCaster: 0
|
||||
m_MotionVectors: 1
|
||||
m_LightProbeUsage: 1
|
||||
m_ReflectionProbeUsage: 1
|
||||
m_RayTracingMode: 0
|
||||
m_RayTraceProcedural: 0
|
||||
m_RenderingLayerMask: 1
|
||||
m_RendererPriority: 0
|
||||
m_Materials:
|
||||
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
|
||||
m_StaticBatchInfo:
|
||||
firstSubMesh: 0
|
||||
subMeshCount: 0
|
||||
m_StaticBatchRoot: {fileID: 0}
|
||||
m_ProbeAnchor: {fileID: 0}
|
||||
m_LightProbeVolumeOverride: {fileID: 0}
|
||||
m_ScaleInLightmap: 1
|
||||
m_ReceiveGI: 1
|
||||
m_PreserveUVs: 0
|
||||
m_IgnoreNormalsForChartDetection: 0
|
||||
m_ImportantGI: 0
|
||||
m_StitchLightmapSeams: 1
|
||||
m_SelectedEditorRenderState: 0
|
||||
m_MinimumChartSize: 4
|
||||
m_AutoUVMaxDistance: 0.5
|
||||
m_AutoUVMaxAngle: 89
|
||||
m_LightmapParameters: {fileID: 0}
|
||||
m_SortingLayerID: 0
|
||||
m_SortingLayer: 0
|
||||
m_SortingOrder: 0
|
||||
m_Sprite: {fileID: 21300004, guid: ab660f0b18387e24d9333cc58fabb549, type: 3}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_FlipX: 0
|
||||
m_FlipY: 0
|
||||
m_DrawMode: 0
|
||||
m_Size: {x: 1, y: 2}
|
||||
m_AdaptiveModeThreshold: 0.5
|
||||
m_SpriteTileMode: 0
|
||||
m_WasSpriteAssigned: 1
|
||||
m_MaskInteraction: 0
|
||||
m_SpriteSortPoint: 0
|
||||
--- !u!96 &3401507741580165612
|
||||
TrailRenderer:
|
||||
serializedVersion: 3
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 9092398549850995821}
|
||||
m_Enabled: 1
|
||||
m_CastShadows: 1
|
||||
m_ReceiveShadows: 1
|
||||
m_DynamicOccludee: 1
|
||||
m_StaticShadowCaster: 0
|
||||
m_MotionVectors: 0
|
||||
m_LightProbeUsage: 0
|
||||
m_ReflectionProbeUsage: 0
|
||||
m_RayTracingMode: 0
|
||||
m_RayTraceProcedural: 0
|
||||
m_RenderingLayerMask: 1
|
||||
m_RendererPriority: 0
|
||||
m_Materials:
|
||||
- {fileID: 2100000, guid: 82ac022453074ec4b0ceb14fede78422, type: 2}
|
||||
m_StaticBatchInfo:
|
||||
firstSubMesh: 0
|
||||
subMeshCount: 0
|
||||
m_StaticBatchRoot: {fileID: 0}
|
||||
m_ProbeAnchor: {fileID: 0}
|
||||
m_LightProbeVolumeOverride: {fileID: 0}
|
||||
m_ScaleInLightmap: 1
|
||||
m_ReceiveGI: 1
|
||||
m_PreserveUVs: 0
|
||||
m_IgnoreNormalsForChartDetection: 0
|
||||
m_ImportantGI: 0
|
||||
m_StitchLightmapSeams: 1
|
||||
m_SelectedEditorRenderState: 3
|
||||
m_MinimumChartSize: 4
|
||||
m_AutoUVMaxDistance: 0.5
|
||||
m_AutoUVMaxAngle: 89
|
||||
m_LightmapParameters: {fileID: 0}
|
||||
m_SortingLayerID: 0
|
||||
m_SortingLayer: 0
|
||||
m_SortingOrder: 0
|
||||
m_Time: 0.24
|
||||
m_PreviewTimeScale: 1
|
||||
m_Parameters:
|
||||
serializedVersion: 3
|
||||
widthMultiplier: 1
|
||||
widthCurve:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- serializedVersion: 3
|
||||
time: 0
|
||||
value: 0.25618047
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0.33333334
|
||||
outWeight: 0.33333334
|
||||
- serializedVersion: 3
|
||||
time: 1
|
||||
value: 0
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 0
|
||||
weightedMode: 0
|
||||
inWeight: 0
|
||||
outWeight: 0
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
m_RotationOrder: 4
|
||||
colorGradient:
|
||||
serializedVersion: 2
|
||||
key0: {r: 1, g: 1, b: 1, a: 1}
|
||||
key1: {r: 1, g: 1, b: 1, a: 1}
|
||||
key2: {r: 0, g: 0, b: 0, a: 0}
|
||||
key3: {r: 0, g: 0, b: 0, a: 0}
|
||||
key4: {r: 0, g: 0, b: 0, a: 0}
|
||||
key5: {r: 0, g: 0, b: 0, a: 0}
|
||||
key6: {r: 0, g: 0, b: 0, a: 0}
|
||||
key7: {r: 0, g: 0, b: 0, a: 0}
|
||||
ctime0: 0
|
||||
ctime1: 65535
|
||||
ctime2: 0
|
||||
ctime3: 0
|
||||
ctime4: 0
|
||||
ctime5: 0
|
||||
ctime6: 0
|
||||
ctime7: 0
|
||||
atime0: 0
|
||||
atime1: 65535
|
||||
atime2: 0
|
||||
atime3: 0
|
||||
atime4: 0
|
||||
atime5: 0
|
||||
atime6: 0
|
||||
atime7: 0
|
||||
m_Mode: 0
|
||||
m_ColorSpace: -1
|
||||
m_NumColorKeys: 2
|
||||
m_NumAlphaKeys: 2
|
||||
numCornerVertices: 0
|
||||
numCapVertices: 0
|
||||
alignment: 0
|
||||
textureMode: 0
|
||||
textureScale: {x: 1, y: 1}
|
||||
shadowBias: 0.5
|
||||
generateLightingData: 0
|
||||
m_MinVertexDistance: 0.1
|
||||
m_MaskInteraction: 0
|
||||
m_Autodestruct: 0
|
||||
m_Emitting: 1
|
||||
m_ApplyActiveColorSpace: 1
|
||||
7
Assets/MultiplayerPrefab/arrow_01.prefab.meta
Normal file
7
Assets/MultiplayerPrefab/arrow_01.prefab.meta
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 0c1754fc3ceea46589a8f29820b2130f
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
|
|
@ -868,7 +868,7 @@ RectTransform:
|
|||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 1, y: 0}
|
||||
m_AnchorMax: {x: 1, y: 0}
|
||||
m_AnchoredPosition: {x: -87.06995, y: 221.20001}
|
||||
m_AnchoredPosition: {x: -135.39996, y: 197.80002}
|
||||
m_SizeDelta: {x: 80.10321, y: 70.601}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &2703779669846059411
|
||||
|
|
@ -2782,6 +2782,38 @@ MonoBehaviour:
|
|||
m_StringArgument:
|
||||
m_BoolArgument: 0
|
||||
m_CallState: 2
|
||||
--- !u!1 &909838470894403208
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 6536042509376752811}
|
||||
m_Layer: 6
|
||||
m_Name: etc
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &6536042509376752811
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 909838470894403208}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children:
|
||||
- {fileID: 5246544435235397805}
|
||||
m_Father: {fileID: 4537453342636086539}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &931847196536547551
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
@ -3723,6 +3755,90 @@ MonoBehaviour:
|
|||
m_EditorClassIdentifier:
|
||||
SpriteName: LeftFingersR
|
||||
SpriteNameFallback: []
|
||||
--- !u!1 &1232381882693835252
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 5246544435235397805}
|
||||
- component: {fileID: 1386363677319526785}
|
||||
m_Layer: 6
|
||||
m_Name: lock_indicator
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &5246544435235397805
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1232381882693835252}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 0.5, y: 0.5, z: 0.5}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 6536042509376752811}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!212 &1386363677319526785
|
||||
SpriteRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1232381882693835252}
|
||||
m_Enabled: 1
|
||||
m_CastShadows: 0
|
||||
m_ReceiveShadows: 0
|
||||
m_DynamicOccludee: 1
|
||||
m_StaticShadowCaster: 0
|
||||
m_MotionVectors: 1
|
||||
m_LightProbeUsage: 1
|
||||
m_ReflectionProbeUsage: 1
|
||||
m_RayTracingMode: 0
|
||||
m_RayTraceProcedural: 0
|
||||
m_RenderingLayerMask: 1
|
||||
m_RendererPriority: 0
|
||||
m_Materials:
|
||||
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
|
||||
m_StaticBatchInfo:
|
||||
firstSubMesh: 0
|
||||
subMeshCount: 0
|
||||
m_StaticBatchRoot: {fileID: 0}
|
||||
m_ProbeAnchor: {fileID: 0}
|
||||
m_LightProbeVolumeOverride: {fileID: 0}
|
||||
m_ScaleInLightmap: 1
|
||||
m_ReceiveGI: 1
|
||||
m_PreserveUVs: 0
|
||||
m_IgnoreNormalsForChartDetection: 0
|
||||
m_ImportantGI: 0
|
||||
m_StitchLightmapSeams: 1
|
||||
m_SelectedEditorRenderState: 0
|
||||
m_MinimumChartSize: 4
|
||||
m_AutoUVMaxDistance: 0.5
|
||||
m_AutoUVMaxAngle: 89
|
||||
m_LightmapParameters: {fileID: 0}
|
||||
m_SortingLayerID: 0
|
||||
m_SortingLayer: 0
|
||||
m_SortingOrder: 0
|
||||
m_Sprite: {fileID: 21300000, guid: 08cfb037bd1274b5d80f887dca59e7d1, type: 3}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_FlipX: 0
|
||||
m_FlipY: 0
|
||||
m_DrawMode: 0
|
||||
m_Size: {x: 1, y: 1}
|
||||
m_AdaptiveModeThreshold: 0.5
|
||||
m_SpriteTileMode: 0
|
||||
m_WasSpriteAssigned: 1
|
||||
m_MaskInteraction: 0
|
||||
m_SpriteSortPoint: 0
|
||||
--- !u!1 &1257484256211023326
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
@ -5397,6 +5513,7 @@ RectTransform:
|
|||
- {fileID: 511407495820869468}
|
||||
- {fileID: 8539766213593785495}
|
||||
- {fileID: 7776699347920073961}
|
||||
- {fileID: 2217170755868418007}
|
||||
- {fileID: 2553109224379760801}
|
||||
- {fileID: 2698763411513524788}
|
||||
- {fileID: 239405440975603101}
|
||||
|
|
@ -8613,6 +8730,8 @@ GameObject:
|
|||
- component: {fileID: 7345234694237798538}
|
||||
- component: {fileID: 4038465079855734241}
|
||||
- component: {fileID: 8467529766004398542}
|
||||
- component: {fileID: 3738231281801805719}
|
||||
- component: {fileID: 7369580971659752513}
|
||||
m_Layer: 6
|
||||
m_Name: char1
|
||||
m_TagString: Player
|
||||
|
|
@ -8639,6 +8758,7 @@ Transform:
|
|||
- {fileID: 6634559944325329787}
|
||||
- {fileID: 7125741257416083047}
|
||||
- {fileID: 2777675283947947790}
|
||||
- {fileID: 6536042509376752811}
|
||||
m_Father: {fileID: 0}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!114 &869066724641217089
|
||||
|
|
@ -9136,10 +9256,16 @@ MonoBehaviour:
|
|||
questActions: []
|
||||
completedQuests: []
|
||||
projectile: {fileID: 8407628868844321581, guid: 845dd5352c7714440a8d537e79b36ed1, type: 3}
|
||||
arrowRange: {fileID: 9092398549850995821, guid: 0c1754fc3ceea46589a8f29820b2130f, type: 3}
|
||||
selectedCharacterJson:
|
||||
isLoaded: 0
|
||||
playerAttack: {fileID: 0}
|
||||
isDead: 0
|
||||
arrowSpeed: 10
|
||||
arrowShootOffset: 0.05
|
||||
arrowShootHeightOffset: 0.35
|
||||
arrowDelay: 0.26
|
||||
RangeDmg: 25
|
||||
MagicAttackWeaponIndex: 52
|
||||
--- !u!114 &436175964407393514
|
||||
MonoBehaviour:
|
||||
|
|
@ -9191,6 +9317,7 @@ MonoBehaviour:
|
|||
back: {fileID: 2529282586476532397}
|
||||
left: {fileID: 2724415795594205761}
|
||||
right: {fileID: 31086503047852320}
|
||||
bowIndex: 0
|
||||
--- !u!114 &4038465079855734241
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
@ -9224,6 +9351,45 @@ MonoBehaviour:
|
|||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
character: {fileID: 6938941000042972233}
|
||||
--- !u!114 &3738231281801805719
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2490452063158718957}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: fdca2649edb8b4c0184a4d565a4fafa7, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
radius: 10
|
||||
enemies: []
|
||||
lockIndicator: {fileID: 5246544435235397805}
|
||||
targetEnemy: {fileID: 0}
|
||||
--- !u!114 &7369580971659752513
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2490452063158718957}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 70edc540d209b4c1986b66ad9fa14056, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
attackBtns:
|
||||
- {fileID: 8738535018645667775}
|
||||
- {fileID: 239873713995581627}
|
||||
- {fileID: 6348874208410103260}
|
||||
selectedCharacter:
|
||||
characterDataScriptable:
|
||||
- {fileID: 11400000, guid: deff44f8d79e4439f9c9f053addb6bca, type: 2}
|
||||
- {fileID: 11400000, guid: 322b12d37d123452199367cb774ea46d, type: 2}
|
||||
- {fileID: 11400000, guid: 3e5e502c0d27e4934bb5e4f028da7bae, type: 2}
|
||||
character4D: {fileID: 6938941000042972233}
|
||||
currentJson:
|
||||
--- !u!1 &2496517864824674819
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
@ -11168,6 +11334,81 @@ RectTransform:
|
|||
m_AnchoredPosition: {x: 158.67969, y: -50}
|
||||
m_SizeDelta: {x: 317.36, y: 100}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!1 &2820900054827342840
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1143981343366731199}
|
||||
- component: {fileID: 607226017827099894}
|
||||
- component: {fileID: 2088682507024097825}
|
||||
m_Layer: 6
|
||||
m_Name: circle
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &1143981343366731199
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2820900054827342840}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 2217170755868418007}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||
m_AnchoredPosition: {x: 0.0000076294, y: 0.0000023842}
|
||||
m_SizeDelta: {x: 110, y: 110}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &607226017827099894
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2820900054827342840}
|
||||
m_CullTransparentMesh: 1
|
||||
--- !u!114 &2088682507024097825
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2820900054827342840}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Material: {fileID: 0}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_RaycastTarget: 1
|
||||
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||
m_Maskable: 1
|
||||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_Sprite: {fileID: 21300000, guid: 701d43673de4646f69d0df768c93cfe3, type: 3}
|
||||
m_Type: 0
|
||||
m_PreserveAspect: 0
|
||||
m_FillCenter: 1
|
||||
m_FillMethod: 4
|
||||
m_FillAmount: 1
|
||||
m_FillClockwise: 1
|
||||
m_FillOrigin: 0
|
||||
m_UseSpriteMesh: 0
|
||||
m_PixelsPerUnitMultiplier: 1
|
||||
--- !u!1 &2852538066588846704
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
@ -25345,6 +25586,139 @@ Transform:
|
|||
- {fileID: 4018138393366159648}
|
||||
m_Father: {fileID: 6939911377247069020}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &6348874208410103260
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 2217170755868418007}
|
||||
- component: {fileID: 2895252731979893585}
|
||||
- component: {fileID: 1842406290194168640}
|
||||
- component: {fileID: 3641715767696130737}
|
||||
m_Layer: 6
|
||||
m_Name: RangeBtn
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &2217170755868418007
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6348874208410103260}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children:
|
||||
- {fileID: 1143981343366731199}
|
||||
m_Father: {fileID: 2292226162926766732}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 1, y: 0}
|
||||
m_AnchorMax: {x: 1, y: 0}
|
||||
m_AnchoredPosition: {x: -135.40002, y: 197.8}
|
||||
m_SizeDelta: {x: 120, y: 120}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &2895252731979893585
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6348874208410103260}
|
||||
m_CullTransparentMesh: 1
|
||||
--- !u!114 &1842406290194168640
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6348874208410103260}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Material: {fileID: 0}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_RaycastTarget: 1
|
||||
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||
m_Maskable: 1
|
||||
m_OnCullStateChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_Sprite: {fileID: 21300000, guid: 7ff0dce571ecfcf45a7a087dfd1c2ede, type: 3}
|
||||
m_Type: 0
|
||||
m_PreserveAspect: 0
|
||||
m_FillCenter: 1
|
||||
m_FillMethod: 4
|
||||
m_FillAmount: 1
|
||||
m_FillClockwise: 1
|
||||
m_FillOrigin: 0
|
||||
m_UseSpriteMesh: 0
|
||||
m_PixelsPerUnitMultiplier: 1
|
||||
--- !u!114 &3641715767696130737
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6348874208410103260}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Navigation:
|
||||
m_Mode: 3
|
||||
m_WrapAround: 0
|
||||
m_SelectOnUp: {fileID: 0}
|
||||
m_SelectOnDown: {fileID: 0}
|
||||
m_SelectOnLeft: {fileID: 0}
|
||||
m_SelectOnRight: {fileID: 0}
|
||||
m_Transition: 1
|
||||
m_Colors:
|
||||
m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_HighlightedColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_PressedColor: {r: 0.9622642, g: 0.5310609, b: 0.5310609, a: 0.34117648}
|
||||
m_SelectedColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_DisabledColor: {r: 1, g: 1, b: 1, a: 0.5019608}
|
||||
m_ColorMultiplier: 1
|
||||
m_FadeDuration: 0.1
|
||||
m_SpriteState:
|
||||
m_HighlightedSprite: {fileID: 0}
|
||||
m_PressedSprite: {fileID: 0}
|
||||
m_SelectedSprite: {fileID: 0}
|
||||
m_DisabledSprite: {fileID: 0}
|
||||
m_AnimationTriggers:
|
||||
m_NormalTrigger: Normal
|
||||
m_HighlightedTrigger: Highlighted
|
||||
m_PressedTrigger: Pressed
|
||||
m_SelectedTrigger: Selected
|
||||
m_DisabledTrigger: Disabled
|
||||
m_Interactable: 1
|
||||
m_TargetGraphic: {fileID: 1842406290194168640}
|
||||
m_OnClick:
|
||||
m_PersistentCalls:
|
||||
m_Calls:
|
||||
- m_Target: {fileID: 3490052650544955176}
|
||||
m_TargetAssemblyTypeName: playerNetwork, Assembly-CSharp
|
||||
m_MethodName: OnRangeAttack
|
||||
m_Mode: 1
|
||||
m_Arguments:
|
||||
m_ObjectArgument: {fileID: 0}
|
||||
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
|
||||
m_IntArgument: 0
|
||||
m_FloatArgument: 0
|
||||
m_StringArgument:
|
||||
m_BoolArgument: 0
|
||||
m_CallState: 2
|
||||
--- !u!1 &6366144995708953912
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
@ -27877,8 +28251,8 @@ MonoBehaviour:
|
|||
m_EditorClassIdentifier:
|
||||
stats:
|
||||
- name: intelligence
|
||||
baseValue: 0
|
||||
incrementalValue: 10
|
||||
baseValue: 1
|
||||
incrementalValue: 2
|
||||
statText: {fileID: 466129903040823078}
|
||||
- name: strength
|
||||
baseValue: 10
|
||||
|
|
@ -36041,7 +36415,7 @@ RectTransform:
|
|||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 1, y: 0}
|
||||
m_AnchorMax: {x: 1, y: 0}
|
||||
m_AnchoredPosition: {x: -192, y: 148}
|
||||
m_AnchoredPosition: {x: -135.4, y: 197.8}
|
||||
m_SizeDelta: {x: 100, y: 100}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &8701831888179238687
|
||||
|
|
|
|||
BIN
Assets/Resources/.DS_Store
vendored
BIN
Assets/Resources/.DS_Store
vendored
Binary file not shown.
8
Assets/Resources/CharacterData.meta
Normal file
8
Assets/Resources/CharacterData.meta
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 3aa51e336b79140389e2ba7d16e3214b
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
16
Assets/Resources/CharacterData/character1.asset
Normal file
16
Assets/Resources/CharacterData/character1.asset
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 2b7d6ca0a7bac48388c4c141a7548d78, type: 3}
|
||||
m_Name: character1
|
||||
m_EditorClassIdentifier:
|
||||
jsonCharData: '{"Body":"Common.Basic.Body.HumanPants#FFDDACFF","Ears":"Common.Basic.Ears.Human#FFC878FF","Hair":"Common.Basic.Hair.Default","Beard":null,"Helmet":null,"Armor":"FantasyHeroes.Basic.Armor.BanditArmor,FantasyHeroes.Basic.Armor.BanditArmor,FantasyHeroes.Basic.Armor.BanditArmor,FantasyHeroes.Basic.Armor.BanditArmor,FantasyHeroes.Basic.Armor.BanditArmor,FantasyHeroes.Basic.Armor.BanditArmor,FantasyHeroes.Basic.Armor.BanditArmor,FantasyHeroes.Basic.Armor.BanditArmor,FantasyHeroes.Basic.Armor.BanditArmor","Backpack":null,"Shield":null,"WeaponType":"Melee2H","Expression":"Default","HideEars":"False","CropHair":"False","Makeup":null,"Mask":null,"Earrings":null,"PrimaryWeapon":"FantasyHeroes.Basic.MeleeWeapon2H.BastardSword","Expression.Default.Eyebrows":"Common.Basic.Eyebrows.Default","Expression.Default.Eyes":"Common.Basic.Eyes.Boy#00C8FFFF","Expression.Default.EyesColor":"#00C8FFFF","Expression.Default.Mouth":"Common.Basic.Mouth.Default","Expression.Angry.Eyebrows":"Common.Emoji.Eyebrows.AngryEyebrows","Expression.Angry.Eyes":"Common.Emoji.Eyes.AngryEyes3#00C8FFFF","Expression.Angry.EyesColor":"#00C8FFFF","Expression.Angry.Mouth":"Common.Emoji.Mouth.AngryMouth1","Expression.Dead.Eyebrows":"Common.Emoji.Eyebrows.DeadEyebrows1","Expression.Dead.Eyes":"Common.Emoji.Eyes.DeadEyes4#00C8FFFF","Expression.Dead.EyesColor":"#00C8FFFF","Expression.Dead.Mouth":"Common.Emoji.Mouth.DeadMouth4","Expression.Happy.Eyebrows":"Common.Emoji.Eyebrows.DeadEyebrows1","Expression.Happy.Eyes":"Common.Emoji.Eyes.HappyEyes#00C8FFFF","Expression.Happy.EyesColor":"#00C8FFFF","Expression.Happy.Mouth":"Common.Basic.Mouth.Smirk"}'
|
||||
charName: attack
|
||||
8
Assets/Resources/CharacterData/character1.asset.meta
Normal file
8
Assets/Resources/CharacterData/character1.asset.meta
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: deff44f8d79e4439f9c9f053addb6bca
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
16
Assets/Resources/CharacterData/character2.asset
Normal file
16
Assets/Resources/CharacterData/character2.asset
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 2b7d6ca0a7bac48388c4c141a7548d78, type: 3}
|
||||
m_Name: character2
|
||||
m_EditorClassIdentifier:
|
||||
jsonCharData: '{"Body":"Common.Basic.Body.Human#FFC878FF","Ears":"Common.Basic.Ears.Human#FFC878FF","Hair":"Common.Basic.Hair.Default","Beard":null,"Helmet":"FantasyHeroes.Basic.Armor.AdvancedWizardRobe","Armor":"FantasyHeroes.Basic.Armor.AdvancedWizardRobe,FantasyHeroes.Basic.Armor.AdvancedWizardRobe,FantasyHeroes.Basic.Armor.AdvancedWizardRobe,FantasyHeroes.Basic.Armor.AdvancedWizardRobe,FantasyHeroes.Basic.Armor.AdvancedWizardRobe,FantasyHeroes.Basic.Armor.AdvancedWizardRobe,FantasyHeroes.Basic.Armor.AdvancedWizardRobe,FantasyHeroes.Basic.Armor.AdvancedWizardRobe,FantasyHeroes.Basic.Armor.AdvancedWizardRobe","Backpack":null,"Shield":null,"WeaponType":"Melee1H","Expression":"Default","HideEars":"False","CropHair":"False","Makeup":null,"Mask":null,"Earrings":null,"PrimaryWeapon":"FantasyHeroes.Basic.MeleeWeapon1H.FireMageWand","Expression.Default.Eyebrows":"Common.Basic.Eyebrows.Default","Expression.Default.Eyes":"Common.Basic.Eyes.Girl04#00C8FFFF","Expression.Default.EyesColor":"#00C8FFFF","Expression.Default.Mouth":"Common.Basic.Mouth.Default","Expression.Angry.Eyebrows":"Common.Emoji.Eyebrows.AngryEyebrows","Expression.Angry.Eyes":"Common.Emoji.Eyes.AngryEyes3#00C8FFFF","Expression.Angry.EyesColor":"#00C8FFFF","Expression.Angry.Mouth":"Common.Emoji.Mouth.AngryMouth1","Expression.Dead.Eyebrows":"Common.Emoji.Eyebrows.DeadEyebrows1","Expression.Dead.Eyes":"Common.Emoji.Eyes.DeadEyes4#00C8FFFF","Expression.Dead.EyesColor":"#00C8FFFF","Expression.Dead.Mouth":"Common.Emoji.Mouth.DeadMouth4","Expression.Happy.Eyebrows":"Common.Emoji.Eyebrows.DeadEyebrows1","Expression.Happy.Eyes":"Common.Emoji.Eyes.HappyEyes#00C8FFFF","Expression.Happy.EyesColor":"#00C8FFFF","Expression.Happy.Mouth":"Common.Basic.Mouth.Smirk"}'
|
||||
charName: mage
|
||||
8
Assets/Resources/CharacterData/character2.asset.meta
Normal file
8
Assets/Resources/CharacterData/character2.asset.meta
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 322b12d37d123452199367cb774ea46d
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
16
Assets/Resources/CharacterData/character3.asset
Normal file
16
Assets/Resources/CharacterData/character3.asset
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 2b7d6ca0a7bac48388c4c141a7548d78, type: 3}
|
||||
m_Name: character3
|
||||
m_EditorClassIdentifier:
|
||||
jsonCharData: '{"Body":"Common.Basic.Body.Human#FFC878FF","Ears":null,"Hair":"Common.Basic.Hair.Default","Beard":null,"Helmet":"FantasyHeroes.Basic.Armor.FurryRobe","Armor":"FantasyHeroes.Basic.Armor.LightWolfArmor,FantasyHeroes.Basic.Armor.FurryRobe,FantasyHeroes.Basic.Armor.FurryRobe,FantasyHeroes.Basic.Armor.FurryRobe,FantasyHeroes.Basic.Armor.FurryRobe,FantasyHeroes.Basic.Armor.FurryRobe,FantasyHeroes.Basic.Armor.FurryRobe,FantasyHeroes.Basic.Armor.GuardArmor,FantasyHeroes.Basic.Armor.GuardArmor","Backpack":null,"Shield":null,"WeaponType":"Bow","Expression":"Default","HideEars":"True","CropHair":"False","Makeup":null,"Mask":null,"Earrings":null,"Bow":"FantasyHeroes.Basic.Bow.LongBow","Expression.Default.Eyebrows":"Common.Basic.Eyebrows.Default","Expression.Default.Eyes":"Common.Basic.Eyes.Boy#00C8FFFF","Expression.Default.EyesColor":"#00C8FFFF","Expression.Default.Mouth":"Common.Basic.Mouth.Default","Expression.Angry.Eyebrows":"Common.Emoji.Eyebrows.AngryEyebrows","Expression.Angry.Eyes":"Common.Emoji.Eyes.AngryEyes3#00C8FFFF","Expression.Angry.EyesColor":"#00C8FFFF","Expression.Angry.Mouth":"Common.Emoji.Mouth.AngryMouth1","Expression.Dead.Eyebrows":"Common.Emoji.Eyebrows.DeadEyebrows1","Expression.Dead.Eyes":"Common.Emoji.Eyes.DeadEyes4#00C8FFFF","Expression.Dead.EyesColor":"#00C8FFFF","Expression.Dead.Mouth":"Common.Emoji.Mouth.DeadMouth4","Expression.Happy.Eyebrows":"Common.Emoji.Eyebrows.DeadEyebrows1","Expression.Happy.Eyes":"Common.Emoji.Eyes.HappyEyes#00C8FFFF","Expression.Happy.EyesColor":"#00C8FFFF","Expression.Happy.Mouth":"Common.Basic.Mouth.Smirk"}'
|
||||
charName: range
|
||||
8
Assets/Resources/CharacterData/character3.asset.meta
Normal file
8
Assets/Resources/CharacterData/character3.asset.meta
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 3e5e502c0d27e4934bb5e4f028da7bae
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
|
|
@ -38,7 +38,6 @@ RenderSettings:
|
|||
m_ReflectionIntensity: 1
|
||||
m_CustomReflection: {fileID: 0}
|
||||
m_Sun: {fileID: 0}
|
||||
m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
m_UseRadianceAmbientProbe: 0
|
||||
--- !u!157 &3
|
||||
LightmapSettings:
|
||||
|
|
@ -7704,7 +7703,7 @@ TilemapRenderer:
|
|||
m_RenderingLayerMask: 1
|
||||
m_RendererPriority: 0
|
||||
m_Materials:
|
||||
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
|
||||
- {fileID: 2100000, guid: 4d6224602428740d1bdf7d13120a65f0, type: 2}
|
||||
m_StaticBatchInfo:
|
||||
firstSubMesh: 0
|
||||
subMeshCount: 0
|
||||
|
|
@ -248562,7 +248561,7 @@ MonoBehaviour:
|
|||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1650164939}
|
||||
m_Enabled: 0
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 6442dc8070ceb41f094e44de0bf87274, type: 3}
|
||||
m_Name:
|
||||
|
|
@ -248576,7 +248575,7 @@ MonoBehaviour:
|
|||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1650164939}
|
||||
m_Enabled: 1
|
||||
m_Enabled: 0
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: d3a46f3965e4c4fca9282d03e7c4ecf9, type: 3}
|
||||
m_Name:
|
||||
|
|
@ -327931,13 +327930,15 @@ ParticleSystemRenderer:
|
|||
m_RenderAlignment: 0
|
||||
m_Pivot: {x: 0, y: 0.3, z: 0}
|
||||
m_Flip: {x: 0, y: 0, z: 0}
|
||||
m_UseCustomVertexStreams: 0
|
||||
m_EnableGPUInstancing: 1
|
||||
m_ApplyActiveColorSpace: 1
|
||||
m_AllowRoll: 1
|
||||
m_FreeformStretching: 0
|
||||
m_RotateWithStretchDirection: 1
|
||||
m_UseCustomVertexStreams: 0
|
||||
m_VertexStreams: 00010304
|
||||
m_UseCustomTrailVertexStreams: 0
|
||||
m_TrailVertexStreams: 00010304
|
||||
m_Mesh: {fileID: 0}
|
||||
m_Mesh1: {fileID: 0}
|
||||
m_Mesh2: {fileID: 0}
|
||||
|
|
@ -328021,13 +328022,15 @@ ParticleSystemRenderer:
|
|||
m_RenderAlignment: 0
|
||||
m_Pivot: {x: 0, y: 0, z: 0}
|
||||
m_Flip: {x: 0, y: 0, z: 0}
|
||||
m_UseCustomVertexStreams: 0
|
||||
m_EnableGPUInstancing: 1
|
||||
m_ApplyActiveColorSpace: 1
|
||||
m_AllowRoll: 1
|
||||
m_FreeformStretching: 0
|
||||
m_RotateWithStretchDirection: 1
|
||||
m_UseCustomVertexStreams: 0
|
||||
m_VertexStreams: 00010304
|
||||
m_UseCustomTrailVertexStreams: 0
|
||||
m_TrailVertexStreams: 00010304
|
||||
m_Mesh: {fileID: 0}
|
||||
m_Mesh1: {fileID: 0}
|
||||
m_Mesh2: {fileID: 0}
|
||||
|
|
@ -460411,13 +460414,15 @@ ParticleSystemRenderer:
|
|||
m_RenderAlignment: 0
|
||||
m_Pivot: {x: 0, y: 0, z: 0}
|
||||
m_Flip: {x: 0, y: 0, z: 0}
|
||||
m_UseCustomVertexStreams: 0
|
||||
m_EnableGPUInstancing: 1
|
||||
m_ApplyActiveColorSpace: 1
|
||||
m_AllowRoll: 1
|
||||
m_FreeformStretching: 0
|
||||
m_RotateWithStretchDirection: 1
|
||||
m_UseCustomVertexStreams: 0
|
||||
m_VertexStreams: 00010304
|
||||
m_UseCustomTrailVertexStreams: 0
|
||||
m_TrailVertexStreams: 00010304
|
||||
m_Mesh: {fileID: -7909654892493620595, guid: cd20e8790f3e4884ca3c74989aa84a83, type: 3}
|
||||
m_Mesh1: {fileID: 0}
|
||||
m_Mesh2: {fileID: 0}
|
||||
|
|
@ -591667,13 +591672,15 @@ ParticleSystemRenderer:
|
|||
m_RenderAlignment: 2
|
||||
m_Pivot: {x: 0, y: 0, z: 0}
|
||||
m_Flip: {x: 0, y: 0, z: 0}
|
||||
m_UseCustomVertexStreams: 0
|
||||
m_EnableGPUInstancing: 1
|
||||
m_ApplyActiveColorSpace: 1
|
||||
m_AllowRoll: 1
|
||||
m_FreeformStretching: 0
|
||||
m_RotateWithStretchDirection: 1
|
||||
m_UseCustomVertexStreams: 0
|
||||
m_VertexStreams: 00010304
|
||||
m_UseCustomTrailVertexStreams: 0
|
||||
m_TrailVertexStreams: 00010304
|
||||
m_Mesh: {fileID: 0}
|
||||
m_Mesh1: {fileID: 0}
|
||||
m_Mesh2: {fileID: 0}
|
||||
|
|
@ -642707,13 +642714,15 @@ ParticleSystemRenderer:
|
|||
m_RenderAlignment: 0
|
||||
m_Pivot: {x: 0, y: 4.34, z: 0}
|
||||
m_Flip: {x: 0, y: 0, z: 0}
|
||||
m_UseCustomVertexStreams: 0
|
||||
m_EnableGPUInstancing: 1
|
||||
m_ApplyActiveColorSpace: 1
|
||||
m_AllowRoll: 1
|
||||
m_FreeformStretching: 0
|
||||
m_RotateWithStretchDirection: 1
|
||||
m_UseCustomVertexStreams: 0
|
||||
m_VertexStreams: 00010304
|
||||
m_UseCustomTrailVertexStreams: 0
|
||||
m_TrailVertexStreams: 00010304
|
||||
m_Mesh: {fileID: 0}
|
||||
m_Mesh1: {fileID: 0}
|
||||
m_Mesh2: {fileID: 0}
|
||||
|
|
@ -643919,13 +643928,15 @@ ParticleSystemRenderer:
|
|||
m_RenderAlignment: 0
|
||||
m_Pivot: {x: 0, y: 0, z: 0}
|
||||
m_Flip: {x: 0, y: 0, z: 0}
|
||||
m_UseCustomVertexStreams: 0
|
||||
m_EnableGPUInstancing: 1
|
||||
m_ApplyActiveColorSpace: 1
|
||||
m_AllowRoll: 1
|
||||
m_FreeformStretching: 0
|
||||
m_RotateWithStretchDirection: 1
|
||||
m_UseCustomVertexStreams: 0
|
||||
m_VertexStreams: 00010304
|
||||
m_UseCustomTrailVertexStreams: 0
|
||||
m_TrailVertexStreams: 00010304
|
||||
m_Mesh: {fileID: 0}
|
||||
m_Mesh1: {fileID: 0}
|
||||
m_Mesh2: {fileID: 0}
|
||||
|
|
@ -659563,13 +659574,15 @@ ParticleSystemRenderer:
|
|||
m_RenderAlignment: 2
|
||||
m_Pivot: {x: 0, y: 0, z: 0}
|
||||
m_Flip: {x: 0, y: 0, z: 0}
|
||||
m_UseCustomVertexStreams: 0
|
||||
m_EnableGPUInstancing: 1
|
||||
m_ApplyActiveColorSpace: 1
|
||||
m_AllowRoll: 1
|
||||
m_FreeformStretching: 0
|
||||
m_RotateWithStretchDirection: 1
|
||||
m_UseCustomVertexStreams: 0
|
||||
m_VertexStreams: 00010304
|
||||
m_UseCustomTrailVertexStreams: 0
|
||||
m_TrailVertexStreams: 00010304
|
||||
m_Mesh: {fileID: 0}
|
||||
m_Mesh1: {fileID: 0}
|
||||
m_Mesh2: {fileID: 0}
|
||||
|
|
@ -659650,13 +659663,15 @@ ParticleSystemRenderer:
|
|||
m_RenderAlignment: 0
|
||||
m_Pivot: {x: 0, y: 0, z: 0}
|
||||
m_Flip: {x: 0, y: 0, z: 0}
|
||||
m_UseCustomVertexStreams: 0
|
||||
m_EnableGPUInstancing: 1
|
||||
m_ApplyActiveColorSpace: 1
|
||||
m_AllowRoll: 1
|
||||
m_FreeformStretching: 0
|
||||
m_RotateWithStretchDirection: 1
|
||||
m_UseCustomVertexStreams: 0
|
||||
m_VertexStreams: 00010304
|
||||
m_UseCustomTrailVertexStreams: 0
|
||||
m_TrailVertexStreams: 00010304
|
||||
m_Mesh: {fileID: 0}
|
||||
m_Mesh1: {fileID: 0}
|
||||
m_Mesh2: {fileID: 0}
|
||||
|
|
@ -695032,13 +695047,15 @@ ParticleSystemRenderer:
|
|||
m_RenderAlignment: 0
|
||||
m_Pivot: {x: 0, y: 0, z: 0}
|
||||
m_Flip: {x: 0, y: 0, z: 0}
|
||||
m_UseCustomVertexStreams: 0
|
||||
m_EnableGPUInstancing: 0
|
||||
m_ApplyActiveColorSpace: 1
|
||||
m_AllowRoll: 1
|
||||
m_FreeformStretching: 0
|
||||
m_RotateWithStretchDirection: 1
|
||||
m_UseCustomVertexStreams: 0
|
||||
m_VertexStreams: 0001030405
|
||||
m_UseCustomTrailVertexStreams: 0
|
||||
m_TrailVertexStreams: 00010304
|
||||
m_Mesh: {fileID: 0}
|
||||
m_Mesh1: {fileID: 0}
|
||||
m_Mesh2: {fileID: 0}
|
||||
|
|
@ -695104,13 +695121,15 @@ ParticleSystemRenderer:
|
|||
m_RenderAlignment: 0
|
||||
m_Pivot: {x: 0, y: 0, z: 0}
|
||||
m_Flip: {x: 0, y: 0, z: 0}
|
||||
m_UseCustomVertexStreams: 0
|
||||
m_EnableGPUInstancing: 0
|
||||
m_ApplyActiveColorSpace: 1
|
||||
m_AllowRoll: 1
|
||||
m_FreeformStretching: 0
|
||||
m_RotateWithStretchDirection: 1
|
||||
m_UseCustomVertexStreams: 0
|
||||
m_VertexStreams: 0001030405
|
||||
m_UseCustomTrailVertexStreams: 0
|
||||
m_TrailVertexStreams: 00010304
|
||||
m_Mesh: {fileID: 0}
|
||||
m_Mesh1: {fileID: 0}
|
||||
m_Mesh2: {fileID: 0}
|
||||
|
|
@ -710406,13 +710425,15 @@ ParticleSystemRenderer:
|
|||
m_RenderAlignment: 2
|
||||
m_Pivot: {x: 0, y: 0, z: 0}
|
||||
m_Flip: {x: 0, y: 0, z: 0}
|
||||
m_UseCustomVertexStreams: 0
|
||||
m_EnableGPUInstancing: 1
|
||||
m_ApplyActiveColorSpace: 1
|
||||
m_AllowRoll: 1
|
||||
m_FreeformStretching: 0
|
||||
m_RotateWithStretchDirection: 1
|
||||
m_UseCustomVertexStreams: 0
|
||||
m_VertexStreams: 00010304
|
||||
m_UseCustomTrailVertexStreams: 0
|
||||
m_TrailVertexStreams: 00010304
|
||||
m_Mesh: {fileID: 0}
|
||||
m_Mesh1: {fileID: 0}
|
||||
m_Mesh2: {fileID: 0}
|
||||
|
|
@ -720229,13 +720250,15 @@ ParticleSystemRenderer:
|
|||
m_RenderAlignment: 2
|
||||
m_Pivot: {x: 0, y: 0, z: 0}
|
||||
m_Flip: {x: 0, y: 0, z: 0}
|
||||
m_UseCustomVertexStreams: 0
|
||||
m_EnableGPUInstancing: 1
|
||||
m_ApplyActiveColorSpace: 1
|
||||
m_AllowRoll: 1
|
||||
m_FreeformStretching: 0
|
||||
m_RotateWithStretchDirection: 1
|
||||
m_UseCustomVertexStreams: 0
|
||||
m_VertexStreams: 00010304
|
||||
m_UseCustomTrailVertexStreams: 0
|
||||
m_TrailVertexStreams: 00010304
|
||||
m_Mesh: {fileID: 0}
|
||||
m_Mesh1: {fileID: 0}
|
||||
m_Mesh2: {fileID: 0}
|
||||
|
|
@ -720320,13 +720343,15 @@ ParticleSystemRenderer:
|
|||
m_RenderAlignment: 2
|
||||
m_Pivot: {x: 0, y: 0, z: 0}
|
||||
m_Flip: {x: 0, y: 0, z: 0}
|
||||
m_UseCustomVertexStreams: 0
|
||||
m_EnableGPUInstancing: 1
|
||||
m_ApplyActiveColorSpace: 1
|
||||
m_AllowRoll: 1
|
||||
m_FreeformStretching: 0
|
||||
m_RotateWithStretchDirection: 1
|
||||
m_UseCustomVertexStreams: 0
|
||||
m_VertexStreams: 00010304
|
||||
m_UseCustomTrailVertexStreams: 0
|
||||
m_TrailVertexStreams: 00010304
|
||||
m_Mesh: {fileID: 0}
|
||||
m_Mesh1: {fileID: 0}
|
||||
m_Mesh2: {fileID: 0}
|
||||
|
|
@ -726718,13 +726743,15 @@ ParticleSystemRenderer:
|
|||
m_RenderAlignment: 0
|
||||
m_Pivot: {x: 0, y: 0, z: 0}
|
||||
m_Flip: {x: 0, y: 0, z: 0}
|
||||
m_UseCustomVertexStreams: 0
|
||||
m_EnableGPUInstancing: 1
|
||||
m_ApplyActiveColorSpace: 1
|
||||
m_AllowRoll: 1
|
||||
m_FreeformStretching: 0
|
||||
m_RotateWithStretchDirection: 1
|
||||
m_UseCustomVertexStreams: 0
|
||||
m_VertexStreams: 00010304
|
||||
m_UseCustomTrailVertexStreams: 0
|
||||
m_TrailVertexStreams: 00010304
|
||||
m_Mesh: {fileID: 0}
|
||||
m_Mesh1: {fileID: 0}
|
||||
m_Mesh2: {fileID: 0}
|
||||
|
|
@ -727940,13 +727967,15 @@ ParticleSystemRenderer:
|
|||
m_RenderAlignment: 2
|
||||
m_Pivot: {x: 0, y: 0, z: 0}
|
||||
m_Flip: {x: 0, y: 0, z: 0}
|
||||
m_UseCustomVertexStreams: 0
|
||||
m_EnableGPUInstancing: 1
|
||||
m_ApplyActiveColorSpace: 1
|
||||
m_AllowRoll: 1
|
||||
m_FreeformStretching: 0
|
||||
m_RotateWithStretchDirection: 1
|
||||
m_UseCustomVertexStreams: 0
|
||||
m_VertexStreams: 00010304
|
||||
m_UseCustomTrailVertexStreams: 0
|
||||
m_TrailVertexStreams: 00010304
|
||||
m_Mesh: {fileID: 0}
|
||||
m_Mesh1: {fileID: 0}
|
||||
m_Mesh2: {fileID: 0}
|
||||
|
|
@ -772542,13 +772571,15 @@ ParticleSystemRenderer:
|
|||
m_RenderAlignment: 0
|
||||
m_Pivot: {x: 0, y: 0, z: 0}
|
||||
m_Flip: {x: 0, y: 0, z: 0}
|
||||
m_UseCustomVertexStreams: 0
|
||||
m_EnableGPUInstancing: 1
|
||||
m_ApplyActiveColorSpace: 1
|
||||
m_AllowRoll: 1
|
||||
m_FreeformStretching: 0
|
||||
m_RotateWithStretchDirection: 1
|
||||
m_UseCustomVertexStreams: 0
|
||||
m_VertexStreams: 00010304
|
||||
m_UseCustomTrailVertexStreams: 0
|
||||
m_TrailVertexStreams: 00010304
|
||||
m_Mesh: {fileID: -7909654892493620595, guid: cd20e8790f3e4884ca3c74989aa84a83, type: 3}
|
||||
m_Mesh1: {fileID: 0}
|
||||
m_Mesh2: {fileID: 0}
|
||||
|
|
@ -773970,13 +774001,15 @@ ParticleSystemRenderer:
|
|||
m_RenderAlignment: 0
|
||||
m_Pivot: {x: 0, y: 0.3, z: 0}
|
||||
m_Flip: {x: 0, y: 0, z: 0}
|
||||
m_UseCustomVertexStreams: 0
|
||||
m_EnableGPUInstancing: 1
|
||||
m_ApplyActiveColorSpace: 1
|
||||
m_AllowRoll: 1
|
||||
m_FreeformStretching: 0
|
||||
m_RotateWithStretchDirection: 1
|
||||
m_UseCustomVertexStreams: 0
|
||||
m_VertexStreams: 00010304
|
||||
m_UseCustomTrailVertexStreams: 0
|
||||
m_TrailVertexStreams: 00010304
|
||||
m_Mesh: {fileID: 0}
|
||||
m_Mesh1: {fileID: 0}
|
||||
m_Mesh2: {fileID: 0}
|
||||
|
|
|
|||
|
|
@ -46051,9 +46051,9 @@ MonoBehaviour:
|
|||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
predefinedCharacterJsons:
|
||||
- '{"Body":"Common.Basic.Body.HumanPants#FFDDACFF","Ears":"Common.Basic.Ears.Human#FFC878FF","Hair":"Common.Basic.Hair.Default","Beard":null,"Helmet":null,"Armor":"FantasyHeroes.Basic.Armor.BanditArmor,FantasyHeroes.Basic.Armor.BanditArmor,FantasyHeroes.Basic.Armor.BanditArmor,FantasyHeroes.Basic.Armor.BanditArmor,FantasyHeroes.Basic.Armor.BanditArmor,FantasyHeroes.Basic.Armor.BanditArmor,FantasyHeroes.Basic.Armor.BanditArmor,FantasyHeroes.Basic.Armor.BanditArmor,FantasyHeroes.Basic.Armor.BanditArmor","Backpack":null,"Shield":null,"WeaponType":"Melee2H","Expression":"Default","HideEars":"False","CropHair":"False","Makeup":null,"Mask":null,"Earrings":null,"PrimaryWeapon":"FantasyHeroes.Basic.MeleeWeapon2H.BastardSword","Expression.Default.Eyebrows":"Common.Basic.Eyebrows.Default","Expression.Default.Eyes":"Common.Basic.Eyes.Boy#00C8FFFF","Expression.Default.EyesColor":"#00C8FFFF","Expression.Default.Mouth":"Common.Basic.Mouth.Default","Expression.Angry.Eyebrows":"Common.Emoji.Eyebrows.AngryEyebrows","Expression.Angry.Eyes":"Common.Emoji.Eyes.AngryEyes3#00C8FFFF","Expression.Angry.EyesColor":"#00C8FFFF","Expression.Angry.Mouth":"Common.Emoji.Mouth.AngryMouth1","Expression.Dead.Eyebrows":"Common.Emoji.Eyebrows.DeadEyebrows1","Expression.Dead.Eyes":"Common.Emoji.Eyes.DeadEyes4#00C8FFFF","Expression.Dead.EyesColor":"#00C8FFFF","Expression.Dead.Mouth":"Common.Emoji.Mouth.DeadMouth4","Expression.Happy.Eyebrows":"Common.Emoji.Eyebrows.DeadEyebrows1","Expression.Happy.Eyes":"Common.Emoji.Eyes.HappyEyes#00C8FFFF","Expression.Happy.EyesColor":"#00C8FFFF","Expression.Happy.Mouth":"Common.Basic.Mouth.Smirk"}'
|
||||
- '{"Body":"Common.Basic.Body.Human#FFC878FF","Ears":"Common.Basic.Ears.Human#FFC878FF","Hair":"Common.Basic.Hair.Default","Beard":null,"Helmet":"FantasyHeroes.Basic.Armor.AdvancedWizardRobe","Armor":"FantasyHeroes.Basic.Armor.AdvancedWizardRobe,FantasyHeroes.Basic.Armor.AdvancedWizardRobe,FantasyHeroes.Basic.Armor.AdvancedWizardRobe,FantasyHeroes.Basic.Armor.AdvancedWizardRobe,FantasyHeroes.Basic.Armor.AdvancedWizardRobe,FantasyHeroes.Basic.Armor.AdvancedWizardRobe,FantasyHeroes.Basic.Armor.AdvancedWizardRobe,FantasyHeroes.Basic.Armor.AdvancedWizardRobe,FantasyHeroes.Basic.Armor.AdvancedWizardRobe","Backpack":null,"Shield":null,"WeaponType":"Melee1H","Expression":"Default","HideEars":"False","CropHair":"True","Makeup":null,"Mask":null,"Earrings":null,"PrimaryWeapon":"FantasyHeroes.Basic.MeleeWeapon1H.FireMageWand","Expression.Default.Eyebrows":"Common.Basic.Eyebrows.Default","Expression.Default.Eyes":"Common.Basic.Eyes.Girl04#00C8FFFF","Expression.Default.EyesColor":"#00C8FFFF","Expression.Default.Mouth":"Common.Basic.Mouth.Default","Expression.Angry.Eyebrows":"Common.Emoji.Eyebrows.AngryEyebrows","Expression.Angry.Eyes":"Common.Emoji.Eyes.AngryEyes3#00C8FFFF","Expression.Angry.EyesColor":"#00C8FFFF","Expression.Angry.Mouth":"Common.Emoji.Mouth.AngryMouth1","Expression.Dead.Eyebrows":"Common.Emoji.Eyebrows.DeadEyebrows1","Expression.Dead.Eyes":"Common.Emoji.Eyes.DeadEyes4#00C8FFFF","Expression.Dead.EyesColor":"#00C8FFFF","Expression.Dead.Mouth":"Common.Emoji.Mouth.DeadMouth4","Expression.Happy.Eyebrows":"Common.Emoji.Eyebrows.DeadEyebrows1","Expression.Happy.Eyes":"Common.Emoji.Eyes.HappyEyes#00C8FFFF","Expression.Happy.EyesColor":"#00C8FFFF","Expression.Happy.Mouth":"Common.Basic.Mouth.Smirk"}'
|
||||
- '{"Body":"Common.Basic.Body.Human#FFC878FF","Ears":null,"Hair":"Common.Basic.Hair.Default","Beard":null,"Helmet":"FantasyHeroes.Basic.Armor.FurryRobe","Armor":"FantasyHeroes.Basic.Armor.LightWolfArmor,FantasyHeroes.Basic.Armor.FurryRobe,FantasyHeroes.Basic.Armor.FurryRobe,FantasyHeroes.Basic.Armor.FurryRobe,FantasyHeroes.Basic.Armor.FurryRobe,FantasyHeroes.Basic.Armor.FurryRobe,FantasyHeroes.Basic.Armor.FurryRobe,FantasyHeroes.Basic.Armor.GuardArmor,FantasyHeroes.Basic.Armor.GuardArmor","Backpack":null,"Shield":null,"WeaponType":"Bow","Expression":"Default","HideEars":"True","CropHair":"True","Makeup":null,"Mask":null,"Earrings":null,"Bow":"FantasyHeroes.Basic.Bow.LongBow","Expression.Default.Eyebrows":"Common.Basic.Eyebrows.Default","Expression.Default.Eyes":"Common.Basic.Eyes.Boy#00C8FFFF","Expression.Default.EyesColor":"#00C8FFFF","Expression.Default.Mouth":"Common.Basic.Mouth.Default","Expression.Angry.Eyebrows":"Common.Emoji.Eyebrows.AngryEyebrows","Expression.Angry.Eyes":"Common.Emoji.Eyes.AngryEyes3#00C8FFFF","Expression.Angry.EyesColor":"#00C8FFFF","Expression.Angry.Mouth":"Common.Emoji.Mouth.AngryMouth1","Expression.Dead.Eyebrows":"Common.Emoji.Eyebrows.DeadEyebrows1","Expression.Dead.Eyes":"Common.Emoji.Eyes.DeadEyes4#00C8FFFF","Expression.Dead.EyesColor":"#00C8FFFF","Expression.Dead.Mouth":"Common.Emoji.Mouth.DeadMouth4","Expression.Happy.Eyebrows":"Common.Emoji.Eyebrows.DeadEyebrows1","Expression.Happy.Eyes":"Common.Emoji.Eyes.HappyEyes#00C8FFFF","Expression.Happy.EyesColor":"#00C8FFFF","Expression.Happy.Mouth":"Common.Basic.Mouth.Smirk"}'
|
||||
- {fileID: 11400000, guid: deff44f8d79e4439f9c9f053addb6bca, type: 2}
|
||||
- {fileID: 11400000, guid: 322b12d37d123452199367cb774ea46d, type: 2}
|
||||
- {fileID: 11400000, guid: 3e5e502c0d27e4934bb5e4f028da7bae, type: 2}
|
||||
predefinedCharacterButtons:
|
||||
- {fileID: 1408197262}
|
||||
- {fileID: 385175214}
|
||||
|
|
@ -185609,6 +185609,7 @@ MonoBehaviour:
|
|||
back: {fileID: 2529282587710631019}
|
||||
left: {fileID: 2724415795282732167}
|
||||
right: {fileID: 31086504967704550}
|
||||
bowIndex: 0
|
||||
--- !u!1 &7348028645639638943
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
|
|||
BIN
Assets/Script/.DS_Store
vendored
BIN
Assets/Script/.DS_Store
vendored
Binary file not shown.
13
Assets/Script/CharacterDataSO.cs
Normal file
13
Assets/Script/CharacterDataSO.cs
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
|
||||
[CreateAssetMenu(fileName = "Data", menuName = "ScriptableObjects/CharacterData", order = 1)]
|
||||
public class CharacterDataSO : ScriptableObject
|
||||
{
|
||||
public string jsonCharData;
|
||||
public string charName;
|
||||
|
||||
|
||||
}
|
||||
11
Assets/Script/CharacterDataSO.cs.meta
Normal file
11
Assets/Script/CharacterDataSO.cs.meta
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 2b7d6ca0a7bac48388c4c141a7548d78
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
|
|
@ -8,8 +8,8 @@ using UnityEngine.UI;
|
|||
public class CharacterSelection : MonoBehaviour
|
||||
{
|
||||
|
||||
public static string selectedCharJson = "";
|
||||
public List<string> predefinedCharacterJsons;
|
||||
[SerializeField] public static string selectedCharJson = "";
|
||||
public List<CharacterDataSO> predefinedCharacterJsons;
|
||||
public List<Button> predefinedCharacterButtons;
|
||||
|
||||
public static Action OnCharacterChanged;
|
||||
|
|
@ -28,13 +28,13 @@ public class CharacterSelection : MonoBehaviour
|
|||
public void LoadCharacterFromString(string characterData)
|
||||
{
|
||||
selectedCharJson = characterData;
|
||||
OnCharacterChanged.Invoke();
|
||||
OnCharacterChanged?.Invoke();
|
||||
}
|
||||
|
||||
void OnPredefinedCharButtonPress(int i)
|
||||
{
|
||||
selectedCharJson = predefinedCharacterJsons[i];
|
||||
OnCharacterChanged.Invoke();
|
||||
selectedCharJson = predefinedCharacterJsons[i].jsonCharData;
|
||||
OnCharacterChanged?.Invoke();
|
||||
SaveCharacterSkinCloud();
|
||||
}
|
||||
|
||||
|
|
@ -70,12 +70,12 @@ public class CharacterSelection : MonoBehaviour
|
|||
{
|
||||
LoadCharacterFromString(PlayerPrefs.GetString("skinData"));
|
||||
}
|
||||
|
||||
#else
|
||||
|
||||
FirebaseFirestore db = FirebaseFirestore.DefaultInstance;
|
||||
DocumentReference docRef = db.Collection("SkinData").Document(gplayAuth.userID);
|
||||
|
||||
docRef.GetSnapshotAsync().ContinueWithOnMainThread(task => {
|
||||
docRef.GetSnapshotAsync().ContinueWithOnMainThread(task => {
|
||||
DocumentSnapshot snapshot = task.Result;
|
||||
if(snapshot.Exists){
|
||||
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@ public class PlayerAttack : NetworkBehaviour{
|
|||
Vector3 direction = GetPlayerLookDir();
|
||||
|
||||
//if(isServer){
|
||||
pnet.MagicalAttack(direction, magicalProjectileSpawnOffset, damage);
|
||||
pnet.MagicalAttack(direction, magicalProjectileSpawnOffset, damage);
|
||||
/*}else{
|
||||
Debug.Log(direction);
|
||||
CmdMagicalAttack(direction);
|
||||
|
|
@ -91,10 +91,6 @@ public class PlayerAttack : NetworkBehaviour{
|
|||
magicalAttack(direction);
|
||||
}*/
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Vector3 GetPlayerLookDir(){
|
||||
Vector3 direction = Vector3.right;
|
||||
if(leftAnim.activeSelf){
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ using System.Collections;
|
|||
using System.Collections.Generic;
|
||||
using Assets.HeroEditor4D.Common.Scripts.CharacterScripts;
|
||||
using Assets.HeroEditor4D.Common.Scripts.Common;
|
||||
using Assets.HeroEditor4D.Common.Scripts.Data;
|
||||
using Assets.HeroEditor4D.Common.Scripts.Enums;
|
||||
using Assets.HeroEditor4D.InventorySystem.Scripts.Elements;
|
||||
using UnityEngine;
|
||||
|
|
@ -23,10 +24,25 @@ public class characterManager : MonoBehaviour
|
|||
void Update(){
|
||||
|
||||
if(Input.GetKeyDown(KeyCode.M)){
|
||||
ChangeWeapon();
|
||||
// ChangeWeapon();
|
||||
EquipBow();
|
||||
}
|
||||
}
|
||||
int weaponIndex = 52;
|
||||
public int bowIndex =0;
|
||||
public void EquipBow(){
|
||||
// bowIndex++;
|
||||
// if(bowIndex >= character.SpriteCollection.Bow.Count){
|
||||
// bowIndex=0;
|
||||
// }
|
||||
// Debug.Log("Equipping bow index " + bowIndex + " out of " + character.SpriteCollection.Bow.Count);
|
||||
|
||||
var item = character.SpriteCollection.Bow[16];
|
||||
EquipForAll(item, EquipmentPart.Bow);
|
||||
|
||||
|
||||
}
|
||||
|
||||
void ChangeWeapon(){
|
||||
|
||||
// if(weaponIndex < character.SpriteCollection.MeleeWeapon1H.Count){
|
||||
|
|
@ -38,11 +54,15 @@ public class characterManager : MonoBehaviour
|
|||
var item = character.SpriteCollection.MeleeWeapon1H[weaponIndex];
|
||||
// var sprite = character.SpriteCollection.MeleeWeapon1H.FindSprite("FireMageWand");
|
||||
|
||||
front.Equip(item,EquipmentPart.MeleeWeapon1H);
|
||||
back.Equip(item,EquipmentPart.MeleeWeapon1H);
|
||||
left.Equip(item,EquipmentPart.MeleeWeapon1H);
|
||||
right.Equip(item,EquipmentPart.MeleeWeapon1H);
|
||||
|
||||
EquipForAll(item,EquipmentPart.MeleeWeapon1H);
|
||||
}
|
||||
|
||||
void EquipForAll(ItemSprite item, EquipmentPart type){
|
||||
front.Equip(item, type);
|
||||
back.Equip(item, type);
|
||||
left.Equip(item, type);
|
||||
right.Equip(item, type);
|
||||
|
||||
}
|
||||
|
||||
public void SetActiveWeapon(int i){
|
||||
|
|
|
|||
|
|
@ -14,7 +14,8 @@ using UnityEngine.SocialPlatforms;
|
|||
using Firebase.Auth;
|
||||
using UnityEngine.UI;
|
||||
using Newtonsoft.Json;
|
||||
using Unity.Properties;
|
||||
|
||||
|
||||
|
||||
public class playerNetwork : NetworkBehaviour
|
||||
{
|
||||
|
|
@ -153,6 +154,7 @@ public class playerNetwork : NetworkBehaviour
|
|||
public List<string> completedQuests;
|
||||
|
||||
public GameObject projectile;
|
||||
public GameObject arrowRange;
|
||||
|
||||
public string selectedCharacterJson = CharacterSelection.selectedCharJson;
|
||||
|
||||
|
|
@ -333,7 +335,6 @@ public class playerNetwork : NetworkBehaviour
|
|||
playerName = nameValue;
|
||||
}
|
||||
|
||||
|
||||
[Command(requiresAuthority =false)]
|
||||
void CmdRequestCharJson(){
|
||||
RpcBroadcastCharJson(myCharJson);
|
||||
|
|
@ -359,6 +360,13 @@ public class playerNetwork : NetworkBehaviour
|
|||
character.AnimationManager.SetState((CharacterState)newVal);
|
||||
}
|
||||
|
||||
rangeEnemyFinder rangeEnemyFind;
|
||||
|
||||
enemyScript closestEnemy => rangeEnemyFind.targetEnemy;
|
||||
void Awake(){
|
||||
rangeEnemyFind = GetComponent<rangeEnemyFinder>();
|
||||
}
|
||||
|
||||
float attackTimer = 0;
|
||||
[HideInInspector]
|
||||
public PlayerAttack playerAttack;
|
||||
|
|
@ -455,7 +463,6 @@ public class playerNetwork : NetworkBehaviour
|
|||
int prevLevel = GetLevelByXp(oldVal);
|
||||
int newLevle = GetLevelByXp(newVal);
|
||||
|
||||
|
||||
if(newLevle > prevLevel){
|
||||
int levelChange = newLevle - prevLevel;
|
||||
GameObject newObject = Instantiate(levelUpVfx , character.characterTransform());
|
||||
|
|
@ -614,6 +621,73 @@ public class playerNetwork : NetworkBehaviour
|
|||
}
|
||||
}
|
||||
|
||||
[SerializeField] public float arrowSpeed = 2.0f;
|
||||
[SerializeField] public float arrowShootOffset = 1;
|
||||
[SerializeField] public float arrowShootHeightOffset = 1;
|
||||
|
||||
public void OnRangeAttack(){
|
||||
if(attackTimer>0){
|
||||
return;
|
||||
}
|
||||
if(closestEnemy==null){return;}
|
||||
|
||||
attackTimer = ATTACK_COOLDOWN;
|
||||
|
||||
characterMan.EquipBow();
|
||||
PlayAttackAnim();
|
||||
|
||||
StartCoroutine(ArrowShootDelay());
|
||||
// arrowRange.transform.position = startingPosition;
|
||||
|
||||
//TODO: Deal Damage once it hits enemy
|
||||
|
||||
}
|
||||
public float arrowDelay;
|
||||
IEnumerator ArrowShootDelay (){
|
||||
|
||||
yield return new WaitForSeconds(arrowDelay);
|
||||
|
||||
Vector3 startingPosition = transform.position ;
|
||||
Vector3 destination = closestEnemy.transform.position;
|
||||
|
||||
//TODO: Move attack projectile from startingPosition to destination
|
||||
Vector3 direction = (destination - startingPosition).normalized;
|
||||
startingPosition += (direction * arrowShootOffset);
|
||||
startingPosition += (Vector3.up * arrowShootHeightOffset);
|
||||
destination += (Vector3.up * arrowShootHeightOffset);
|
||||
// Quaternion rotation = Quaternion.LookRotation(direction);
|
||||
float angle = Mathf.Atan2(direction.y, direction.x) * Mathf.Rad2Deg;
|
||||
Quaternion rotation = Quaternion.Euler(0,0,angle - 90f);
|
||||
|
||||
GameObject newArrow = Instantiate(arrowRange , transform.position + (direction * arrowShootOffset) , rotation);
|
||||
|
||||
StartCoroutine(moveArrow(newArrow.transform , startingPosition , destination , closestEnemy));
|
||||
|
||||
}
|
||||
public int RangeDmg = 10;
|
||||
|
||||
IEnumerator moveArrow (Transform arrow , Vector3 start, Vector3 destination, enemyScript target ){
|
||||
|
||||
float dist = Vector3.Distance(start , destination);
|
||||
|
||||
float duration = dist/arrowSpeed;
|
||||
|
||||
float timer = 0f;
|
||||
|
||||
while(timer < duration){
|
||||
|
||||
arrow.position = Vector3.Lerp(start , destination , timer/duration);
|
||||
|
||||
timer += Time.deltaTime;
|
||||
yield return null;
|
||||
}
|
||||
|
||||
target.TakeDamage(RangeDmg, netId);
|
||||
|
||||
Destroy(arrow.gameObject);
|
||||
|
||||
}
|
||||
|
||||
public int MagicAttackWeaponIndex = 52;
|
||||
public void OnMagicAttack(){
|
||||
if(attackTimer > 0){
|
||||
|
|
@ -621,7 +695,7 @@ public class playerNetwork : NetworkBehaviour
|
|||
}
|
||||
|
||||
attackTimer = ATTACK_COOLDOWN;
|
||||
characterMan.SetActiveWeapon(MagicAttackWeaponIndex);
|
||||
// characterMan.SetActiveWeapon(MagicAttackWeaponIndex);
|
||||
if(isLocalPlayer){
|
||||
PlayAttackAnim();
|
||||
//?
|
||||
|
|
@ -730,10 +804,8 @@ public class playerNetwork : NetworkBehaviour
|
|||
GameManager.instance.SpawnPickup(type,transform.position + new Vector3(4,0));
|
||||
}
|
||||
|
||||
|
||||
int magicalDmg = 0;
|
||||
|
||||
|
||||
public void MagicalAttack(Vector3 direction, float magicalProjectileSpawnOffset, int dmg)
|
||||
{
|
||||
if (isServer)
|
||||
|
|
@ -746,7 +818,6 @@ public class playerNetwork : NetworkBehaviour
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
[Command]
|
||||
void CmdMagicalAttack(Vector3 direction, float magicalProjectileSpawnOffset, int dmg)
|
||||
{
|
||||
|
|
@ -763,21 +834,19 @@ public class playerNetwork : NetworkBehaviour
|
|||
_projectile.shooterId = netId;
|
||||
|
||||
NetworkServer.Spawn(projectileSpawned);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
void OnMagicalHit(enemyScript victim)
|
||||
{
|
||||
int damageamount = magicalDmg + (lvl * 5);
|
||||
|
||||
//magical damage with intelligance stat ?
|
||||
//int damageamount = magicalDmg + (lvl * 5);
|
||||
int damageamount = magicalDmg + (statManager.GetEffectiveValue("intelligence")*2);
|
||||
Debug.Log("magic damage amount " + damageamount);
|
||||
victim.TakeMagicalDamage(damageamount, netId);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public void GoBackMenu(){
|
||||
startClient.instance.networkManager.StopClient();
|
||||
SceneManager.LoadScene("GameLogin");
|
||||
|
|
|
|||
46
Assets/Script/rangeEnemyFinder.cs
Normal file
46
Assets/Script/rangeEnemyFinder.cs
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class rangeEnemyFinder : MonoBehaviour
|
||||
{
|
||||
public float radius = 10;
|
||||
public enemyScript[] enemies;
|
||||
|
||||
public Transform lockIndicator;
|
||||
|
||||
private void OnDrawGizmos() {
|
||||
Gizmos.DrawWireSphere(transform.position, radius);
|
||||
}
|
||||
|
||||
void Start()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
public enemyScript targetEnemy;
|
||||
|
||||
void Update()
|
||||
{
|
||||
enemies = FindObjectsOfType<enemyScript>();
|
||||
float closestDist = radius * 10f;
|
||||
targetEnemy = null;
|
||||
foreach(enemyScript enemy in enemies){
|
||||
float dist = Vector3.Distance((Vector2)enemy.transform.position,(Vector2)transform.position);
|
||||
if(dist < radius){
|
||||
if(dist < closestDist){
|
||||
targetEnemy = enemy;
|
||||
closestDist = dist;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
lockIndicator.gameObject.SetActive(targetEnemy!= null);
|
||||
|
||||
if(targetEnemy != null){
|
||||
//show indicator
|
||||
lockIndicator.position = targetEnemy.transform.position + new Vector3 (0, 0.62f, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
11
Assets/Script/rangeEnemyFinder.cs.meta
Normal file
11
Assets/Script/rangeEnemyFinder.cs.meta
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: fdca2649edb8b4c0184a4d565a4fafa7
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
8
Assets/sprites/Materials.meta
Normal file
8
Assets/sprites/Materials.meta
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 5e21a7658c62c494c8f455df3fbc93ca
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
42
Assets/sprites/Materials/squared-capture.mat
Normal file
42
Assets/sprites/Materials/squared-capture.mat
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 8
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: squared-capture
|
||||
m_Shader: {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0}
|
||||
m_Parent: {fileID: 0}
|
||||
m_ModifiedSerializedProperties: 0
|
||||
m_ValidKeywords: []
|
||||
m_InvalidKeywords: []
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_LockedProperties:
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _AlphaTex:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MainTex:
|
||||
m_Texture: {fileID: 2800000, guid: 08cfb037bd1274b5d80f887dca59e7d1, type: 3}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Ints: []
|
||||
m_Floats:
|
||||
- PixelSnap: 0
|
||||
- _EnableExternalAlpha: 0
|
||||
m_Colors:
|
||||
- _Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _Flip: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _RendererColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_BuildTextureStacks: []
|
||||
8
Assets/sprites/Materials/squared-capture.mat.meta
Normal file
8
Assets/sprites/Materials/squared-capture.mat.meta
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 4d6224602428740d1bdf7d13120a65f0
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/sprites/squared-capture.png
Normal file
BIN
Assets/sprites/squared-capture.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.5 MiB |
127
Assets/sprites/squared-capture.png.meta
Normal file
127
Assets/sprites/squared-capture.png.meta
Normal file
|
|
@ -0,0 +1,127 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 08cfb037bd1274b5d80f887dca59e7d1
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 13
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 1
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 1
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 8
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
swizzle: 50462976
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 3
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 2
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Android
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 5e97eb03825dee720800000000000000
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
|
|
@ -1,9 +1,2 @@
|
|||
lastUpgrade=01014
|
||||
proj.pluginVersion=0.10.14
|
||||
proj.AppId=178135978803
|
||||
and.BundleId=com.playpool.MMORPG
|
||||
proj.classDir=Assets
|
||||
proj.ConstantsClassName=GPGSIds
|
||||
and.ResourceData=%3c%3fxml+version%3d%221.0%22+encoding%3d%22utf-8%22%3f%3e%0a%3c%21--Google+Play+game+services+IDs.+Save+this+file+as+res%2fvalues%2fgames-ids.xml+in+your+project.--%3e%0a%3cresources%3e%0a++%3c%21--app_id--%3e%0a++%3cstring+name%3d%22app_id%22+translatable%3d%22false%22%3e178135978803%3c%2fstring%3e%0a++%3c%21--package_name--%3e%0a++%3cstring+name%3d%22package_name%22+translatable%3d%22false%22%3ecom.playpool.MMORPG%3c%2fstring%3e%0a%3c%2fresources%3e
|
||||
and.ClientId=178135978803-ks0s5nmdlnujpic2tntm39mmuc39ehh6.apps.googleusercontent.com
|
||||
android.SetupDone=true
|
||||
|
|
|
|||
|
|
@ -1,10 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<projectSettings>
|
||||
<projectSetting name="Google.IOSResolver.VerboseLoggingEnabled" value="False" />
|
||||
<projectSetting name="Google.PackageManagerResolver.VerboseLoggingEnabled" value="False" />
|
||||
<projectSetting name="Google.VersionHandler.VerboseLoggingEnabled" value="True" />
|
||||
<projectSetting name="Google.VersionHandler.VersionHandlingEnabled" value="True" />
|
||||
<projectSetting name="GooglePlayServices.AutoResolverEnabled" value="False" />
|
||||
<projectSetting name="GooglePlayServices.PromptBeforeAutoResolution" value="False" />
|
||||
<projectSetting name="GooglePlayServices.UseJetifier" value="True" />
|
||||
</projectSettings>
|
||||
Loading…
Reference in New Issue
Block a user