added new enemy prefab, reconfigured enemy patrol script
enemy patrol now contains option for vertical movement
This commit is contained in:
1 parent
06f8cefd11
commit
4625a1f6ba
15 files changed
+1481
-711
No files matched your search
Vendored
BIN
Binary file not shown.
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 12cc00e5abdeb4f7fb278dfc0f4ee2b3
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,72 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!1107 &-1120805670155518336
|
||||
AnimatorStateMachine:
|
||||
serializedVersion: 6
|
||||
m_ObjectHideFlags: 1
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: Base Layer
|
||||
m_ChildStates:
|
||||
- serializedVersion: 1
|
||||
m_State: {fileID: 8499720518961295116}
|
||||
m_Position: {x: 130, y: 220, z: 0}
|
||||
m_ChildStateMachines: []
|
||||
m_AnyStateTransitions: []
|
||||
m_EntryTransitions: []
|
||||
m_StateMachineTransitions: {}
|
||||
m_StateMachineBehaviours: []
|
||||
m_AnyStatePosition: {x: 50, y: 20, z: 0}
|
||||
m_EntryPosition: {x: 50, y: 120, z: 0}
|
||||
m_ExitPosition: {x: 800, y: 120, z: 0}
|
||||
m_ParentStateMachinePosition: {x: 800, y: 20, z: 0}
|
||||
m_DefaultState: {fileID: 8499720518961295116}
|
||||
--- !u!91 &9100000
|
||||
AnimatorController:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: BatController
|
||||
serializedVersion: 5
|
||||
m_AnimatorParameters: []
|
||||
m_AnimatorLayers:
|
||||
- serializedVersion: 5
|
||||
m_Name: Base Layer
|
||||
m_StateMachine: {fileID: -1120805670155518336}
|
||||
m_Mask: {fileID: 0}
|
||||
m_Motions: []
|
||||
m_Behaviours: []
|
||||
m_BlendingMode: 0
|
||||
m_SyncedLayerIndex: -1
|
||||
m_DefaultWeight: 0
|
||||
m_IKPass: 0
|
||||
m_SyncedLayerAffectsTiming: 0
|
||||
m_Controller: {fileID: 9100000}
|
||||
--- !u!1102 &8499720518961295116
|
||||
AnimatorState:
|
||||
serializedVersion: 6
|
||||
m_ObjectHideFlags: 1
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: BatFly
|
||||
m_Speed: 0.5
|
||||
m_CycleOffset: 0
|
||||
m_Transitions: []
|
||||
m_StateMachineBehaviours: []
|
||||
m_Position: {x: 50, y: 50, z: 0}
|
||||
m_IKOnFeet: 0
|
||||
m_WriteDefaultValues: 1
|
||||
m_Mirror: 0
|
||||
m_SpeedParameterActive: 0
|
||||
m_MirrorParameterActive: 0
|
||||
m_CycleOffsetParameterActive: 0
|
||||
m_TimeParameterActive: 0
|
||||
m_Motion: {fileID: 7400000, guid: 2eebd929e068e4971abc8acf58a09f01, type: 2}
|
||||
m_Tag:
|
||||
m_SpeedParameter:
|
||||
m_MirrorParameter:
|
||||
m_CycleOffsetParameter:
|
||||
m_TimeParameter:
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 60cf97454cc2a49c88849344eaf08885
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 9100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,78 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!74 &7400000
|
||||
AnimationClip:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: BatFly
|
||||
serializedVersion: 7
|
||||
m_Legacy: 0
|
||||
m_Compressed: 0
|
||||
m_UseHighQualityCurve: 1
|
||||
m_RotationCurves: []
|
||||
m_CompressedRotationCurves: []
|
||||
m_EulerCurves: []
|
||||
m_PositionCurves: []
|
||||
m_ScaleCurves: []
|
||||
m_FloatCurves: []
|
||||
m_PPtrCurves:
|
||||
- serializedVersion: 2
|
||||
curve:
|
||||
- time: 0
|
||||
value: {fileID: 190768245, guid: fb6771c0fb3c943deb84d273bbe0eb49, type: 3}
|
||||
- time: 0.083333336
|
||||
value: {fileID: -2141346492, guid: fb6771c0fb3c943deb84d273bbe0eb49, type: 3}
|
||||
- time: 0.16666667
|
||||
value: {fileID: -534746609, guid: fb6771c0fb3c943deb84d273bbe0eb49, type: 3}
|
||||
attribute: m_Sprite
|
||||
path:
|
||||
classID: 212
|
||||
script: {fileID: 0}
|
||||
flags: 2
|
||||
m_SampleRate: 12
|
||||
m_WrapMode: 0
|
||||
m_Bounds:
|
||||
m_Center: {x: 0, y: 0, z: 0}
|
||||
m_Extent: {x: 0, y: 0, z: 0}
|
||||
m_ClipBindingConstant:
|
||||
genericBindings:
|
||||
- serializedVersion: 2
|
||||
path: 0
|
||||
attribute: 0
|
||||
script: {fileID: 0}
|
||||
typeID: 212
|
||||
customType: 23
|
||||
isPPtrCurve: 1
|
||||
isIntCurve: 0
|
||||
isSerializeReferenceCurve: 0
|
||||
pptrCurveMapping:
|
||||
- {fileID: 190768245, guid: fb6771c0fb3c943deb84d273bbe0eb49, type: 3}
|
||||
- {fileID: -2141346492, guid: fb6771c0fb3c943deb84d273bbe0eb49, type: 3}
|
||||
- {fileID: -534746609, guid: fb6771c0fb3c943deb84d273bbe0eb49, type: 3}
|
||||
m_AnimationClipSettings:
|
||||
serializedVersion: 2
|
||||
m_AdditiveReferencePoseClip: {fileID: 0}
|
||||
m_AdditiveReferencePoseTime: 0
|
||||
m_StartTime: 0
|
||||
m_StopTime: 0.25
|
||||
m_OrientationOffsetY: 0
|
||||
m_Level: 0
|
||||
m_CycleOffset: 0
|
||||
m_HasAdditiveReferencePose: 0
|
||||
m_LoopTime: 1
|
||||
m_LoopBlend: 0
|
||||
m_LoopBlendOrientation: 0
|
||||
m_LoopBlendPositionY: 0
|
||||
m_LoopBlendPositionXZ: 0
|
||||
m_KeepOriginalOrientation: 0
|
||||
m_KeepOriginalPositionY: 1
|
||||
m_KeepOriginalPositionXZ: 0
|
||||
m_HeightFromFeet: 0
|
||||
m_Mirror: 0
|
||||
m_EditorCurves: []
|
||||
m_EulerEditorCurves: []
|
||||
m_HasGenericRootTransform: 0
|
||||
m_HasMotionFloatCurves: 0
|
||||
m_Events: []
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2eebd929e068e4971abc8acf58a09f01
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 7400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,179 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!1 &493245979038171997
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 493245979038171992}
|
||||
- component: {fileID: 493245979038171999}
|
||||
- component: {fileID: 4018407283885727215}
|
||||
- component: {fileID: 5337163787054360807}
|
||||
- component: {fileID: 4224870664944535266}
|
||||
m_Layer: 0
|
||||
m_Name: Bat
|
||||
m_TagString: Enemy
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &493245979038171992
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 493245979038171997}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 0.8, y: 0.8, z: 0.8}
|
||||
m_ConstrainProportionsScale: 1
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 12
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!212 &493245979038171999
|
||||
SpriteRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 493245979038171997}
|
||||
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: 1
|
||||
m_Sprite: {fileID: 190768245, guid: fb6771c0fb3c943deb84d273bbe0eb49, 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!114 &4018407283885727215
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 493245979038171997}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: e136b6711a1f64a90b596e8a68b34b78, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
pinned: 0
|
||||
isHorizontal: 0
|
||||
rangeHorizontal: 0
|
||||
xLeft: 0
|
||||
xRight: 0
|
||||
movementVectorHorizontal: {x: 1, y: 0}
|
||||
isVertical: 1
|
||||
rangeVertical: 0.8
|
||||
yUp: 0
|
||||
yDown: 0
|
||||
movementVectorVertical: {x: 0, y: 1}
|
||||
moveSpeed: 0.5
|
||||
--- !u!95 &5337163787054360807
|
||||
Animator:
|
||||
serializedVersion: 5
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 493245979038171997}
|
||||
m_Enabled: 1
|
||||
m_Avatar: {fileID: 0}
|
||||
m_Controller: {fileID: 9100000, guid: 60cf97454cc2a49c88849344eaf08885, type: 2}
|
||||
m_CullingMode: 0
|
||||
m_UpdateMode: 0
|
||||
m_ApplyRootMotion: 0
|
||||
m_LinearVelocityBlending: 0
|
||||
m_StabilizeFeet: 0
|
||||
m_WarningMessage:
|
||||
m_HasTransformHierarchy: 1
|
||||
m_AllowConstantClipSamplingOptimization: 1
|
||||
m_KeepAnimatorStateOnDisable: 0
|
||||
m_WriteDefaultValuesOnDisable: 0
|
||||
--- !u!61 &4224870664944535266
|
||||
BoxCollider2D:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 493245979038171997}
|
||||
m_Enabled: 1
|
||||
m_Density: 1
|
||||
m_Material: {fileID: 0}
|
||||
m_IncludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_ExcludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_LayerOverridePriority: 0
|
||||
m_ForceSendLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
m_ForceReceiveLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
m_ContactCaptureLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
m_CallbackLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
m_IsTrigger: 0
|
||||
m_UsedByEffector: 0
|
||||
m_UsedByComposite: 0
|
||||
m_Offset: {x: 0.092326164, y: -0.08812952}
|
||||
m_SpriteTilingProperty:
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
pivot: {x: 0.5, y: 0.5}
|
||||
oldSize: {x: 1.5, y: 1.875}
|
||||
newSize: {x: 1, y: 1}
|
||||
adaptiveTilingThreshold: 0.5
|
||||
drawMode: 0
|
||||
adaptiveTiling: 0
|
||||
m_AutoTiling: 0
|
||||
serializedVersion: 2
|
||||
m_Size: {x: 1.1846523, y: 1.521285}
|
||||
m_EdgeRadius: 0
|
||||
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c33beb037603b4e12a75275ec13369ef
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -33,7 +33,7 @@ Transform:
|
||||
m_ConstrainProportionsScale: 1
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 15
|
||||
m_RootOrder: 12
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!212 &493245979038171999
|
||||
SpriteRenderer:
|
||||
@@ -135,10 +135,16 @@ MonoBehaviour:
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
pinned: 0
|
||||
range: 2.09
|
||||
isHorizontal: 1
|
||||
rangeHorizontal: 2.5
|
||||
xLeft: 0
|
||||
xRight: 0
|
||||
movementVector: {x: -1, y: 0}
|
||||
movementVectorHorizontal: {x: -1, y: 0}
|
||||
isVertical: 0
|
||||
rangeVertical: 0
|
||||
yUp: 0
|
||||
yDown: 0
|
||||
movementVectorVertical: {x: 0, y: 1}
|
||||
moveSpeed: 1
|
||||
--- !u!95 &5337163787054360807
|
||||
Animator:
|
||||
|
||||
@@ -13,6 +13,7 @@ GameObject:
|
||||
- component: {fileID: 4018407283885727215}
|
||||
- component: {fileID: 5337163787054360807}
|
||||
- component: {fileID: 4224870664944535266}
|
||||
- component: {fileID: 3214655307310058165}
|
||||
m_Layer: 0
|
||||
m_Name: Snake
|
||||
m_TagString: Enemy
|
||||
@@ -33,7 +34,7 @@ Transform:
|
||||
m_ConstrainProportionsScale: 1
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 0
|
||||
m_RootOrder: 11
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!212 &493245979038171999
|
||||
SpriteRenderer:
|
||||
@@ -100,10 +101,16 @@ MonoBehaviour:
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
pinned: 0
|
||||
range: 1.5
|
||||
isHorizontal: 1
|
||||
rangeHorizontal: 2
|
||||
xLeft: 0
|
||||
xRight: 0
|
||||
movementVector: {x: -1, y: 0}
|
||||
movementVectorHorizontal: {x: -1, y: 0}
|
||||
isVertical: 0
|
||||
rangeVertical: 0
|
||||
yUp: 0
|
||||
yDown: 0
|
||||
movementVectorVertical: {x: 0, y: 1}
|
||||
moveSpeed: 1
|
||||
--- !u!95 &5337163787054360807
|
||||
Animator:
|
||||
@@ -171,3 +178,38 @@ BoxCollider2D:
|
||||
serializedVersion: 2
|
||||
m_Size: {x: 1, y: 0.875}
|
||||
m_EdgeRadius: 0
|
||||
--- !u!58 &3214655307310058165
|
||||
CircleCollider2D:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 493245979038171997}
|
||||
m_Enabled: 1
|
||||
m_Density: 1
|
||||
m_Material: {fileID: 0}
|
||||
m_IncludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_ExcludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_LayerOverridePriority: 0
|
||||
m_ForceSendLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
m_ForceReceiveLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
m_ContactCaptureLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
m_CallbackLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
m_IsTrigger: 1
|
||||
m_UsedByEffector: 0
|
||||
m_UsedByComposite: 0
|
||||
m_Offset: {x: -0.0000009536743, y: 0.14860392}
|
||||
serializedVersion: 2
|
||||
m_Radius: 2.1117759
|
||||
+629
-342
File diff suppressed because it is too large.
Load diff
@@ -4,11 +4,23 @@ using UnityEngine;
|
||||
|
||||
public class EnemyPatrol : MonoBehaviour {
|
||||
|
||||
public bool pinned = false;
|
||||
public float range;
|
||||
[HideInInspector] public bool pinned = false;
|
||||
|
||||
[Header("Horizontal")]
|
||||
public bool isHorizontal;
|
||||
public float rangeHorizontal;
|
||||
public float xLeft;
|
||||
public float xRight;
|
||||
public Vector2 movementVector = Vector2.right;
|
||||
public Vector2 movementVectorHorizontal = Vector2.right;
|
||||
|
||||
[Header("Vertical")]
|
||||
public bool isVertical;
|
||||
public float rangeVertical;
|
||||
public float yUp;
|
||||
public float yDown;
|
||||
public Vector2 movementVectorVertical = Vector2.up;
|
||||
|
||||
[Header("General")]
|
||||
public float moveSpeed;
|
||||
Animator animator;
|
||||
|
||||
@@ -18,19 +30,32 @@ public class EnemyPatrol : MonoBehaviour {
|
||||
|
||||
// Start is called before the first frame update
|
||||
void Start() {
|
||||
xLeft = transform.position.x - range;
|
||||
xRight = transform.position.x + range;
|
||||
movementVector *= moveSpeed;
|
||||
xLeft = transform.position.x - rangeHorizontal;
|
||||
xRight = transform.position.x + rangeHorizontal;
|
||||
|
||||
yDown = transform.position.y - rangeVertical;
|
||||
yUp = transform.position.y + rangeVertical;
|
||||
|
||||
movementVectorHorizontal *= moveSpeed;
|
||||
movementVectorVertical *= moveSpeed;
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update() {
|
||||
if (!pinned) {
|
||||
if (transform.position.x >= xRight || transform.position.x <= xLeft) {
|
||||
movementVector = -movementVector;
|
||||
GetComponent<SpriteRenderer>().flipX = !GetComponent<SpriteRenderer>().flipX;
|
||||
if (isHorizontal) {
|
||||
if (transform.position.x >= xRight || transform.position.x <= xLeft) {
|
||||
movementVectorHorizontal = -movementVectorHorizontal;
|
||||
GetComponent<SpriteRenderer>().flipX = !GetComponent<SpriteRenderer>().flipX;
|
||||
}
|
||||
transform.position += new Vector3(movementVectorHorizontal.x, 0, 0) * Time.deltaTime;
|
||||
}
|
||||
if (isVertical) {
|
||||
if (transform.position.y >= yUp || transform.position.y <= yDown) {
|
||||
movementVectorVertical = -movementVectorVertical;
|
||||
}
|
||||
transform.position += new Vector3(0, movementVectorVertical.y, 0) * Time.deltaTime;
|
||||
}
|
||||
transform.position += new Vector3(movementVector.x, 0, 0) * Time.deltaTime;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -45,6 +70,11 @@ public class EnemyPatrol : MonoBehaviour {
|
||||
|
||||
void OnDrawGizmos() {
|
||||
Gizmos.color = Color.green;
|
||||
Gizmos.DrawLine(new Vector3(transform.position.x - range, transform.position.y, transform.position.z), new Vector3(transform.position.x + range, transform.position.y, transform.position.z));
|
||||
if (isHorizontal){
|
||||
Gizmos.DrawLine(new Vector3(transform.position.x - rangeHorizontal, transform.position.y, transform.position.z), new Vector3(transform.position.x + rangeHorizontal, transform.position.y, transform.position.z));
|
||||
}
|
||||
if (isVertical) {
|
||||
Gizmos.DrawLine(new Vector3(transform.position.x, transform.position.y - rangeVertical, transform.position.z), new Vector3(transform.position.x, transform.position.y + rangeVertical, transform.position.z));
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 3.9 KiB |
@@ -0,0 +1,388 @@
|
||||
fileFormatVersion: 2
|
||||
guid: fb6771c0fb3c943deb84d273bbe0eb49
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 12
|
||||
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: 0
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 1
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 2
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 32
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 0
|
||||
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: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 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
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Server
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites:
|
||||
- serializedVersion: 2
|
||||
name: $Bat_1_0
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 180
|
||||
width: 48
|
||||
height: 60
|
||||
alignment: 0
|
||||
pivot: {x: 0.5, y: 0.5}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: 0
|
||||
bones: []
|
||||
spriteID: 0e7834f4311454e5abdc7417f4b47b19
|
||||
internalID: 721179846
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
- serializedVersion: 2
|
||||
name: $Bat_1_1
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 48
|
||||
y: 180
|
||||
width: 48
|
||||
height: 60
|
||||
alignment: 0
|
||||
pivot: {x: 0.5, y: 0.5}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: 0
|
||||
bones: []
|
||||
spriteID: 3545817a706c54108ad8806465e171fa
|
||||
internalID: 81894702
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
- serializedVersion: 2
|
||||
name: $Bat_1_2
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 96
|
||||
y: 180
|
||||
width: 48
|
||||
height: 60
|
||||
alignment: 0
|
||||
pivot: {x: 0.5, y: 0.5}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: 0
|
||||
bones: []
|
||||
spriteID: 6ed401aab1d464903b899f2386b63e0c
|
||||
internalID: 1985439858
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
- serializedVersion: 2
|
||||
name: $Bat_1_3
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 120
|
||||
width: 48
|
||||
height: 60
|
||||
alignment: 0
|
||||
pivot: {x: 0.5, y: 0.5}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: 0
|
||||
bones: []
|
||||
spriteID: 0a69b9c3783794c3cb0aa59de6174aca
|
||||
internalID: 190768245
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
- serializedVersion: 2
|
||||
name: $Bat_1_4
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 48
|
||||
y: 120
|
||||
width: 48
|
||||
height: 60
|
||||
alignment: 0
|
||||
pivot: {x: 0.5, y: 0.5}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: 0
|
||||
bones: []
|
||||
spriteID: ecaf96f5d11154c69aa1049dacad54d7
|
||||
internalID: -2141346492
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
- serializedVersion: 2
|
||||
name: $Bat_1_5
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 96
|
||||
y: 120
|
||||
width: 48
|
||||
height: 60
|
||||
alignment: 0
|
||||
pivot: {x: 0.5, y: 0.5}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: 0
|
||||
bones: []
|
||||
spriteID: 8b2b45cffef04431b82732a2f4a6d71e
|
||||
internalID: -534746609
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
- serializedVersion: 2
|
||||
name: $Bat_1_6
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 60
|
||||
width: 48
|
||||
height: 60
|
||||
alignment: 0
|
||||
pivot: {x: 0.5, y: 0.5}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: 0
|
||||
bones: []
|
||||
spriteID: 5652fe3b55f0c49599382d38e660fc9d
|
||||
internalID: -1508989641
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
- serializedVersion: 2
|
||||
name: $Bat_1_7
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 48
|
||||
y: 60
|
||||
width: 48
|
||||
height: 60
|
||||
alignment: 0
|
||||
pivot: {x: 0.5, y: 0.5}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: 0
|
||||
bones: []
|
||||
spriteID: 5df9ab6fc82544781ae55b941ec5c30b
|
||||
internalID: -933552935
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
- serializedVersion: 2
|
||||
name: $Bat_1_8
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 96
|
||||
y: 60
|
||||
width: 48
|
||||
height: 60
|
||||
alignment: 0
|
||||
pivot: {x: 0.5, y: 0.5}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: 0
|
||||
bones: []
|
||||
spriteID: 6c791efe732474bd6a32c00af0258d63
|
||||
internalID: 1890138984
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
- serializedVersion: 2
|
||||
name: $Bat_1_9
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 48
|
||||
height: 60
|
||||
alignment: 0
|
||||
pivot: {x: 0.5, y: 0.5}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: 0
|
||||
bones: []
|
||||
spriteID: b2ed841bb33dc4d4c96c35428471ed84
|
||||
internalID: 1448077424
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
- serializedVersion: 2
|
||||
name: $Bat_1_10
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 48
|
||||
y: 0
|
||||
width: 48
|
||||
height: 60
|
||||
alignment: 0
|
||||
pivot: {x: 0.5, y: 0.5}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: 0
|
||||
bones: []
|
||||
spriteID: 89cee90c53b6343a3bcbbaf18d69a214
|
||||
internalID: 924810378
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
- serializedVersion: 2
|
||||
name: $Bat_1_11
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 96
|
||||
y: 0
|
||||
width: 48
|
||||
height: 60
|
||||
alignment: 0
|
||||
pivot: {x: 0.5, y: 0.5}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: 0
|
||||
bones: []
|
||||
spriteID: 9b7a976c1c48d4c3faed448c871cac88
|
||||
internalID: -1076324921
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
outline: []
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 5e97eb03825dee720800000000000000
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable:
|
||||
$Bat_1_0: 721179846
|
||||
$Bat_1_1: 81894702
|
||||
$Bat_1_10: 924810378
|
||||
$Bat_1_11: -1076324921
|
||||
$Bat_1_2: 1985439858
|
||||
$Bat_1_3: 190768245
|
||||
$Bat_1_4: -2141346492
|
||||
$Bat_1_5: -534746609
|
||||
$Bat_1_6: -1508989641
|
||||
$Bat_1_7: -933552935
|
||||
$Bat_1_8: 1890138984
|
||||
$Bat_1_9: 1448077424
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Executable → Regular
+9
-352
@@ -196,361 +196,18 @@ MonoBehaviour:
|
||||
m_StrikethroughOffset: 18
|
||||
m_StrikethroughThickness: 6.298828
|
||||
m_TabWidth: 24
|
||||
m_GlyphTable:
|
||||
- m_Index: 3
|
||||
m_Metrics:
|
||||
m_Width: 0
|
||||
m_Height: 0
|
||||
m_HorizontalBearingX: 0
|
||||
m_HorizontalBearingY: 0
|
||||
m_HorizontalAdvance: 24
|
||||
m_GlyphRect:
|
||||
m_X: 0
|
||||
m_Y: 0
|
||||
m_Width: 0
|
||||
m_Height: 0
|
||||
m_Scale: 1
|
||||
m_AtlasIndex: 0
|
||||
m_ClassDefinitionType: 0
|
||||
- m_Index: 10
|
||||
m_Metrics:
|
||||
m_Width: 8
|
||||
m_Height: 19
|
||||
m_HorizontalBearingX: 4
|
||||
m_HorizontalBearingY: 59
|
||||
m_HorizontalAdvance: 16
|
||||
m_GlyphRect:
|
||||
m_X: 121
|
||||
m_Y: 35
|
||||
m_Width: 8
|
||||
m_Height: 19
|
||||
m_Scale: 1
|
||||
m_AtlasIndex: 0
|
||||
m_ClassDefinitionType: 0
|
||||
- m_Index: 38
|
||||
m_Metrics:
|
||||
m_Width: 55
|
||||
m_Height: 61
|
||||
m_HorizontalBearingX: 4
|
||||
m_HorizontalBearingY: 60
|
||||
m_HorizontalAdvance: 62
|
||||
m_GlyphRect:
|
||||
m_X: 163
|
||||
m_Y: 10
|
||||
m_Width: 55
|
||||
m_Height: 61
|
||||
m_Scale: 1
|
||||
m_AtlasIndex: 0
|
||||
m_ClassDefinitionType: 0
|
||||
- m_Index: 43
|
||||
m_Metrics:
|
||||
m_Width: 48
|
||||
m_Height: 59
|
||||
m_HorizontalBearingX: 7
|
||||
m_HorizontalBearingY: 59
|
||||
m_HorizontalAdvance: 62
|
||||
m_GlyphRect:
|
||||
m_X: 353
|
||||
m_Y: 10
|
||||
m_Width: 48
|
||||
m_Height: 59
|
||||
m_Scale: 1
|
||||
m_AtlasIndex: 0
|
||||
m_ClassDefinitionType: 0
|
||||
- m_Index: 66
|
||||
m_Metrics:
|
||||
m_Width: 51
|
||||
m_Height: 6
|
||||
m_HorizontalBearingX: -2
|
||||
m_HorizontalBearingY: -12
|
||||
m_HorizontalAdvance: 48
|
||||
m_GlyphRect:
|
||||
m_X: 93
|
||||
m_Y: 10
|
||||
m_Width: 51
|
||||
m_Height: 6
|
||||
m_Scale: 1
|
||||
m_AtlasIndex: 0
|
||||
m_ClassDefinitionType: 0
|
||||
- m_Index: 68
|
||||
m_Metrics:
|
||||
m_Width: 45
|
||||
m_Height: 47
|
||||
m_HorizontalBearingX: 3
|
||||
m_HorizontalBearingY: 46
|
||||
m_HorizontalAdvance: 48
|
||||
m_GlyphRect:
|
||||
m_X: 10
|
||||
m_Y: 38
|
||||
m_Width: 45
|
||||
m_Height: 47
|
||||
m_Scale: 1
|
||||
m_AtlasIndex: 0
|
||||
m_ClassDefinitionType: 0
|
||||
- m_Index: 71
|
||||
m_Metrics:
|
||||
m_Width: 40
|
||||
m_Height: 63
|
||||
m_HorizontalBearingX: 3
|
||||
m_HorizontalBearingY: 62
|
||||
m_HorizontalAdvance: 48
|
||||
m_GlyphRect:
|
||||
m_X: 237
|
||||
m_Y: 10
|
||||
m_Width: 40
|
||||
m_Height: 63
|
||||
m_Scale: 1
|
||||
m_AtlasIndex: 0
|
||||
m_ClassDefinitionType: 0
|
||||
- m_Index: 72
|
||||
m_Metrics:
|
||||
m_Width: 42
|
||||
m_Height: 47
|
||||
m_HorizontalBearingX: 3
|
||||
m_HorizontalBearingY: 46
|
||||
m_HorizontalAdvance: 48
|
||||
m_GlyphRect:
|
||||
m_X: 121
|
||||
m_Y: 90
|
||||
m_Width: 42
|
||||
m_Height: 47
|
||||
m_Scale: 1
|
||||
m_AtlasIndex: 0
|
||||
m_ClassDefinitionType: 0
|
||||
- m_Index: 79
|
||||
m_Metrics:
|
||||
m_Width: 9
|
||||
m_Height: 62
|
||||
m_HorizontalBearingX: 5
|
||||
m_HorizontalBearingY: 62
|
||||
m_HorizontalAdvance: 19
|
||||
m_GlyphRect:
|
||||
m_X: 93
|
||||
m_Y: 35
|
||||
m_Width: 9
|
||||
m_Height: 62
|
||||
m_Scale: 1
|
||||
m_AtlasIndex: 0
|
||||
m_ClassDefinitionType: 0
|
||||
- m_Index: 82
|
||||
m_Metrics:
|
||||
m_Width: 42
|
||||
m_Height: 47
|
||||
m_HorizontalBearingX: 3
|
||||
m_HorizontalBearingY: 46
|
||||
m_HorizontalAdvance: 48
|
||||
m_GlyphRect:
|
||||
m_X: 420
|
||||
m_Y: 10
|
||||
m_Width: 42
|
||||
m_Height: 47
|
||||
m_Scale: 1
|
||||
m_AtlasIndex: 0
|
||||
m_ClassDefinitionType: 0
|
||||
- m_Index: 86
|
||||
m_Metrics:
|
||||
m_Width: 38
|
||||
m_Height: 47
|
||||
m_HorizontalBearingX: 2
|
||||
m_HorizontalBearingY: 46
|
||||
m_HorizontalAdvance: 43
|
||||
m_GlyphRect:
|
||||
m_X: 296
|
||||
m_Y: 10
|
||||
m_Width: 38
|
||||
m_Height: 47
|
||||
m_Scale: 1
|
||||
m_AtlasIndex: 0
|
||||
m_ClassDefinitionType: 0
|
||||
- m_Index: 88
|
||||
m_Metrics:
|
||||
m_Width: 38
|
||||
m_Height: 46
|
||||
m_HorizontalBearingX: 5
|
||||
m_HorizontalBearingY: 45
|
||||
m_HorizontalAdvance: 48
|
||||
m_GlyphRect:
|
||||
m_X: 10
|
||||
m_Y: 104
|
||||
m_Width: 38
|
||||
m_Height: 46
|
||||
m_Scale: 1
|
||||
m_AtlasIndex: 0
|
||||
m_ClassDefinitionType: 0
|
||||
- m_Index: 2030
|
||||
m_Metrics:
|
||||
m_Width: 64
|
||||
m_Height: 9
|
||||
m_HorizontalBearingX: 11
|
||||
m_HorizontalBearingY: 9
|
||||
m_HorizontalAdvance: 86
|
||||
m_GlyphRect:
|
||||
m_X: 10
|
||||
m_Y: 10
|
||||
m_Width: 64
|
||||
m_Height: 9
|
||||
m_Scale: 1
|
||||
m_AtlasIndex: 0
|
||||
m_ClassDefinitionType: 0
|
||||
m_CharacterTable:
|
||||
- m_ElementType: 1
|
||||
m_Unicode: 32
|
||||
m_GlyphIndex: 3
|
||||
m_Scale: 1
|
||||
- m_ElementType: 1
|
||||
m_Unicode: 39
|
||||
m_GlyphIndex: 10
|
||||
m_Scale: 1
|
||||
- m_ElementType: 1
|
||||
m_Unicode: 67
|
||||
m_GlyphIndex: 38
|
||||
m_Scale: 1
|
||||
- m_ElementType: 1
|
||||
m_Unicode: 72
|
||||
m_GlyphIndex: 43
|
||||
m_Scale: 1
|
||||
- m_ElementType: 1
|
||||
m_Unicode: 95
|
||||
m_GlyphIndex: 66
|
||||
m_Scale: 1
|
||||
- m_ElementType: 1
|
||||
m_Unicode: 97
|
||||
m_GlyphIndex: 68
|
||||
m_Scale: 1
|
||||
- m_ElementType: 1
|
||||
m_Unicode: 100
|
||||
m_GlyphIndex: 71
|
||||
m_Scale: 1
|
||||
- m_ElementType: 1
|
||||
m_Unicode: 101
|
||||
m_GlyphIndex: 72
|
||||
m_Scale: 1
|
||||
- m_ElementType: 1
|
||||
m_Unicode: 108
|
||||
m_GlyphIndex: 79
|
||||
m_Scale: 1
|
||||
- m_ElementType: 1
|
||||
m_Unicode: 111
|
||||
m_GlyphIndex: 82
|
||||
m_Scale: 1
|
||||
- m_ElementType: 1
|
||||
m_Unicode: 115
|
||||
m_GlyphIndex: 86
|
||||
m_Scale: 1
|
||||
- m_ElementType: 1
|
||||
m_Unicode: 117
|
||||
m_GlyphIndex: 88
|
||||
m_Scale: 1
|
||||
- m_ElementType: 1
|
||||
m_Unicode: 8230
|
||||
m_GlyphIndex: 2030
|
||||
m_Scale: 1
|
||||
m_GlyphTable: []
|
||||
m_CharacterTable: []
|
||||
m_AtlasTextures:
|
||||
- {fileID: 28268798066460806}
|
||||
m_AtlasTextureIndex: 0
|
||||
m_IsMultiAtlasTexturesEnabled: 0
|
||||
m_ClearDynamicDataOnBuild: 1
|
||||
m_UsedGlyphRects:
|
||||
- m_X: 0
|
||||
m_Y: 0
|
||||
m_Width: 83
|
||||
m_Height: 28
|
||||
- m_X: 83
|
||||
m_Y: 0
|
||||
m_Width: 70
|
||||
m_Height: 25
|
||||
- m_X: 153
|
||||
m_Y: 0
|
||||
m_Width: 74
|
||||
m_Height: 80
|
||||
- m_X: 83
|
||||
m_Y: 25
|
||||
m_Width: 28
|
||||
m_Height: 81
|
||||
- m_X: 0
|
||||
m_Y: 28
|
||||
m_Width: 64
|
||||
m_Height: 66
|
||||
- m_X: 0
|
||||
m_Y: 94
|
||||
m_Width: 57
|
||||
m_Height: 65
|
||||
- m_X: 227
|
||||
m_Y: 0
|
||||
m_Width: 59
|
||||
m_Height: 82
|
||||
- m_X: 111
|
||||
m_Y: 80
|
||||
m_Width: 61
|
||||
m_Height: 66
|
||||
- m_X: 111
|
||||
m_Y: 25
|
||||
m_Width: 27
|
||||
m_Height: 38
|
||||
- m_X: 286
|
||||
m_Y: 0
|
||||
m_Width: 57
|
||||
m_Height: 66
|
||||
- m_X: 343
|
||||
m_Y: 0
|
||||
m_Width: 67
|
||||
m_Height: 78
|
||||
- m_X: 410
|
||||
m_Y: 0
|
||||
m_Width: 61
|
||||
m_Height: 66
|
||||
m_UsedGlyphRects: []
|
||||
m_FreeGlyphRects:
|
||||
- m_X: 64
|
||||
m_Y: 28
|
||||
m_Width: 19
|
||||
m_Height: 483
|
||||
- m_X: 0
|
||||
m_Y: 159
|
||||
m_Width: 511
|
||||
m_Height: 352
|
||||
- m_X: 57
|
||||
m_Y: 94
|
||||
m_Width: 26
|
||||
m_Height: 417
|
||||
- m_X: 57
|
||||
m_Y: 146
|
||||
m_Width: 454
|
||||
m_Height: 365
|
||||
- m_X: 57
|
||||
m_Y: 106
|
||||
m_Width: 54
|
||||
m_Height: 405
|
||||
- m_X: 172
|
||||
m_Y: 82
|
||||
m_Width: 339
|
||||
m_Height: 429
|
||||
- m_X: 172
|
||||
m_Y: 80
|
||||
m_Width: 55
|
||||
m_Height: 431
|
||||
- m_X: 111
|
||||
m_Y: 63
|
||||
m_Width: 42
|
||||
m_Height: 17
|
||||
- m_X: 138
|
||||
m_Y: 25
|
||||
m_Width: 15
|
||||
m_Height: 55
|
||||
- m_X: 286
|
||||
m_Y: 78
|
||||
m_Width: 225
|
||||
m_Height: 433
|
||||
- m_X: 286
|
||||
m_Y: 66
|
||||
m_Width: 57
|
||||
m_Height: 445
|
||||
- m_X: 410
|
||||
m_Y: 66
|
||||
m_Width: 101
|
||||
m_Height: 445
|
||||
- m_X: 471
|
||||
m_Y: 0
|
||||
m_Width: 40
|
||||
m_Width: 511
|
||||
m_Height: 511
|
||||
m_fontInfo:
|
||||
Name: Liberation Sans
|
||||
@@ -665,9 +322,9 @@ Texture2D:
|
||||
m_DownscaleFallback: 0
|
||||
m_IsAlphaChannelOptional: 0
|
||||
serializedVersion: 2
|
||||
m_Width: 512
|
||||
m_Height: 512
|
||||
m_CompleteImageSize: 262144
|
||||
m_Width: 0
|
||||
m_Height: 0
|
||||
m_CompleteImageSize: 0
|
||||
m_MipsStripped: 0
|
||||
m_TextureFormat: 1
|
||||
m_MipCount: 1
|
||||
@@ -692,8 +349,8 @@ Texture2D:
|
||||
m_LightmapFormat: 0
|
||||
m_ColorSpace: 0
|
||||
m_PlatformBlob:
|
||||
image data: 262144
|
||||
_typelessdata: 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004080a0b1313131313131311110e0b060100000000000000000004090e11121313131313131313070705010000000000000000000000060b0e1011131313131313130a0a080400000000000000000000000000020507080c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0b090601000000000000000000000000000000000000000000000000000000000000000000040607090b0d0f1111121313121111100d0b08060603000000000000000000000000000000000000000000000000000000000000000000000000000000000000020608080c0f111213131312100e0c0807050200000002040406060606060600000000000000000000000000000000000000000000000000000000030608090b0d0f1112121313121211100e0c0a0706040100000000000000000000000000000000000000000002080d101213131313131313130707040100000000000000000000000000000000000000000000000000030613131313131313131313120f0a05000000000000000000000000000000000000000000000000000406070a0d0f11121313131212100e0c09060603000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000050c11141717202020202020201e1d1b17120c0400000000000000080f151a1d1f20202020202020201413110d080200000000000000040b11171a1d1e20202020202020171614100b0500000000000000000003090e12141519191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191816120d07000000000000000000000000000000000000000000000000000000000104070c10121316181a1c1d1e1f1f201f1e1d1c1a181513120f0b06030000000000000000000000000000000000000000000000000000000000000000000000000003090e121415191b1d1f1f201f1f1d1b191514120e09030b0e10111313131313130b0b090501000000000000000000000000000000000000000003070a0f121515181a1c1e1e1f1f201f1f1e1d1b19161413110d0804000000000000000000000000000000000000060d14191c1f1f202020202020201413110d0801000000000000000000000000000000000000000000060c1012202020202020202020201e1b16100901000000000000000000000000000000000000000001070c10131416191c1d1f1f20201f1e1d1b191613120f0b060000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000810171c2123242d2d2d2d2d2d2d2b2a27231d160e06000000000009121920262a2c2c2d2d2d2d2d2d2d21201d19130c050000000000050e161d22272a2a2d2d2d2d2d2d2d2423201c17100800000000000000060d141a1e2122262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262525221e1811090100000000000000000000000000000000000000000000000001080d1113181c1f20222527292a2b2c2c2c2c2b2a29272422201f1c1712100c06000000000000000000000000000000000000000000000000000000000000000000060b0f151a1e212225282a2c2c2d2c2b2a282522211e1a1410171b1d1e202020202020181715110c060000000000000000000000000000000000040a0f13151b1f21222527292a2b2c2c2d2c2b2b2a28262321201d1913100c070100000000000000000000000000000810181f25292b2c2d2d2d2d2d2d2d2d201d19130c04000000000000000000000000000000000000030a11171c1f2d2d2d2d2d2d2d2d2d2d2b27211b130a010000000000000000000000000000000000040a0f12181c1f202326282a2b2c2c2c2c2b2a282523201f1c17110f0a03000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008121a22282d3031393939393939393837332e2820180e0400000008121b242b31363839393939393939392e2d2a251e160e05000000040e1720272e3336373939393939393931302d28221a11080000000000060f181f262a2d2e3232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232312e29231b13090000000000000000000000000000000000000000000003090e13191d2023282c2d2f31333637383839393838373634312f2d2b28221f1c17110d080200000000000000000000000000000000000000000000000000000000020a11171b1f262b2e2f32353738393939383735322e2d2b261f1c23272a2b2d2d2d2d2d2d2524211d1811090000000000000000000000000000040b10161b1f22262b2e2f3233353738383939393837373532302d2c29241f1d18120b0600000000000000000000000006101a222a3035383939393939393939392c29241e160d0400000000000000000000000000000000030c151c23282c3939393939393939393937332c251c1309000000000000000000000000000000040a0f161b1d23292c2d303335373839393939Line truncated
|
||||
image data: 0
|
||||
_typelessdata:
|
||||
m_StreamData:
|
||||
serializedVersion: 2
|
||||
offset: 0
|
||||
|
||||
Reference in new issue
Block a user