Race customization and data saving
| 
						 | 
				
			
			@ -63,9 +63,11 @@
 | 
			
		|||
    </Reference>
 | 
			
		||||
  </ItemGroup>
 | 
			
		||||
  <ItemGroup>
 | 
			
		||||
    <Compile Include="Assets\ActorManipulator.cs" />
 | 
			
		||||
    <Compile Include="Assets\Scripts\AdvancedPolygonCollider\AdvancedPolygonCollider.cs" />
 | 
			
		||||
    <Compile Include="Assets\Scripts\AdvancedPolygonCollider\AdvancedPolygonColliderUtilities.cs" />
 | 
			
		||||
    <Compile Include="Assets\Scripts\AnimationComponents\Actor.cs" />
 | 
			
		||||
    <Compile Include="Assets\Scripts\AnimationComponents\AlienRaceDef.cs" />
 | 
			
		||||
    <Compile Include="Assets\Scripts\AnimationComponents\AlienRaceOffset.cs" />
 | 
			
		||||
    <Compile Include="Assets\Scripts\AnimationComponents\AnimationClips\AnimationClip.cs" />
 | 
			
		||||
    <Compile Include="Assets\Scripts\AnimationComponents\AnimationClips\PawnAnimationClip.cs" />
 | 
			
		||||
| 
						 | 
				
			
			@ -77,7 +79,9 @@
 | 
			
		|||
    <Compile Include="Assets\Scripts\AnimationComponents\KeyFrames\Keyframe.cs" />
 | 
			
		||||
    <Compile Include="Assets\Scripts\AnimationComponents\KeyFrames\PawnKeyframe.cs" />
 | 
			
		||||
    <Compile Include="Assets\Scripts\AnimationComponents\KeyFrames\ThingKeyFrame.cs" />
 | 
			
		||||
    <Compile Include="Assets\Scripts\AnimationComponents\MultiDirectionalGraphic.cs" />
 | 
			
		||||
    <Compile Include="Assets\Scripts\Chaser.cs" />
 | 
			
		||||
    <Compile Include="Assets\Scripts\DirectionalGraphic.cs" />
 | 
			
		||||
    <Compile Include="Assets\Scripts\Extensions\IListExtensions.cs" />
 | 
			
		||||
    <Compile Include="Assets\Scripts\Extensions\ObjectExtensions.cs" />
 | 
			
		||||
    <Compile Include="Assets\Scripts\Extensions\TransformExtensions.cs" />
 | 
			
		||||
| 
						 | 
				
			
			@ -90,13 +94,13 @@
 | 
			
		|||
    <Compile Include="Assets\Scripts\GUI\AnimationTimeline.cs" />
 | 
			
		||||
    <Compile Include="Assets\Scripts\GUI\DialogBoxes\ConsoleMessagesDialog.cs" />
 | 
			
		||||
    <Compile Include="Assets\Scripts\GUI\DialogBoxes\DialogBox.cs" />
 | 
			
		||||
    <Compile Include="Assets\Scripts\GUI\DialogBoxes\RaceSettingsDialog.cs" />
 | 
			
		||||
    <Compile Include="Assets\Scripts\GUI\DialogBoxes\SelectActorLayerDialog.cs" />
 | 
			
		||||
    <Compile Include="Assets\Scripts\GUI\DialogBoxes\SelectAnimationDialog.cs" />
 | 
			
		||||
    <Compile Include="Assets\Scripts\GUI\DialogBoxes\SelectBodyDefTypesDialog.cs" />
 | 
			
		||||
    <Compile Include="Assets\Scripts\GUI\DialogBoxes\SelectBodyPartsDialog.cs" />
 | 
			
		||||
    <Compile Include="Assets\Scripts\GUI\DialogBoxes\SelectDefNamesDialog.cs" />
 | 
			
		||||
    <Compile Include="Assets\Scripts\GUI\DialogBoxes\SelectInteractionDefsDialog.cs" />
 | 
			
		||||
    <Compile Include="Assets\Scripts\GUI\DialogBoxes\SelectRaceDialog.cs" />
 | 
			
		||||
    <Compile Include="Assets\Scripts\GUI\DialogBoxes\SelectSexTypesDialog.cs" />
 | 
			
		||||
    <Compile Include="Assets\Scripts\GUI\DialogBoxes\SelectSoundDefDialog.cs" />
 | 
			
		||||
    <Compile Include="Assets\Scripts\GUI\KeyframeSlider.cs" />
 | 
			
		||||
| 
						 | 
				
			
			@ -131,6 +135,8 @@
 | 
			
		|||
    <Compile Include="Assets\Scripts\Utilities\XmlUtility.cs" />
 | 
			
		||||
    <Compile Include="Assets\Scripts\Workspace\HistoricRecord.cs" />
 | 
			
		||||
    <Compile Include="Assets\Scripts\Workspace\Workspace.cs" />
 | 
			
		||||
    <Compile Include="Assets\SelectRaceDropdown.cs" />
 | 
			
		||||
    <None Include="Assets\StreamingAssets\alienRaceDefs.xml" />
 | 
			
		||||
    <None Include="Assets\StreamingAssets\AnimationDefs\newAnimationDef.xml" />
 | 
			
		||||
    <None Include="Assets\StreamingAssets\customTags.xml" />
 | 
			
		||||
    <Reference Include="UnityEngine">
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										28
									
								
								Assets/ActorManipulator.cs
									
										
									
									
									
										Normal file
									
								
							
							
						
						| 
						 | 
				
			
			@ -0,0 +1,28 @@
 | 
			
		|||
using System.Collections;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
using UnityEngine;
 | 
			
		||||
using UnityEngine.UI;
 | 
			
		||||
 | 
			
		||||
namespace RimWorldAnimationStudio
 | 
			
		||||
{
 | 
			
		||||
    public class ActorManipulator : MonoBehaviour
 | 
			
		||||
    {
 | 
			
		||||
        public ActorManipulationMode actorManipulationMode;
 | 
			
		||||
 | 
			
		||||
        private Image button;
 | 
			
		||||
 | 
			
		||||
        public void Start()
 | 
			
		||||
        {
 | 
			
		||||
            button = GetComponent<Image>();
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        public void Update()
 | 
			
		||||
        {
 | 
			
		||||
            if (Workspace.actorManipulationMode == actorManipulationMode)
 | 
			
		||||
            { button.color = Constants.ColorGoldYellow; }
 | 
			
		||||
 | 
			
		||||
            else
 | 
			
		||||
            { button.color = Constants.ColorWhite; }
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										11
									
								
								Assets/ActorManipulator.cs.meta
									
										
									
									
									
										Normal file
									
								
							
							
						
						| 
						 | 
				
			
			@ -0,0 +1,11 @@
 | 
			
		|||
fileFormatVersion: 2
 | 
			
		||||
guid: f627be313335bf748b33eea98541581d
 | 
			
		||||
MonoImporter:
 | 
			
		||||
  externalObjects: {}
 | 
			
		||||
  serializedVersion: 2
 | 
			
		||||
  defaultReferences: []
 | 
			
		||||
  executionOrder: 0
 | 
			
		||||
  icon: {instanceID: 0}
 | 
			
		||||
  userData: 
 | 
			
		||||
  assetBundleName: 
 | 
			
		||||
  assetBundleVariant: 
 | 
			
		||||
| 
						 | 
				
			
			@ -1,5 +1,159 @@
 | 
			
		|||
%YAML 1.1
 | 
			
		||||
%TAG !u! tag:unity3d.com,2011:
 | 
			
		||||
--- !u!1 &3158459618386162366
 | 
			
		||||
GameObject:
 | 
			
		||||
  m_ObjectHideFlags: 0
 | 
			
		||||
  m_CorrespondingSourceObject: {fileID: 0}
 | 
			
		||||
  m_PrefabInstance: {fileID: 0}
 | 
			
		||||
  m_PrefabAsset: {fileID: 0}
 | 
			
		||||
  serializedVersion: 6
 | 
			
		||||
  m_Component:
 | 
			
		||||
  - component: {fileID: 7516402502875270591}
 | 
			
		||||
  - component: {fileID: 5996161745621340017}
 | 
			
		||||
  - component: {fileID: 4934178213527836817}
 | 
			
		||||
  - component: {fileID: 7811055239270456900}
 | 
			
		||||
  m_Layer: 0
 | 
			
		||||
  m_Name: ActorBody
 | 
			
		||||
  m_TagString: Untagged
 | 
			
		||||
  m_Icon: {fileID: 0}
 | 
			
		||||
  m_NavMeshLayer: 0
 | 
			
		||||
  m_StaticEditorFlags: 0
 | 
			
		||||
  m_IsActive: 1
 | 
			
		||||
--- !u!4 &7516402502875270591
 | 
			
		||||
Transform:
 | 
			
		||||
  m_ObjectHideFlags: 0
 | 
			
		||||
  m_CorrespondingSourceObject: {fileID: 0}
 | 
			
		||||
  m_PrefabInstance: {fileID: 0}
 | 
			
		||||
  m_PrefabAsset: {fileID: 0}
 | 
			
		||||
  m_GameObject: {fileID: 3158459618386162366}
 | 
			
		||||
  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_Children: []
 | 
			
		||||
  m_Father: {fileID: 7929422520673851209}
 | 
			
		||||
  m_RootOrder: 0
 | 
			
		||||
  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
 | 
			
		||||
--- !u!212 &5996161745621340017
 | 
			
		||||
SpriteRenderer:
 | 
			
		||||
  m_ObjectHideFlags: 0
 | 
			
		||||
  m_CorrespondingSourceObject: {fileID: 0}
 | 
			
		||||
  m_PrefabInstance: {fileID: 0}
 | 
			
		||||
  m_PrefabAsset: {fileID: 0}
 | 
			
		||||
  m_GameObject: {fileID: 3158459618386162366}
 | 
			
		||||
  m_Enabled: 1
 | 
			
		||||
  m_CastShadows: 0
 | 
			
		||||
  m_ReceiveShadows: 0
 | 
			
		||||
  m_DynamicOccludee: 1
 | 
			
		||||
  m_MotionVectors: 1
 | 
			
		||||
  m_LightProbeUsage: 1
 | 
			
		||||
  m_ReflectionProbeUsage: 1
 | 
			
		||||
  m_RayTracingMode: 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: -2115984483
 | 
			
		||||
  m_SortingLayer: 22
 | 
			
		||||
  m_SortingOrder: 0
 | 
			
		||||
  m_Sprite: {fileID: 21300000, guid: e6887bc2f64df4d4b91bd2d0ad0ffd98, 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.5058824, y: 1.5058824}
 | 
			
		||||
  m_AdaptiveModeThreshold: 0.5
 | 
			
		||||
  m_SpriteTileMode: 0
 | 
			
		||||
  m_WasSpriteAssigned: 0
 | 
			
		||||
  m_MaskInteraction: 0
 | 
			
		||||
  m_SpriteSortPoint: 0
 | 
			
		||||
--- !u!60 &4934178213527836817
 | 
			
		||||
PolygonCollider2D:
 | 
			
		||||
  m_ObjectHideFlags: 0
 | 
			
		||||
  m_CorrespondingSourceObject: {fileID: 0}
 | 
			
		||||
  m_PrefabInstance: {fileID: 0}
 | 
			
		||||
  m_PrefabAsset: {fileID: 0}
 | 
			
		||||
  m_GameObject: {fileID: 3158459618386162366}
 | 
			
		||||
  m_Enabled: 1
 | 
			
		||||
  m_Density: 1
 | 
			
		||||
  m_Material: {fileID: 0}
 | 
			
		||||
  m_IsTrigger: 0
 | 
			
		||||
  m_UsedByEffector: 0
 | 
			
		||||
  m_UsedByComposite: 0
 | 
			
		||||
  m_Offset: {x: 0, y: 0}
 | 
			
		||||
  m_SpriteTilingProperty:
 | 
			
		||||
    border: {x: 0, y: 0, z: 0, w: 0}
 | 
			
		||||
    pivot: {x: 0.5, y: 0.5}
 | 
			
		||||
    oldSize: {x: 1.5058824, y: 1.5058824}
 | 
			
		||||
    newSize: {x: 1.5058824, y: 1.5058824}
 | 
			
		||||
    adaptiveTilingThreshold: 0.5
 | 
			
		||||
    drawMode: 0
 | 
			
		||||
    adaptiveTiling: 0
 | 
			
		||||
  m_AutoTiling: 0
 | 
			
		||||
  m_Points:
 | 
			
		||||
    m_Paths:
 | 
			
		||||
    - - {x: -0.11176471, y: -0.5117647}
 | 
			
		||||
      - {x: 0.1, y: -0.5117647}
 | 
			
		||||
      - {x: 0.20588236, y: -0.44117647}
 | 
			
		||||
      - {x: 0.3, y: -0.052941177}
 | 
			
		||||
      - {x: 0.2882353, y: 0.12352941}
 | 
			
		||||
      - {x: 0.21764706, y: 0.20588236}
 | 
			
		||||
      - {x: -0.04117647, y: 0.24117647}
 | 
			
		||||
      - {x: -0.19411765, y: 0.21764706}
 | 
			
		||||
      - {x: -0.2764706, y: 0.15882353}
 | 
			
		||||
      - {x: -0.3, y: -0.07647059}
 | 
			
		||||
      - {x: -0.21764706, y: -0.41764706}
 | 
			
		||||
      - {x: -0.17058824, y: -0.4882353}
 | 
			
		||||
--- !u!114 &7811055239270456900
 | 
			
		||||
MonoBehaviour:
 | 
			
		||||
  m_ObjectHideFlags: 0
 | 
			
		||||
  m_CorrespondingSourceObject: {fileID: 0}
 | 
			
		||||
  m_PrefabInstance: {fileID: 0}
 | 
			
		||||
  m_PrefabAsset: {fileID: 0}
 | 
			
		||||
  m_GameObject: {fileID: 3158459618386162366}
 | 
			
		||||
  m_Enabled: 1
 | 
			
		||||
  m_EditorHideFlags: 0
 | 
			
		||||
  m_Script: {fileID: 11500000, guid: 8c55c83d4c4dd1145ad5fbbab3c3df36, type: 3}
 | 
			
		||||
  m_Name: 
 | 
			
		||||
  m_EditorClassIdentifier: 
 | 
			
		||||
  AlphaTolerance: 20
 | 
			
		||||
  DistanceThreshold: 2
 | 
			
		||||
  Scale: 1
 | 
			
		||||
  Decompose: 0
 | 
			
		||||
  RunInPlayMode: 1
 | 
			
		||||
  UseCache: 0
 | 
			
		||||
  lastAlphaTolerance: 20
 | 
			
		||||
  lastScale: 1
 | 
			
		||||
  lastDistanceThreshold: 2
 | 
			
		||||
  lastDecompose: 0
 | 
			
		||||
  lastSprite: {fileID: 0}
 | 
			
		||||
  lastRect:
 | 
			
		||||
    serializedVersion: 2
 | 
			
		||||
    x: 0
 | 
			
		||||
    y: 0
 | 
			
		||||
    width: 0
 | 
			
		||||
    height: 0
 | 
			
		||||
  lastOffset: {x: -99999, y: -99999}
 | 
			
		||||
  lastPixelsPerUnit: 0
 | 
			
		||||
  lastFlipX: 0
 | 
			
		||||
  lastFlipY: 0
 | 
			
		||||
  editorCache: []
 | 
			
		||||
--- !u!1 &7929422519883802246
 | 
			
		||||
GameObject:
 | 
			
		||||
  m_ObjectHideFlags: 0
 | 
			
		||||
| 
						 | 
				
			
			@ -32,7 +186,7 @@ Transform:
 | 
			
		|||
  m_LocalScale: {x: 1, y: 1, z: 1}
 | 
			
		||||
  m_Children: []
 | 
			
		||||
  m_Father: {fileID: 7929422520673851209}
 | 
			
		||||
  m_RootOrder: 0
 | 
			
		||||
  m_RootOrder: 1
 | 
			
		||||
  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
 | 
			
		||||
--- !u!212 &7929422519883802244
 | 
			
		||||
SpriteRenderer:
 | 
			
		||||
| 
						 | 
				
			
			@ -81,7 +235,7 @@ SpriteRenderer:
 | 
			
		|||
  m_Size: {x: 0.64, y: 0.64}
 | 
			
		||||
  m_AdaptiveModeThreshold: 0.5
 | 
			
		||||
  m_SpriteTileMode: 0
 | 
			
		||||
  m_WasSpriteAssigned: 1
 | 
			
		||||
  m_WasSpriteAssigned: 0
 | 
			
		||||
  m_MaskInteraction: 0
 | 
			
		||||
  m_SpriteSortPoint: 0
 | 
			
		||||
--- !u!60 &9094326343171681927
 | 
			
		||||
| 
						 | 
				
			
			@ -180,9 +334,6 @@ GameObject:
 | 
			
		|||
  serializedVersion: 6
 | 
			
		||||
  m_Component:
 | 
			
		||||
  - component: {fileID: 7929422520673851209}
 | 
			
		||||
  - component: {fileID: 7929422520673851208}
 | 
			
		||||
  - component: {fileID: 4571872096250432618}
 | 
			
		||||
  - component: {fileID: 1604891790409609302}
 | 
			
		||||
  - component: {fileID: -4411442180840688308}
 | 
			
		||||
  m_Layer: 0
 | 
			
		||||
  m_Name: ActorBody
 | 
			
		||||
| 
						 | 
				
			
			@ -202,132 +353,12 @@ Transform:
 | 
			
		|||
  m_LocalPosition: {x: 0, y: 0, z: 0}
 | 
			
		||||
  m_LocalScale: {x: 1, y: 1, z: 1}
 | 
			
		||||
  m_Children:
 | 
			
		||||
  - {fileID: 7516402502875270591}
 | 
			
		||||
  - {fileID: 7929422519883802245}
 | 
			
		||||
  - {fileID: 4090857286061458930}
 | 
			
		||||
  m_Father: {fileID: 0}
 | 
			
		||||
  m_RootOrder: 0
 | 
			
		||||
  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
 | 
			
		||||
--- !u!212 &7929422520673851208
 | 
			
		||||
SpriteRenderer:
 | 
			
		||||
  m_ObjectHideFlags: 0
 | 
			
		||||
  m_CorrespondingSourceObject: {fileID: 0}
 | 
			
		||||
  m_PrefabInstance: {fileID: 0}
 | 
			
		||||
  m_PrefabAsset: {fileID: 0}
 | 
			
		||||
  m_GameObject: {fileID: 7929422520673851210}
 | 
			
		||||
  m_Enabled: 1
 | 
			
		||||
  m_CastShadows: 0
 | 
			
		||||
  m_ReceiveShadows: 0
 | 
			
		||||
  m_DynamicOccludee: 1
 | 
			
		||||
  m_MotionVectors: 1
 | 
			
		||||
  m_LightProbeUsage: 1
 | 
			
		||||
  m_ReflectionProbeUsage: 1
 | 
			
		||||
  m_RayTracingMode: 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: -2115984483
 | 
			
		||||
  m_SortingLayer: 22
 | 
			
		||||
  m_SortingOrder: 0
 | 
			
		||||
  m_Sprite: {fileID: 21300000, guid: e6887bc2f64df4d4b91bd2d0ad0ffd98, 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.5058824, y: 1.5058824}
 | 
			
		||||
  m_AdaptiveModeThreshold: 0.5
 | 
			
		||||
  m_SpriteTileMode: 0
 | 
			
		||||
  m_WasSpriteAssigned: 1
 | 
			
		||||
  m_MaskInteraction: 0
 | 
			
		||||
  m_SpriteSortPoint: 0
 | 
			
		||||
--- !u!60 &4571872096250432618
 | 
			
		||||
PolygonCollider2D:
 | 
			
		||||
  m_ObjectHideFlags: 0
 | 
			
		||||
  m_CorrespondingSourceObject: {fileID: 0}
 | 
			
		||||
  m_PrefabInstance: {fileID: 0}
 | 
			
		||||
  m_PrefabAsset: {fileID: 0}
 | 
			
		||||
  m_GameObject: {fileID: 7929422520673851210}
 | 
			
		||||
  m_Enabled: 1
 | 
			
		||||
  m_Density: 1
 | 
			
		||||
  m_Material: {fileID: 0}
 | 
			
		||||
  m_IsTrigger: 0
 | 
			
		||||
  m_UsedByEffector: 0
 | 
			
		||||
  m_UsedByComposite: 0
 | 
			
		||||
  m_Offset: {x: 0, y: 0}
 | 
			
		||||
  m_SpriteTilingProperty:
 | 
			
		||||
    border: {x: 0, y: 0, z: 0, w: 0}
 | 
			
		||||
    pivot: {x: 0.5, y: 0.5}
 | 
			
		||||
    oldSize: {x: 1.5058824, y: 1.5058824}
 | 
			
		||||
    newSize: {x: 1.5058824, y: 1.5058824}
 | 
			
		||||
    adaptiveTilingThreshold: 0.5
 | 
			
		||||
    drawMode: 0
 | 
			
		||||
    adaptiveTiling: 0
 | 
			
		||||
  m_AutoTiling: 0
 | 
			
		||||
  m_Points:
 | 
			
		||||
    m_Paths:
 | 
			
		||||
    - - {x: -0.11176471, y: -0.5117647}
 | 
			
		||||
      - {x: 0.1, y: -0.5117647}
 | 
			
		||||
      - {x: 0.20588236, y: -0.44117647}
 | 
			
		||||
      - {x: 0.3, y: -0.052941177}
 | 
			
		||||
      - {x: 0.2882353, y: 0.12352941}
 | 
			
		||||
      - {x: 0.21764706, y: 0.20588236}
 | 
			
		||||
      - {x: -0.04117647, y: 0.24117647}
 | 
			
		||||
      - {x: -0.19411765, y: 0.21764706}
 | 
			
		||||
      - {x: -0.2764706, y: 0.15882353}
 | 
			
		||||
      - {x: -0.3, y: -0.07647059}
 | 
			
		||||
      - {x: -0.21764706, y: -0.41764706}
 | 
			
		||||
      - {x: -0.17058824, y: -0.4882353}
 | 
			
		||||
--- !u!114 &1604891790409609302
 | 
			
		||||
MonoBehaviour:
 | 
			
		||||
  m_ObjectHideFlags: 0
 | 
			
		||||
  m_CorrespondingSourceObject: {fileID: 0}
 | 
			
		||||
  m_PrefabInstance: {fileID: 0}
 | 
			
		||||
  m_PrefabAsset: {fileID: 0}
 | 
			
		||||
  m_GameObject: {fileID: 7929422520673851210}
 | 
			
		||||
  m_Enabled: 1
 | 
			
		||||
  m_EditorHideFlags: 0
 | 
			
		||||
  m_Script: {fileID: 11500000, guid: 8c55c83d4c4dd1145ad5fbbab3c3df36, type: 3}
 | 
			
		||||
  m_Name: 
 | 
			
		||||
  m_EditorClassIdentifier: 
 | 
			
		||||
  AlphaTolerance: 19
 | 
			
		||||
  DistanceThreshold: 2
 | 
			
		||||
  Scale: 1
 | 
			
		||||
  Decompose: 0
 | 
			
		||||
  RunInPlayMode: 1
 | 
			
		||||
  UseCache: 0
 | 
			
		||||
  lastAlphaTolerance: 19
 | 
			
		||||
  lastScale: 1
 | 
			
		||||
  lastDistanceThreshold: 2
 | 
			
		||||
  lastDecompose: 0
 | 
			
		||||
  lastSprite: {fileID: 21300000, guid: e6887bc2f64df4d4b91bd2d0ad0ffd98, type: 3}
 | 
			
		||||
  lastRect:
 | 
			
		||||
    serializedVersion: 2
 | 
			
		||||
    x: 0
 | 
			
		||||
    y: 0
 | 
			
		||||
    width: 128
 | 
			
		||||
    height: 128
 | 
			
		||||
  lastOffset: {x: 64, y: 64}
 | 
			
		||||
  lastPixelsPerUnit: 85
 | 
			
		||||
  lastFlipX: 0
 | 
			
		||||
  lastFlipY: 0
 | 
			
		||||
  editorCache: []
 | 
			
		||||
--- !u!114 &-4411442180840688308
 | 
			
		||||
MonoBehaviour:
 | 
			
		||||
  m_ObjectHideFlags: 0
 | 
			
		||||
| 
						 | 
				
			
			@ -343,7 +374,7 @@ MonoBehaviour:
 | 
			
		|||
  actorID: 0
 | 
			
		||||
  bodyType: Male
 | 
			
		||||
  isSelected: 0
 | 
			
		||||
  bodyRenderer: {fileID: 7929422520673851208}
 | 
			
		||||
  bodyRenderer: {fileID: 5996161745621340017}
 | 
			
		||||
  headRenderer: {fileID: 7929422519883802244}
 | 
			
		||||
  appendageRenderer: {fileID: 4251726083449519904}
 | 
			
		||||
--- !u!1 &9122292209377678227
 | 
			
		||||
| 
						 | 
				
			
			@ -378,7 +409,7 @@ Transform:
 | 
			
		|||
  m_LocalScale: {x: 1, y: 1, z: 1}
 | 
			
		||||
  m_Children: []
 | 
			
		||||
  m_Father: {fileID: 7929422520673851209}
 | 
			
		||||
  m_RootOrder: 1
 | 
			
		||||
  m_RootOrder: 2
 | 
			
		||||
  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
 | 
			
		||||
--- !u!212 &4251726083449519904
 | 
			
		||||
SpriteRenderer:
 | 
			
		||||
| 
						 | 
				
			
			@ -424,7 +455,7 @@ SpriteRenderer:
 | 
			
		|||
  m_FlipX: 0
 | 
			
		||||
  m_FlipY: 0
 | 
			
		||||
  m_DrawMode: 0
 | 
			
		||||
  m_Size: {x: 0.64, y: 0.64}
 | 
			
		||||
  m_Size: {x: 1.3837838, y: 1.3837838}
 | 
			
		||||
  m_AdaptiveModeThreshold: 0.5
 | 
			
		||||
  m_SpriteTileMode: 0
 | 
			
		||||
  m_WasSpriteAssigned: 1
 | 
			
		||||
| 
						 | 
				
			
			@ -448,7 +479,7 @@ PolygonCollider2D:
 | 
			
		|||
    border: {x: 0, y: 0, z: 0, w: 0}
 | 
			
		||||
    pivot: {x: 0.5, y: 0.5}
 | 
			
		||||
    oldSize: {x: 1.3837838, y: 1.3837838}
 | 
			
		||||
    newSize: {x: 0.64, y: 0.64}
 | 
			
		||||
    newSize: {x: 1.3837838, y: 1.3837838}
 | 
			
		||||
    adaptiveTilingThreshold: 0.5
 | 
			
		||||
    drawMode: 0
 | 
			
		||||
    adaptiveTiling: 0
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -239,7 +239,7 @@ MonoBehaviour:
 | 
			
		|||
    type: 3}
 | 
			
		||||
  handleImage: {fileID: 1135382459109805448}
 | 
			
		||||
  soundIcon: {fileID: 3845252506739069817}
 | 
			
		||||
  maxGhosts: 4
 | 
			
		||||
  maxGhosts: 50
 | 
			
		||||
  actorID: 0
 | 
			
		||||
  keyframeID: 0
 | 
			
		||||
--- !u!1 &8359461402257861397
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										8
									
								
								Assets/Resources/Prefabs/RaceDialogPrefabs.meta
									
										
									
									
									
										Normal file
									
								
							
							
						
						| 
						 | 
				
			
			@ -0,0 +1,8 @@
 | 
			
		|||
fileFormatVersion: 2
 | 
			
		||||
guid: 8bf51215edca6c14b9721bb7f8cdfee0
 | 
			
		||||
folderAsset: yes
 | 
			
		||||
DefaultImporter:
 | 
			
		||||
  externalObjects: {}
 | 
			
		||||
  userData: 
 | 
			
		||||
  assetBundleName: 
 | 
			
		||||
  assetBundleVariant: 
 | 
			
		||||
							
								
								
									
										278
									
								
								Assets/Resources/Prefabs/RaceDialogPrefabs/GraphicPath.prefab
									
										
									
									
									
										Normal file
									
								
							
							
						
						| 
						 | 
				
			
			@ -0,0 +1,278 @@
 | 
			
		|||
%YAML 1.1
 | 
			
		||||
%TAG !u! tag:unity3d.com,2011:
 | 
			
		||||
--- !u!1 &3650911576013355421
 | 
			
		||||
GameObject:
 | 
			
		||||
  m_ObjectHideFlags: 0
 | 
			
		||||
  m_CorrespondingSourceObject: {fileID: 0}
 | 
			
		||||
  m_PrefabInstance: {fileID: 0}
 | 
			
		||||
  m_PrefabAsset: {fileID: 0}
 | 
			
		||||
  serializedVersion: 6
 | 
			
		||||
  m_Component:
 | 
			
		||||
  - component: {fileID: 3650911576013355420}
 | 
			
		||||
  - component: {fileID: 3650911576013355422}
 | 
			
		||||
  - component: {fileID: 3650911576013355423}
 | 
			
		||||
  m_Layer: 5
 | 
			
		||||
  m_Name: GraphicPath
 | 
			
		||||
  m_TagString: Untagged
 | 
			
		||||
  m_Icon: {fileID: 0}
 | 
			
		||||
  m_NavMeshLayer: 0
 | 
			
		||||
  m_StaticEditorFlags: 0
 | 
			
		||||
  m_IsActive: 1
 | 
			
		||||
--- !u!224 &3650911576013355420
 | 
			
		||||
RectTransform:
 | 
			
		||||
  m_ObjectHideFlags: 0
 | 
			
		||||
  m_CorrespondingSourceObject: {fileID: 0}
 | 
			
		||||
  m_PrefabInstance: {fileID: 0}
 | 
			
		||||
  m_PrefabAsset: {fileID: 0}
 | 
			
		||||
  m_GameObject: {fileID: 3650911576013355421}
 | 
			
		||||
  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_Children:
 | 
			
		||||
  - {fileID: 3650911576026333926}
 | 
			
		||||
  m_Father: {fileID: 0}
 | 
			
		||||
  m_RootOrder: 0
 | 
			
		||||
  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
 | 
			
		||||
  m_AnchorMin: {x: 0, y: 0}
 | 
			
		||||
  m_AnchorMax: {x: 0, y: 0}
 | 
			
		||||
  m_AnchoredPosition: {x: 0, y: 0}
 | 
			
		||||
  m_SizeDelta: {x: 0, y: 30}
 | 
			
		||||
  m_Pivot: {x: 0.5, y: 0.5}
 | 
			
		||||
--- !u!222 &3650911576013355422
 | 
			
		||||
CanvasRenderer:
 | 
			
		||||
  m_ObjectHideFlags: 0
 | 
			
		||||
  m_CorrespondingSourceObject: {fileID: 0}
 | 
			
		||||
  m_PrefabInstance: {fileID: 0}
 | 
			
		||||
  m_PrefabAsset: {fileID: 0}
 | 
			
		||||
  m_GameObject: {fileID: 3650911576013355421}
 | 
			
		||||
  m_CullTransparentMesh: 0
 | 
			
		||||
--- !u!114 &3650911576013355423
 | 
			
		||||
MonoBehaviour:
 | 
			
		||||
  m_ObjectHideFlags: 0
 | 
			
		||||
  m_CorrespondingSourceObject: {fileID: 0}
 | 
			
		||||
  m_PrefabInstance: {fileID: 0}
 | 
			
		||||
  m_PrefabAsset: {fileID: 0}
 | 
			
		||||
  m_GameObject: {fileID: 3650911576013355421}
 | 
			
		||||
  m_Enabled: 1
 | 
			
		||||
  m_EditorHideFlags: 0
 | 
			
		||||
  m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
 | 
			
		||||
  m_Name: 
 | 
			
		||||
  m_EditorClassIdentifier: 
 | 
			
		||||
  m_Material: {fileID: 0}
 | 
			
		||||
  m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
 | 
			
		||||
  m_RaycastTarget: 1
 | 
			
		||||
  m_Maskable: 1
 | 
			
		||||
  m_OnCullStateChanged:
 | 
			
		||||
    m_PersistentCalls:
 | 
			
		||||
      m_Calls: []
 | 
			
		||||
  m_FontData:
 | 
			
		||||
    m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
 | 
			
		||||
    m_FontSize: 14
 | 
			
		||||
    m_FontStyle: 0
 | 
			
		||||
    m_BestFit: 0
 | 
			
		||||
    m_MinSize: 10
 | 
			
		||||
    m_MaxSize: 40
 | 
			
		||||
    m_Alignment: 3
 | 
			
		||||
    m_AlignByGeometry: 0
 | 
			
		||||
    m_RichText: 1
 | 
			
		||||
    m_HorizontalOverflow: 0
 | 
			
		||||
    m_VerticalOverflow: 0
 | 
			
		||||
    m_LineSpacing: 1
 | 
			
		||||
  m_Text: Direction
 | 
			
		||||
--- !u!1 &3650911576026333927
 | 
			
		||||
GameObject:
 | 
			
		||||
  m_ObjectHideFlags: 0
 | 
			
		||||
  m_CorrespondingSourceObject: {fileID: 0}
 | 
			
		||||
  m_PrefabInstance: {fileID: 0}
 | 
			
		||||
  m_PrefabAsset: {fileID: 0}
 | 
			
		||||
  serializedVersion: 6
 | 
			
		||||
  m_Component:
 | 
			
		||||
  - component: {fileID: 3650911576026333926}
 | 
			
		||||
  - component: {fileID: 3650911576026333931}
 | 
			
		||||
  - component: {fileID: 3650911576026333928}
 | 
			
		||||
  - component: {fileID: 3650911576026333929}
 | 
			
		||||
  m_Layer: 5
 | 
			
		||||
  m_Name: FilepathButton
 | 
			
		||||
  m_TagString: Untagged
 | 
			
		||||
  m_Icon: {fileID: 0}
 | 
			
		||||
  m_NavMeshLayer: 0
 | 
			
		||||
  m_StaticEditorFlags: 0
 | 
			
		||||
  m_IsActive: 1
 | 
			
		||||
--- !u!224 &3650911576026333926
 | 
			
		||||
RectTransform:
 | 
			
		||||
  m_ObjectHideFlags: 0
 | 
			
		||||
  m_CorrespondingSourceObject: {fileID: 0}
 | 
			
		||||
  m_PrefabInstance: {fileID: 0}
 | 
			
		||||
  m_PrefabAsset: {fileID: 0}
 | 
			
		||||
  m_GameObject: {fileID: 3650911576026333927}
 | 
			
		||||
  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_Children:
 | 
			
		||||
  - {fileID: 3650911576829993044}
 | 
			
		||||
  m_Father: {fileID: 3650911576013355420}
 | 
			
		||||
  m_RootOrder: 0
 | 
			
		||||
  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
 | 
			
		||||
  m_AnchorMin: {x: 0, y: 0}
 | 
			
		||||
  m_AnchorMax: {x: 1, y: 1}
 | 
			
		||||
  m_AnchoredPosition: {x: 37.5, y: 0}
 | 
			
		||||
  m_SizeDelta: {x: -75, y: 0}
 | 
			
		||||
  m_Pivot: {x: 0.5, y: 0.5}
 | 
			
		||||
--- !u!222 &3650911576026333931
 | 
			
		||||
CanvasRenderer:
 | 
			
		||||
  m_ObjectHideFlags: 0
 | 
			
		||||
  m_CorrespondingSourceObject: {fileID: 0}
 | 
			
		||||
  m_PrefabInstance: {fileID: 0}
 | 
			
		||||
  m_PrefabAsset: {fileID: 0}
 | 
			
		||||
  m_GameObject: {fileID: 3650911576026333927}
 | 
			
		||||
  m_CullTransparentMesh: 0
 | 
			
		||||
--- !u!114 &3650911576026333928
 | 
			
		||||
MonoBehaviour:
 | 
			
		||||
  m_ObjectHideFlags: 0
 | 
			
		||||
  m_CorrespondingSourceObject: {fileID: 0}
 | 
			
		||||
  m_PrefabInstance: {fileID: 0}
 | 
			
		||||
  m_PrefabAsset: {fileID: 0}
 | 
			
		||||
  m_GameObject: {fileID: 3650911576026333927}
 | 
			
		||||
  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_Maskable: 1
 | 
			
		||||
  m_OnCullStateChanged:
 | 
			
		||||
    m_PersistentCalls:
 | 
			
		||||
      m_Calls: []
 | 
			
		||||
  m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0}
 | 
			
		||||
  m_Type: 1
 | 
			
		||||
  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 &3650911576026333929
 | 
			
		||||
MonoBehaviour:
 | 
			
		||||
  m_ObjectHideFlags: 0
 | 
			
		||||
  m_CorrespondingSourceObject: {fileID: 0}
 | 
			
		||||
  m_PrefabInstance: {fileID: 0}
 | 
			
		||||
  m_PrefabAsset: {fileID: 0}
 | 
			
		||||
  m_GameObject: {fileID: 3650911576026333927}
 | 
			
		||||
  m_Enabled: 1
 | 
			
		||||
  m_EditorHideFlags: 0
 | 
			
		||||
  m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3}
 | 
			
		||||
  m_Name: 
 | 
			
		||||
  m_EditorClassIdentifier: 
 | 
			
		||||
  m_Navigation:
 | 
			
		||||
    m_Mode: 3
 | 
			
		||||
    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: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
 | 
			
		||||
    m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
 | 
			
		||||
    m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
 | 
			
		||||
    m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, 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: 3650911576026333928}
 | 
			
		||||
  m_OnClick:
 | 
			
		||||
    m_PersistentCalls:
 | 
			
		||||
      m_Calls: []
 | 
			
		||||
--- !u!1 &3650911576829993045
 | 
			
		||||
GameObject:
 | 
			
		||||
  m_ObjectHideFlags: 0
 | 
			
		||||
  m_CorrespondingSourceObject: {fileID: 0}
 | 
			
		||||
  m_PrefabInstance: {fileID: 0}
 | 
			
		||||
  m_PrefabAsset: {fileID: 0}
 | 
			
		||||
  serializedVersion: 6
 | 
			
		||||
  m_Component:
 | 
			
		||||
  - component: {fileID: 3650911576829993044}
 | 
			
		||||
  - component: {fileID: 3650911576829993046}
 | 
			
		||||
  - component: {fileID: 3650911576829993047}
 | 
			
		||||
  m_Layer: 5
 | 
			
		||||
  m_Name: FilepathLabel
 | 
			
		||||
  m_TagString: Untagged
 | 
			
		||||
  m_Icon: {fileID: 0}
 | 
			
		||||
  m_NavMeshLayer: 0
 | 
			
		||||
  m_StaticEditorFlags: 0
 | 
			
		||||
  m_IsActive: 1
 | 
			
		||||
--- !u!224 &3650911576829993044
 | 
			
		||||
RectTransform:
 | 
			
		||||
  m_ObjectHideFlags: 0
 | 
			
		||||
  m_CorrespondingSourceObject: {fileID: 0}
 | 
			
		||||
  m_PrefabInstance: {fileID: 0}
 | 
			
		||||
  m_PrefabAsset: {fileID: 0}
 | 
			
		||||
  m_GameObject: {fileID: 3650911576829993045}
 | 
			
		||||
  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_Children: []
 | 
			
		||||
  m_Father: {fileID: 3650911576026333926}
 | 
			
		||||
  m_RootOrder: 0
 | 
			
		||||
  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
 | 
			
		||||
  m_AnchorMin: {x: 0, y: 0}
 | 
			
		||||
  m_AnchorMax: {x: 1, y: 1}
 | 
			
		||||
  m_AnchoredPosition: {x: 0, y: 0}
 | 
			
		||||
  m_SizeDelta: {x: 0, y: 0}
 | 
			
		||||
  m_Pivot: {x: 0.5, y: 0.5}
 | 
			
		||||
--- !u!222 &3650911576829993046
 | 
			
		||||
CanvasRenderer:
 | 
			
		||||
  m_ObjectHideFlags: 0
 | 
			
		||||
  m_CorrespondingSourceObject: {fileID: 0}
 | 
			
		||||
  m_PrefabInstance: {fileID: 0}
 | 
			
		||||
  m_PrefabAsset: {fileID: 0}
 | 
			
		||||
  m_GameObject: {fileID: 3650911576829993045}
 | 
			
		||||
  m_CullTransparentMesh: 0
 | 
			
		||||
--- !u!114 &3650911576829993047
 | 
			
		||||
MonoBehaviour:
 | 
			
		||||
  m_ObjectHideFlags: 0
 | 
			
		||||
  m_CorrespondingSourceObject: {fileID: 0}
 | 
			
		||||
  m_PrefabInstance: {fileID: 0}
 | 
			
		||||
  m_PrefabAsset: {fileID: 0}
 | 
			
		||||
  m_GameObject: {fileID: 3650911576829993045}
 | 
			
		||||
  m_Enabled: 1
 | 
			
		||||
  m_EditorHideFlags: 0
 | 
			
		||||
  m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
 | 
			
		||||
  m_Name: 
 | 
			
		||||
  m_EditorClassIdentifier: 
 | 
			
		||||
  m_Material: {fileID: 0}
 | 
			
		||||
  m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
 | 
			
		||||
  m_RaycastTarget: 1
 | 
			
		||||
  m_Maskable: 1
 | 
			
		||||
  m_OnCullStateChanged:
 | 
			
		||||
    m_PersistentCalls:
 | 
			
		||||
      m_Calls: []
 | 
			
		||||
  m_FontData:
 | 
			
		||||
    m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
 | 
			
		||||
    m_FontSize: 14
 | 
			
		||||
    m_FontStyle: 0
 | 
			
		||||
    m_BestFit: 0
 | 
			
		||||
    m_MinSize: 10
 | 
			
		||||
    m_MaxSize: 40
 | 
			
		||||
    m_Alignment: 4
 | 
			
		||||
    m_AlignByGeometry: 0
 | 
			
		||||
    m_RichText: 1
 | 
			
		||||
    m_HorizontalOverflow: 0
 | 
			
		||||
    m_VerticalOverflow: 0
 | 
			
		||||
    m_LineSpacing: 1
 | 
			
		||||
  m_Text: Invalid path!
 | 
			
		||||
| 
						 | 
				
			
			@ -0,0 +1,7 @@
 | 
			
		|||
fileFormatVersion: 2
 | 
			
		||||
guid: 482589a60f2731a408fce45fffd494e8
 | 
			
		||||
PrefabImporter:
 | 
			
		||||
  externalObjects: {}
 | 
			
		||||
  userData: 
 | 
			
		||||
  assetBundleName: 
 | 
			
		||||
  assetBundleVariant: 
 | 
			
		||||
							
								
								
									
										704
									
								
								Assets/Resources/Prefabs/RaceDialogPrefabs/HeadOffset.prefab
									
										
									
									
									
										Normal file
									
								
							
							
						
						| 
						 | 
				
			
			@ -0,0 +1,704 @@
 | 
			
		|||
%YAML 1.1
 | 
			
		||||
%TAG !u! tag:unity3d.com,2011:
 | 
			
		||||
--- !u!1 &3071630745649861165
 | 
			
		||||
GameObject:
 | 
			
		||||
  m_ObjectHideFlags: 0
 | 
			
		||||
  m_CorrespondingSourceObject: {fileID: 0}
 | 
			
		||||
  m_PrefabInstance: {fileID: 0}
 | 
			
		||||
  m_PrefabAsset: {fileID: 0}
 | 
			
		||||
  serializedVersion: 6
 | 
			
		||||
  m_Component:
 | 
			
		||||
  - component: {fileID: 3071630745649861164}
 | 
			
		||||
  - component: {fileID: 3071630745649861170}
 | 
			
		||||
  - component: {fileID: 3071630745649861171}
 | 
			
		||||
  m_Layer: 5
 | 
			
		||||
  m_Name: OffsetZLabel
 | 
			
		||||
  m_TagString: Untagged
 | 
			
		||||
  m_Icon: {fileID: 0}
 | 
			
		||||
  m_NavMeshLayer: 0
 | 
			
		||||
  m_StaticEditorFlags: 0
 | 
			
		||||
  m_IsActive: 1
 | 
			
		||||
--- !u!224 &3071630745649861164
 | 
			
		||||
RectTransform:
 | 
			
		||||
  m_ObjectHideFlags: 0
 | 
			
		||||
  m_CorrespondingSourceObject: {fileID: 0}
 | 
			
		||||
  m_PrefabInstance: {fileID: 0}
 | 
			
		||||
  m_PrefabAsset: {fileID: 0}
 | 
			
		||||
  m_GameObject: {fileID: 3071630745649861165}
 | 
			
		||||
  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_Children: []
 | 
			
		||||
  m_Father: {fileID: 3071630746837807550}
 | 
			
		||||
  m_RootOrder: 2
 | 
			
		||||
  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
 | 
			
		||||
  m_AnchorMin: {x: 0, y: 0.5}
 | 
			
		||||
  m_AnchorMax: {x: 0, y: 0.5}
 | 
			
		||||
  m_AnchoredPosition: {x: 190, y: 0}
 | 
			
		||||
  m_SizeDelta: {x: 15, y: 30}
 | 
			
		||||
  m_Pivot: {x: 0.5, y: 0.5}
 | 
			
		||||
--- !u!222 &3071630745649861170
 | 
			
		||||
CanvasRenderer:
 | 
			
		||||
  m_ObjectHideFlags: 0
 | 
			
		||||
  m_CorrespondingSourceObject: {fileID: 0}
 | 
			
		||||
  m_PrefabInstance: {fileID: 0}
 | 
			
		||||
  m_PrefabAsset: {fileID: 0}
 | 
			
		||||
  m_GameObject: {fileID: 3071630745649861165}
 | 
			
		||||
  m_CullTransparentMesh: 0
 | 
			
		||||
--- !u!114 &3071630745649861171
 | 
			
		||||
MonoBehaviour:
 | 
			
		||||
  m_ObjectHideFlags: 0
 | 
			
		||||
  m_CorrespondingSourceObject: {fileID: 0}
 | 
			
		||||
  m_PrefabInstance: {fileID: 0}
 | 
			
		||||
  m_PrefabAsset: {fileID: 0}
 | 
			
		||||
  m_GameObject: {fileID: 3071630745649861165}
 | 
			
		||||
  m_Enabled: 1
 | 
			
		||||
  m_EditorHideFlags: 0
 | 
			
		||||
  m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
 | 
			
		||||
  m_Name: 
 | 
			
		||||
  m_EditorClassIdentifier: 
 | 
			
		||||
  m_Material: {fileID: 0}
 | 
			
		||||
  m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
 | 
			
		||||
  m_RaycastTarget: 1
 | 
			
		||||
  m_Maskable: 1
 | 
			
		||||
  m_OnCullStateChanged:
 | 
			
		||||
    m_PersistentCalls:
 | 
			
		||||
      m_Calls: []
 | 
			
		||||
  m_FontData:
 | 
			
		||||
    m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
 | 
			
		||||
    m_FontSize: 14
 | 
			
		||||
    m_FontStyle: 0
 | 
			
		||||
    m_BestFit: 0
 | 
			
		||||
    m_MinSize: 10
 | 
			
		||||
    m_MaxSize: 40
 | 
			
		||||
    m_Alignment: 3
 | 
			
		||||
    m_AlignByGeometry: 0
 | 
			
		||||
    m_RichText: 1
 | 
			
		||||
    m_HorizontalOverflow: 0
 | 
			
		||||
    m_VerticalOverflow: 0
 | 
			
		||||
    m_LineSpacing: 1
 | 
			
		||||
  m_Text: Z
 | 
			
		||||
--- !u!1 &3071630745821452579
 | 
			
		||||
GameObject:
 | 
			
		||||
  m_ObjectHideFlags: 0
 | 
			
		||||
  m_CorrespondingSourceObject: {fileID: 0}
 | 
			
		||||
  m_PrefabInstance: {fileID: 0}
 | 
			
		||||
  m_PrefabAsset: {fileID: 0}
 | 
			
		||||
  serializedVersion: 6
 | 
			
		||||
  m_Component:
 | 
			
		||||
  - component: {fileID: 3071630745821452578}
 | 
			
		||||
  - component: {fileID: 3071630745821452576}
 | 
			
		||||
  - component: {fileID: 3071630745821452577}
 | 
			
		||||
  m_Layer: 5
 | 
			
		||||
  m_Name: OffsetXLabel
 | 
			
		||||
  m_TagString: Untagged
 | 
			
		||||
  m_Icon: {fileID: 0}
 | 
			
		||||
  m_NavMeshLayer: 0
 | 
			
		||||
  m_StaticEditorFlags: 0
 | 
			
		||||
  m_IsActive: 1
 | 
			
		||||
--- !u!224 &3071630745821452578
 | 
			
		||||
RectTransform:
 | 
			
		||||
  m_ObjectHideFlags: 0
 | 
			
		||||
  m_CorrespondingSourceObject: {fileID: 0}
 | 
			
		||||
  m_PrefabInstance: {fileID: 0}
 | 
			
		||||
  m_PrefabAsset: {fileID: 0}
 | 
			
		||||
  m_GameObject: {fileID: 3071630745821452579}
 | 
			
		||||
  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_Children: []
 | 
			
		||||
  m_Father: {fileID: 3071630746837807550}
 | 
			
		||||
  m_RootOrder: 0
 | 
			
		||||
  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
 | 
			
		||||
  m_AnchorMin: {x: 0, y: 0.5}
 | 
			
		||||
  m_AnchorMax: {x: 0, y: 0.5}
 | 
			
		||||
  m_AnchoredPosition: {x: 90, y: 0}
 | 
			
		||||
  m_SizeDelta: {x: 15, y: 30}
 | 
			
		||||
  m_Pivot: {x: 0.5, y: 0.5}
 | 
			
		||||
--- !u!222 &3071630745821452576
 | 
			
		||||
CanvasRenderer:
 | 
			
		||||
  m_ObjectHideFlags: 0
 | 
			
		||||
  m_CorrespondingSourceObject: {fileID: 0}
 | 
			
		||||
  m_PrefabInstance: {fileID: 0}
 | 
			
		||||
  m_PrefabAsset: {fileID: 0}
 | 
			
		||||
  m_GameObject: {fileID: 3071630745821452579}
 | 
			
		||||
  m_CullTransparentMesh: 0
 | 
			
		||||
--- !u!114 &3071630745821452577
 | 
			
		||||
MonoBehaviour:
 | 
			
		||||
  m_ObjectHideFlags: 0
 | 
			
		||||
  m_CorrespondingSourceObject: {fileID: 0}
 | 
			
		||||
  m_PrefabInstance: {fileID: 0}
 | 
			
		||||
  m_PrefabAsset: {fileID: 0}
 | 
			
		||||
  m_GameObject: {fileID: 3071630745821452579}
 | 
			
		||||
  m_Enabled: 1
 | 
			
		||||
  m_EditorHideFlags: 0
 | 
			
		||||
  m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
 | 
			
		||||
  m_Name: 
 | 
			
		||||
  m_EditorClassIdentifier: 
 | 
			
		||||
  m_Material: {fileID: 0}
 | 
			
		||||
  m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
 | 
			
		||||
  m_RaycastTarget: 1
 | 
			
		||||
  m_Maskable: 1
 | 
			
		||||
  m_OnCullStateChanged:
 | 
			
		||||
    m_PersistentCalls:
 | 
			
		||||
      m_Calls: []
 | 
			
		||||
  m_FontData:
 | 
			
		||||
    m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
 | 
			
		||||
    m_FontSize: 14
 | 
			
		||||
    m_FontStyle: 0
 | 
			
		||||
    m_BestFit: 0
 | 
			
		||||
    m_MinSize: 10
 | 
			
		||||
    m_MaxSize: 40
 | 
			
		||||
    m_Alignment: 4
 | 
			
		||||
    m_AlignByGeometry: 0
 | 
			
		||||
    m_RichText: 1
 | 
			
		||||
    m_HorizontalOverflow: 0
 | 
			
		||||
    m_VerticalOverflow: 0
 | 
			
		||||
    m_LineSpacing: 1
 | 
			
		||||
  m_Text: X
 | 
			
		||||
--- !u!1 &3071630746061326384
 | 
			
		||||
GameObject:
 | 
			
		||||
  m_ObjectHideFlags: 0
 | 
			
		||||
  m_CorrespondingSourceObject: {fileID: 0}
 | 
			
		||||
  m_PrefabInstance: {fileID: 0}
 | 
			
		||||
  m_PrefabAsset: {fileID: 0}
 | 
			
		||||
  serializedVersion: 6
 | 
			
		||||
  m_Component:
 | 
			
		||||
  - component: {fileID: 3071630746061326391}
 | 
			
		||||
  - component: {fileID: 3071630746061326389}
 | 
			
		||||
  - component: {fileID: 3071630746061326390}
 | 
			
		||||
  - component: {fileID: 3071630746061326388}
 | 
			
		||||
  m_Layer: 5
 | 
			
		||||
  m_Name: Text
 | 
			
		||||
  m_TagString: Untagged
 | 
			
		||||
  m_Icon: {fileID: 0}
 | 
			
		||||
  m_NavMeshLayer: 0
 | 
			
		||||
  m_StaticEditorFlags: 0
 | 
			
		||||
  m_IsActive: 1
 | 
			
		||||
--- !u!224 &3071630746061326391
 | 
			
		||||
RectTransform:
 | 
			
		||||
  m_ObjectHideFlags: 0
 | 
			
		||||
  m_CorrespondingSourceObject: {fileID: 0}
 | 
			
		||||
  m_PrefabInstance: {fileID: 0}
 | 
			
		||||
  m_PrefabAsset: {fileID: 0}
 | 
			
		||||
  m_GameObject: {fileID: 3071630746061326384}
 | 
			
		||||
  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_Children: []
 | 
			
		||||
  m_Father: {fileID: 3071630746703747585}
 | 
			
		||||
  m_RootOrder: 0
 | 
			
		||||
  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
 | 
			
		||||
  m_AnchorMin: {x: 0, y: 0}
 | 
			
		||||
  m_AnchorMax: {x: 1, y: 1}
 | 
			
		||||
  m_AnchoredPosition: {x: 0, y: -0.5}
 | 
			
		||||
  m_SizeDelta: {x: -20, y: -13}
 | 
			
		||||
  m_Pivot: {x: 0.5, y: 0.5}
 | 
			
		||||
--- !u!222 &3071630746061326389
 | 
			
		||||
CanvasRenderer:
 | 
			
		||||
  m_ObjectHideFlags: 0
 | 
			
		||||
  m_CorrespondingSourceObject: {fileID: 0}
 | 
			
		||||
  m_PrefabInstance: {fileID: 0}
 | 
			
		||||
  m_PrefabAsset: {fileID: 0}
 | 
			
		||||
  m_GameObject: {fileID: 3071630746061326384}
 | 
			
		||||
  m_CullTransparentMesh: 0
 | 
			
		||||
--- !u!114 &3071630746061326390
 | 
			
		||||
MonoBehaviour:
 | 
			
		||||
  m_ObjectHideFlags: 0
 | 
			
		||||
  m_CorrespondingSourceObject: {fileID: 0}
 | 
			
		||||
  m_PrefabInstance: {fileID: 0}
 | 
			
		||||
  m_PrefabAsset: {fileID: 0}
 | 
			
		||||
  m_GameObject: {fileID: 3071630746061326384}
 | 
			
		||||
  m_Enabled: 1
 | 
			
		||||
  m_EditorHideFlags: 0
 | 
			
		||||
  m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
 | 
			
		||||
  m_Name: 
 | 
			
		||||
  m_EditorClassIdentifier: 
 | 
			
		||||
  m_Material: {fileID: 0}
 | 
			
		||||
  m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
 | 
			
		||||
  m_RaycastTarget: 1
 | 
			
		||||
  m_Maskable: 1
 | 
			
		||||
  m_OnCullStateChanged:
 | 
			
		||||
    m_PersistentCalls:
 | 
			
		||||
      m_Calls: []
 | 
			
		||||
  m_FontData:
 | 
			
		||||
    m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
 | 
			
		||||
    m_FontSize: 14
 | 
			
		||||
    m_FontStyle: 0
 | 
			
		||||
    m_BestFit: 0
 | 
			
		||||
    m_MinSize: 10
 | 
			
		||||
    m_MaxSize: 40
 | 
			
		||||
    m_Alignment: 5
 | 
			
		||||
    m_AlignByGeometry: 0
 | 
			
		||||
    m_RichText: 0
 | 
			
		||||
    m_HorizontalOverflow: 1
 | 
			
		||||
    m_VerticalOverflow: 0
 | 
			
		||||
    m_LineSpacing: 1
 | 
			
		||||
  m_Text: 0.000
 | 
			
		||||
--- !u!114 &3071630746061326388
 | 
			
		||||
MonoBehaviour:
 | 
			
		||||
  m_ObjectHideFlags: 0
 | 
			
		||||
  m_CorrespondingSourceObject: {fileID: 0}
 | 
			
		||||
  m_PrefabInstance: {fileID: 0}
 | 
			
		||||
  m_PrefabAsset: {fileID: 0}
 | 
			
		||||
  m_GameObject: {fileID: 3071630746061326384}
 | 
			
		||||
  m_Enabled: 1
 | 
			
		||||
  m_EditorHideFlags: 0
 | 
			
		||||
  m_Script: {fileID: 11500000, guid: 1f3886223a697384abc8109a51c855e2, type: 3}
 | 
			
		||||
  m_Name: 
 | 
			
		||||
  m_EditorClassIdentifier: 
 | 
			
		||||
  valiationType: 2
 | 
			
		||||
--- !u!1 &3071630746303525761
 | 
			
		||||
GameObject:
 | 
			
		||||
  m_ObjectHideFlags: 0
 | 
			
		||||
  m_CorrespondingSourceObject: {fileID: 0}
 | 
			
		||||
  m_PrefabInstance: {fileID: 0}
 | 
			
		||||
  m_PrefabAsset: {fileID: 0}
 | 
			
		||||
  serializedVersion: 6
 | 
			
		||||
  m_Component:
 | 
			
		||||
  - component: {fileID: 3071630746303525760}
 | 
			
		||||
  - component: {fileID: 3071630746303525766}
 | 
			
		||||
  - component: {fileID: 3071630746303525767}
 | 
			
		||||
  - component: {fileID: 3071630746303525765}
 | 
			
		||||
  m_Layer: 5
 | 
			
		||||
  m_Name: Text
 | 
			
		||||
  m_TagString: Untagged
 | 
			
		||||
  m_Icon: {fileID: 0}
 | 
			
		||||
  m_NavMeshLayer: 0
 | 
			
		||||
  m_StaticEditorFlags: 0
 | 
			
		||||
  m_IsActive: 1
 | 
			
		||||
--- !u!224 &3071630746303525760
 | 
			
		||||
RectTransform:
 | 
			
		||||
  m_ObjectHideFlags: 0
 | 
			
		||||
  m_CorrespondingSourceObject: {fileID: 0}
 | 
			
		||||
  m_PrefabInstance: {fileID: 0}
 | 
			
		||||
  m_PrefabAsset: {fileID: 0}
 | 
			
		||||
  m_GameObject: {fileID: 3071630746303525761}
 | 
			
		||||
  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_Children: []
 | 
			
		||||
  m_Father: {fileID: 3071630746573739360}
 | 
			
		||||
  m_RootOrder: 0
 | 
			
		||||
  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
 | 
			
		||||
  m_AnchorMin: {x: 0, y: 0}
 | 
			
		||||
  m_AnchorMax: {x: 1, y: 1}
 | 
			
		||||
  m_AnchoredPosition: {x: 0, y: -0.5}
 | 
			
		||||
  m_SizeDelta: {x: -20, y: -13}
 | 
			
		||||
  m_Pivot: {x: 0.5, y: 0.5}
 | 
			
		||||
--- !u!222 &3071630746303525766
 | 
			
		||||
CanvasRenderer:
 | 
			
		||||
  m_ObjectHideFlags: 0
 | 
			
		||||
  m_CorrespondingSourceObject: {fileID: 0}
 | 
			
		||||
  m_PrefabInstance: {fileID: 0}
 | 
			
		||||
  m_PrefabAsset: {fileID: 0}
 | 
			
		||||
  m_GameObject: {fileID: 3071630746303525761}
 | 
			
		||||
  m_CullTransparentMesh: 0
 | 
			
		||||
--- !u!114 &3071630746303525767
 | 
			
		||||
MonoBehaviour:
 | 
			
		||||
  m_ObjectHideFlags: 0
 | 
			
		||||
  m_CorrespondingSourceObject: {fileID: 0}
 | 
			
		||||
  m_PrefabInstance: {fileID: 0}
 | 
			
		||||
  m_PrefabAsset: {fileID: 0}
 | 
			
		||||
  m_GameObject: {fileID: 3071630746303525761}
 | 
			
		||||
  m_Enabled: 1
 | 
			
		||||
  m_EditorHideFlags: 0
 | 
			
		||||
  m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
 | 
			
		||||
  m_Name: 
 | 
			
		||||
  m_EditorClassIdentifier: 
 | 
			
		||||
  m_Material: {fileID: 0}
 | 
			
		||||
  m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
 | 
			
		||||
  m_RaycastTarget: 1
 | 
			
		||||
  m_Maskable: 1
 | 
			
		||||
  m_OnCullStateChanged:
 | 
			
		||||
    m_PersistentCalls:
 | 
			
		||||
      m_Calls: []
 | 
			
		||||
  m_FontData:
 | 
			
		||||
    m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
 | 
			
		||||
    m_FontSize: 14
 | 
			
		||||
    m_FontStyle: 0
 | 
			
		||||
    m_BestFit: 0
 | 
			
		||||
    m_MinSize: 10
 | 
			
		||||
    m_MaxSize: 40
 | 
			
		||||
    m_Alignment: 5
 | 
			
		||||
    m_AlignByGeometry: 0
 | 
			
		||||
    m_RichText: 0
 | 
			
		||||
    m_HorizontalOverflow: 1
 | 
			
		||||
    m_VerticalOverflow: 0
 | 
			
		||||
    m_LineSpacing: 1
 | 
			
		||||
  m_Text: 0.000
 | 
			
		||||
--- !u!114 &3071630746303525765
 | 
			
		||||
MonoBehaviour:
 | 
			
		||||
  m_ObjectHideFlags: 0
 | 
			
		||||
  m_CorrespondingSourceObject: {fileID: 0}
 | 
			
		||||
  m_PrefabInstance: {fileID: 0}
 | 
			
		||||
  m_PrefabAsset: {fileID: 0}
 | 
			
		||||
  m_GameObject: {fileID: 3071630746303525761}
 | 
			
		||||
  m_Enabled: 1
 | 
			
		||||
  m_EditorHideFlags: 0
 | 
			
		||||
  m_Script: {fileID: 11500000, guid: 1f3886223a697384abc8109a51c855e2, type: 3}
 | 
			
		||||
  m_Name: 
 | 
			
		||||
  m_EditorClassIdentifier: 
 | 
			
		||||
  valiationType: 2
 | 
			
		||||
--- !u!1 &3071630746573739361
 | 
			
		||||
GameObject:
 | 
			
		||||
  m_ObjectHideFlags: 0
 | 
			
		||||
  m_CorrespondingSourceObject: {fileID: 0}
 | 
			
		||||
  m_PrefabInstance: {fileID: 0}
 | 
			
		||||
  m_PrefabAsset: {fileID: 0}
 | 
			
		||||
  serializedVersion: 6
 | 
			
		||||
  m_Component:
 | 
			
		||||
  - component: {fileID: 3071630746573739360}
 | 
			
		||||
  - component: {fileID: 3071630746573739365}
 | 
			
		||||
  - component: {fileID: 3071630746573739366}
 | 
			
		||||
  - component: {fileID: 3071630746573739367}
 | 
			
		||||
  m_Layer: 5
 | 
			
		||||
  m_Name: OffsetZField
 | 
			
		||||
  m_TagString: Untagged
 | 
			
		||||
  m_Icon: {fileID: 0}
 | 
			
		||||
  m_NavMeshLayer: 0
 | 
			
		||||
  m_StaticEditorFlags: 0
 | 
			
		||||
  m_IsActive: 1
 | 
			
		||||
--- !u!224 &3071630746573739360
 | 
			
		||||
RectTransform:
 | 
			
		||||
  m_ObjectHideFlags: 0
 | 
			
		||||
  m_CorrespondingSourceObject: {fileID: 0}
 | 
			
		||||
  m_PrefabInstance: {fileID: 0}
 | 
			
		||||
  m_PrefabAsset: {fileID: 0}
 | 
			
		||||
  m_GameObject: {fileID: 3071630746573739361}
 | 
			
		||||
  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_Children:
 | 
			
		||||
  - {fileID: 3071630746303525760}
 | 
			
		||||
  m_Father: {fileID: 3071630746837807550}
 | 
			
		||||
  m_RootOrder: 3
 | 
			
		||||
  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
 | 
			
		||||
  m_AnchorMin: {x: 0, y: 0.5}
 | 
			
		||||
  m_AnchorMax: {x: 0, y: 0.5}
 | 
			
		||||
  m_AnchoredPosition: {x: 230, y: 0}
 | 
			
		||||
  m_SizeDelta: {x: 60, y: 30}
 | 
			
		||||
  m_Pivot: {x: 0.5, y: 0.5}
 | 
			
		||||
--- !u!222 &3071630746573739365
 | 
			
		||||
CanvasRenderer:
 | 
			
		||||
  m_ObjectHideFlags: 0
 | 
			
		||||
  m_CorrespondingSourceObject: {fileID: 0}
 | 
			
		||||
  m_PrefabInstance: {fileID: 0}
 | 
			
		||||
  m_PrefabAsset: {fileID: 0}
 | 
			
		||||
  m_GameObject: {fileID: 3071630746573739361}
 | 
			
		||||
  m_CullTransparentMesh: 0
 | 
			
		||||
--- !u!114 &3071630746573739366
 | 
			
		||||
MonoBehaviour:
 | 
			
		||||
  m_ObjectHideFlags: 0
 | 
			
		||||
  m_CorrespondingSourceObject: {fileID: 0}
 | 
			
		||||
  m_PrefabInstance: {fileID: 0}
 | 
			
		||||
  m_PrefabAsset: {fileID: 0}
 | 
			
		||||
  m_GameObject: {fileID: 3071630746573739361}
 | 
			
		||||
  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_Maskable: 1
 | 
			
		||||
  m_OnCullStateChanged:
 | 
			
		||||
    m_PersistentCalls:
 | 
			
		||||
      m_Calls: []
 | 
			
		||||
  m_Sprite: {fileID: 10911, guid: 0000000000000000f000000000000000, type: 0}
 | 
			
		||||
  m_Type: 1
 | 
			
		||||
  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 &3071630746573739367
 | 
			
		||||
MonoBehaviour:
 | 
			
		||||
  m_ObjectHideFlags: 0
 | 
			
		||||
  m_CorrespondingSourceObject: {fileID: 0}
 | 
			
		||||
  m_PrefabInstance: {fileID: 0}
 | 
			
		||||
  m_PrefabAsset: {fileID: 0}
 | 
			
		||||
  m_GameObject: {fileID: 3071630746573739361}
 | 
			
		||||
  m_Enabled: 1
 | 
			
		||||
  m_EditorHideFlags: 0
 | 
			
		||||
  m_Script: {fileID: 11500000, guid: d199490a83bb2b844b9695cbf13b01ef, type: 3}
 | 
			
		||||
  m_Name: 
 | 
			
		||||
  m_EditorClassIdentifier: 
 | 
			
		||||
  m_Navigation:
 | 
			
		||||
    m_Mode: 3
 | 
			
		||||
    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: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
 | 
			
		||||
    m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
 | 
			
		||||
    m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
 | 
			
		||||
    m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, 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: 3071630746573739366}
 | 
			
		||||
  m_TextComponent: {fileID: 3071630746303525767}
 | 
			
		||||
  m_Placeholder: {fileID: 0}
 | 
			
		||||
  m_ContentType: 0
 | 
			
		||||
  m_InputType: 0
 | 
			
		||||
  m_AsteriskChar: 42
 | 
			
		||||
  m_KeyboardType: 0
 | 
			
		||||
  m_LineType: 0
 | 
			
		||||
  m_HideMobileInput: 0
 | 
			
		||||
  m_CharacterValidation: 0
 | 
			
		||||
  m_CharacterLimit: 0
 | 
			
		||||
  m_OnEndEdit:
 | 
			
		||||
    m_PersistentCalls:
 | 
			
		||||
      m_Calls: []
 | 
			
		||||
  m_OnValueChanged:
 | 
			
		||||
    m_PersistentCalls:
 | 
			
		||||
      m_Calls: []
 | 
			
		||||
  m_CaretColor: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
 | 
			
		||||
  m_CustomCaretColor: 0
 | 
			
		||||
  m_SelectionColor: {r: 0.65882355, g: 0.80784315, b: 1, a: 0.7529412}
 | 
			
		||||
  m_Text: 0.000
 | 
			
		||||
  m_CaretBlinkRate: 0.85
 | 
			
		||||
  m_CaretWidth: 1
 | 
			
		||||
  m_ReadOnly: 0
 | 
			
		||||
  m_ShouldActivateOnSelect: 1
 | 
			
		||||
--- !u!1 &3071630746703747586
 | 
			
		||||
GameObject:
 | 
			
		||||
  m_ObjectHideFlags: 0
 | 
			
		||||
  m_CorrespondingSourceObject: {fileID: 0}
 | 
			
		||||
  m_PrefabInstance: {fileID: 0}
 | 
			
		||||
  m_PrefabAsset: {fileID: 0}
 | 
			
		||||
  serializedVersion: 6
 | 
			
		||||
  m_Component:
 | 
			
		||||
  - component: {fileID: 3071630746703747585}
 | 
			
		||||
  - component: {fileID: 3071630746703747590}
 | 
			
		||||
  - component: {fileID: 3071630746703747591}
 | 
			
		||||
  - component: {fileID: 3071630746703747584}
 | 
			
		||||
  m_Layer: 5
 | 
			
		||||
  m_Name: OffsetXField
 | 
			
		||||
  m_TagString: Untagged
 | 
			
		||||
  m_Icon: {fileID: 0}
 | 
			
		||||
  m_NavMeshLayer: 0
 | 
			
		||||
  m_StaticEditorFlags: 0
 | 
			
		||||
  m_IsActive: 1
 | 
			
		||||
--- !u!224 &3071630746703747585
 | 
			
		||||
RectTransform:
 | 
			
		||||
  m_ObjectHideFlags: 0
 | 
			
		||||
  m_CorrespondingSourceObject: {fileID: 0}
 | 
			
		||||
  m_PrefabInstance: {fileID: 0}
 | 
			
		||||
  m_PrefabAsset: {fileID: 0}
 | 
			
		||||
  m_GameObject: {fileID: 3071630746703747586}
 | 
			
		||||
  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_Children:
 | 
			
		||||
  - {fileID: 3071630746061326391}
 | 
			
		||||
  m_Father: {fileID: 3071630746837807550}
 | 
			
		||||
  m_RootOrder: 1
 | 
			
		||||
  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
 | 
			
		||||
  m_AnchorMin: {x: 0, y: 0.5}
 | 
			
		||||
  m_AnchorMax: {x: 0, y: 0.5}
 | 
			
		||||
  m_AnchoredPosition: {x: 135, y: 0}
 | 
			
		||||
  m_SizeDelta: {x: 60, y: 30}
 | 
			
		||||
  m_Pivot: {x: 0.5, y: 0.5}
 | 
			
		||||
--- !u!222 &3071630746703747590
 | 
			
		||||
CanvasRenderer:
 | 
			
		||||
  m_ObjectHideFlags: 0
 | 
			
		||||
  m_CorrespondingSourceObject: {fileID: 0}
 | 
			
		||||
  m_PrefabInstance: {fileID: 0}
 | 
			
		||||
  m_PrefabAsset: {fileID: 0}
 | 
			
		||||
  m_GameObject: {fileID: 3071630746703747586}
 | 
			
		||||
  m_CullTransparentMesh: 0
 | 
			
		||||
--- !u!114 &3071630746703747591
 | 
			
		||||
MonoBehaviour:
 | 
			
		||||
  m_ObjectHideFlags: 0
 | 
			
		||||
  m_CorrespondingSourceObject: {fileID: 0}
 | 
			
		||||
  m_PrefabInstance: {fileID: 0}
 | 
			
		||||
  m_PrefabAsset: {fileID: 0}
 | 
			
		||||
  m_GameObject: {fileID: 3071630746703747586}
 | 
			
		||||
  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_Maskable: 1
 | 
			
		||||
  m_OnCullStateChanged:
 | 
			
		||||
    m_PersistentCalls:
 | 
			
		||||
      m_Calls: []
 | 
			
		||||
  m_Sprite: {fileID: 10911, guid: 0000000000000000f000000000000000, type: 0}
 | 
			
		||||
  m_Type: 1
 | 
			
		||||
  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 &3071630746703747584
 | 
			
		||||
MonoBehaviour:
 | 
			
		||||
  m_ObjectHideFlags: 0
 | 
			
		||||
  m_CorrespondingSourceObject: {fileID: 0}
 | 
			
		||||
  m_PrefabInstance: {fileID: 0}
 | 
			
		||||
  m_PrefabAsset: {fileID: 0}
 | 
			
		||||
  m_GameObject: {fileID: 3071630746703747586}
 | 
			
		||||
  m_Enabled: 1
 | 
			
		||||
  m_EditorHideFlags: 0
 | 
			
		||||
  m_Script: {fileID: 11500000, guid: d199490a83bb2b844b9695cbf13b01ef, type: 3}
 | 
			
		||||
  m_Name: 
 | 
			
		||||
  m_EditorClassIdentifier: 
 | 
			
		||||
  m_Navigation:
 | 
			
		||||
    m_Mode: 3
 | 
			
		||||
    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: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
 | 
			
		||||
    m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
 | 
			
		||||
    m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
 | 
			
		||||
    m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, 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: 3071630746703747591}
 | 
			
		||||
  m_TextComponent: {fileID: 3071630746061326390}
 | 
			
		||||
  m_Placeholder: {fileID: 0}
 | 
			
		||||
  m_ContentType: 0
 | 
			
		||||
  m_InputType: 0
 | 
			
		||||
  m_AsteriskChar: 42
 | 
			
		||||
  m_KeyboardType: 0
 | 
			
		||||
  m_LineType: 0
 | 
			
		||||
  m_HideMobileInput: 0
 | 
			
		||||
  m_CharacterValidation: 0
 | 
			
		||||
  m_CharacterLimit: 0
 | 
			
		||||
  m_OnEndEdit:
 | 
			
		||||
    m_PersistentCalls:
 | 
			
		||||
      m_Calls: []
 | 
			
		||||
  m_OnValueChanged:
 | 
			
		||||
    m_PersistentCalls:
 | 
			
		||||
      m_Calls: []
 | 
			
		||||
  m_CaretColor: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
 | 
			
		||||
  m_CustomCaretColor: 0
 | 
			
		||||
  m_SelectionColor: {r: 0.65882355, g: 0.80784315, b: 1, a: 0.7529412}
 | 
			
		||||
  m_Text: 0.000
 | 
			
		||||
  m_CaretBlinkRate: 0.85
 | 
			
		||||
  m_CaretWidth: 1
 | 
			
		||||
  m_ReadOnly: 0
 | 
			
		||||
  m_ShouldActivateOnSelect: 1
 | 
			
		||||
--- !u!1 &3071630746837807551
 | 
			
		||||
GameObject:
 | 
			
		||||
  m_ObjectHideFlags: 0
 | 
			
		||||
  m_CorrespondingSourceObject: {fileID: 0}
 | 
			
		||||
  m_PrefabInstance: {fileID: 0}
 | 
			
		||||
  m_PrefabAsset: {fileID: 0}
 | 
			
		||||
  serializedVersion: 6
 | 
			
		||||
  m_Component:
 | 
			
		||||
  - component: {fileID: 3071630746837807550}
 | 
			
		||||
  - component: {fileID: 3071630746837807548}
 | 
			
		||||
  - component: {fileID: 3071630746837807549}
 | 
			
		||||
  m_Layer: 5
 | 
			
		||||
  m_Name: HeadOffsetEastText
 | 
			
		||||
  m_TagString: Untagged
 | 
			
		||||
  m_Icon: {fileID: 0}
 | 
			
		||||
  m_NavMeshLayer: 0
 | 
			
		||||
  m_StaticEditorFlags: 0
 | 
			
		||||
  m_IsActive: 1
 | 
			
		||||
--- !u!224 &3071630746837807550
 | 
			
		||||
RectTransform:
 | 
			
		||||
  m_ObjectHideFlags: 0
 | 
			
		||||
  m_CorrespondingSourceObject: {fileID: 0}
 | 
			
		||||
  m_PrefabInstance: {fileID: 0}
 | 
			
		||||
  m_PrefabAsset: {fileID: 0}
 | 
			
		||||
  m_GameObject: {fileID: 3071630746837807551}
 | 
			
		||||
  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_Children:
 | 
			
		||||
  - {fileID: 3071630745821452578}
 | 
			
		||||
  - {fileID: 3071630746703747585}
 | 
			
		||||
  - {fileID: 3071630745649861164}
 | 
			
		||||
  - {fileID: 3071630746573739360}
 | 
			
		||||
  m_Father: {fileID: 0}
 | 
			
		||||
  m_RootOrder: 0
 | 
			
		||||
  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
 | 
			
		||||
  m_AnchorMin: {x: 0, y: 0}
 | 
			
		||||
  m_AnchorMax: {x: 0, y: 0}
 | 
			
		||||
  m_AnchoredPosition: {x: 0, y: 0}
 | 
			
		||||
  m_SizeDelta: {x: 0, y: 30}
 | 
			
		||||
  m_Pivot: {x: 0.5, y: 0.5}
 | 
			
		||||
--- !u!222 &3071630746837807548
 | 
			
		||||
CanvasRenderer:
 | 
			
		||||
  m_ObjectHideFlags: 0
 | 
			
		||||
  m_CorrespondingSourceObject: {fileID: 0}
 | 
			
		||||
  m_PrefabInstance: {fileID: 0}
 | 
			
		||||
  m_PrefabAsset: {fileID: 0}
 | 
			
		||||
  m_GameObject: {fileID: 3071630746837807551}
 | 
			
		||||
  m_CullTransparentMesh: 0
 | 
			
		||||
--- !u!114 &3071630746837807549
 | 
			
		||||
MonoBehaviour:
 | 
			
		||||
  m_ObjectHideFlags: 0
 | 
			
		||||
  m_CorrespondingSourceObject: {fileID: 0}
 | 
			
		||||
  m_PrefabInstance: {fileID: 0}
 | 
			
		||||
  m_PrefabAsset: {fileID: 0}
 | 
			
		||||
  m_GameObject: {fileID: 3071630746837807551}
 | 
			
		||||
  m_Enabled: 1
 | 
			
		||||
  m_EditorHideFlags: 0
 | 
			
		||||
  m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
 | 
			
		||||
  m_Name: 
 | 
			
		||||
  m_EditorClassIdentifier: 
 | 
			
		||||
  m_Material: {fileID: 0}
 | 
			
		||||
  m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
 | 
			
		||||
  m_RaycastTarget: 1
 | 
			
		||||
  m_Maskable: 1
 | 
			
		||||
  m_OnCullStateChanged:
 | 
			
		||||
    m_PersistentCalls:
 | 
			
		||||
      m_Calls: []
 | 
			
		||||
  m_FontData:
 | 
			
		||||
    m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
 | 
			
		||||
    m_FontSize: 14
 | 
			
		||||
    m_FontStyle: 0
 | 
			
		||||
    m_BestFit: 0
 | 
			
		||||
    m_MinSize: 10
 | 
			
		||||
    m_MaxSize: 40
 | 
			
		||||
    m_Alignment: 3
 | 
			
		||||
    m_AlignByGeometry: 0
 | 
			
		||||
    m_RichText: 1
 | 
			
		||||
    m_HorizontalOverflow: 0
 | 
			
		||||
    m_VerticalOverflow: 0
 | 
			
		||||
    m_LineSpacing: 1
 | 
			
		||||
  m_Text: East
 | 
			
		||||
| 
						 | 
				
			
			@ -0,0 +1,7 @@
 | 
			
		|||
fileFormatVersion: 2
 | 
			
		||||
guid: 71c176a0c2f37d54ebb0e6e0eeac87fe
 | 
			
		||||
PrefabImporter:
 | 
			
		||||
  externalObjects: {}
 | 
			
		||||
  userData: 
 | 
			
		||||
  assetBundleName: 
 | 
			
		||||
  assetBundleVariant: 
 | 
			
		||||
| 
						 | 
				
			
			@ -0,0 +1,80 @@
 | 
			
		|||
%YAML 1.1
 | 
			
		||||
%TAG !u! tag:unity3d.com,2011:
 | 
			
		||||
--- !u!1 &9036089379332243138
 | 
			
		||||
GameObject:
 | 
			
		||||
  m_ObjectHideFlags: 0
 | 
			
		||||
  m_CorrespondingSourceObject: {fileID: 0}
 | 
			
		||||
  m_PrefabInstance: {fileID: 0}
 | 
			
		||||
  m_PrefabAsset: {fileID: 0}
 | 
			
		||||
  serializedVersion: 6
 | 
			
		||||
  m_Component:
 | 
			
		||||
  - component: {fileID: 9036089379332243139}
 | 
			
		||||
  - component: {fileID: 9036089379332243149}
 | 
			
		||||
  - component: {fileID: 9036089379332243148}
 | 
			
		||||
  m_Layer: 5
 | 
			
		||||
  m_Name: HeadGraphics
 | 
			
		||||
  m_TagString: Untagged
 | 
			
		||||
  m_Icon: {fileID: 0}
 | 
			
		||||
  m_NavMeshLayer: 0
 | 
			
		||||
  m_StaticEditorFlags: 0
 | 
			
		||||
  m_IsActive: 1
 | 
			
		||||
--- !u!224 &9036089379332243139
 | 
			
		||||
RectTransform:
 | 
			
		||||
  m_ObjectHideFlags: 0
 | 
			
		||||
  m_CorrespondingSourceObject: {fileID: 0}
 | 
			
		||||
  m_PrefabInstance: {fileID: 0}
 | 
			
		||||
  m_PrefabAsset: {fileID: 0}
 | 
			
		||||
  m_GameObject: {fileID: 9036089379332243138}
 | 
			
		||||
  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_Children: []
 | 
			
		||||
  m_Father: {fileID: 0}
 | 
			
		||||
  m_RootOrder: 0
 | 
			
		||||
  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
 | 
			
		||||
  m_AnchorMin: {x: 0, y: 0}
 | 
			
		||||
  m_AnchorMax: {x: 0, y: 0}
 | 
			
		||||
  m_AnchoredPosition: {x: 0, y: 0}
 | 
			
		||||
  m_SizeDelta: {x: 0, y: 30}
 | 
			
		||||
  m_Pivot: {x: 0.5, y: 0.5}
 | 
			
		||||
--- !u!222 &9036089379332243149
 | 
			
		||||
CanvasRenderer:
 | 
			
		||||
  m_ObjectHideFlags: 0
 | 
			
		||||
  m_CorrespondingSourceObject: {fileID: 0}
 | 
			
		||||
  m_PrefabInstance: {fileID: 0}
 | 
			
		||||
  m_PrefabAsset: {fileID: 0}
 | 
			
		||||
  m_GameObject: {fileID: 9036089379332243138}
 | 
			
		||||
  m_CullTransparentMesh: 0
 | 
			
		||||
--- !u!114 &9036089379332243148
 | 
			
		||||
MonoBehaviour:
 | 
			
		||||
  m_ObjectHideFlags: 0
 | 
			
		||||
  m_CorrespondingSourceObject: {fileID: 0}
 | 
			
		||||
  m_PrefabInstance: {fileID: 0}
 | 
			
		||||
  m_PrefabAsset: {fileID: 0}
 | 
			
		||||
  m_GameObject: {fileID: 9036089379332243138}
 | 
			
		||||
  m_Enabled: 1
 | 
			
		||||
  m_EditorHideFlags: 0
 | 
			
		||||
  m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
 | 
			
		||||
  m_Name: 
 | 
			
		||||
  m_EditorClassIdentifier: 
 | 
			
		||||
  m_Material: {fileID: 0}
 | 
			
		||||
  m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
 | 
			
		||||
  m_RaycastTarget: 1
 | 
			
		||||
  m_Maskable: 1
 | 
			
		||||
  m_OnCullStateChanged:
 | 
			
		||||
    m_PersistentCalls:
 | 
			
		||||
      m_Calls: []
 | 
			
		||||
  m_FontData:
 | 
			
		||||
    m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
 | 
			
		||||
    m_FontSize: 14
 | 
			
		||||
    m_FontStyle: 1
 | 
			
		||||
    m_BestFit: 0
 | 
			
		||||
    m_MinSize: 10
 | 
			
		||||
    m_MaxSize: 40
 | 
			
		||||
    m_Alignment: 3
 | 
			
		||||
    m_AlignByGeometry: 0
 | 
			
		||||
    m_RichText: 1
 | 
			
		||||
    m_HorizontalOverflow: 0
 | 
			
		||||
    m_VerticalOverflow: 0
 | 
			
		||||
    m_LineSpacing: 1
 | 
			
		||||
  m_Text: Head graphics
 | 
			
		||||
| 
						 | 
				
			
			@ -0,0 +1,7 @@
 | 
			
		|||
fileFormatVersion: 2
 | 
			
		||||
guid: ef73d82afc9a43b4f9abaf66b028cf3e
 | 
			
		||||
PrefabImporter:
 | 
			
		||||
  externalObjects: {}
 | 
			
		||||
  userData: 
 | 
			
		||||
  assetBundleName: 
 | 
			
		||||
  assetBundleVariant: 
 | 
			
		||||
							
								
								
									
										46
									
								
								Assets/Resources/Prefabs/RaceDialogPrefabs/Spacer.prefab
									
										
									
									
									
										Normal file
									
								
							
							
						
						| 
						 | 
				
			
			@ -0,0 +1,46 @@
 | 
			
		|||
%YAML 1.1
 | 
			
		||||
%TAG !u! tag:unity3d.com,2011:
 | 
			
		||||
--- !u!1 &4818351340094933448
 | 
			
		||||
GameObject:
 | 
			
		||||
  m_ObjectHideFlags: 0
 | 
			
		||||
  m_CorrespondingSourceObject: {fileID: 0}
 | 
			
		||||
  m_PrefabInstance: {fileID: 0}
 | 
			
		||||
  m_PrefabAsset: {fileID: 0}
 | 
			
		||||
  serializedVersion: 6
 | 
			
		||||
  m_Component:
 | 
			
		||||
  - component: {fileID: 4818351340094933455}
 | 
			
		||||
  - component: {fileID: 4818351340094933454}
 | 
			
		||||
  m_Layer: 5
 | 
			
		||||
  m_Name: Spacer
 | 
			
		||||
  m_TagString: Untagged
 | 
			
		||||
  m_Icon: {fileID: 0}
 | 
			
		||||
  m_NavMeshLayer: 0
 | 
			
		||||
  m_StaticEditorFlags: 0
 | 
			
		||||
  m_IsActive: 1
 | 
			
		||||
--- !u!224 &4818351340094933455
 | 
			
		||||
RectTransform:
 | 
			
		||||
  m_ObjectHideFlags: 0
 | 
			
		||||
  m_CorrespondingSourceObject: {fileID: 0}
 | 
			
		||||
  m_PrefabInstance: {fileID: 0}
 | 
			
		||||
  m_PrefabAsset: {fileID: 0}
 | 
			
		||||
  m_GameObject: {fileID: 4818351340094933448}
 | 
			
		||||
  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_Children: []
 | 
			
		||||
  m_Father: {fileID: 0}
 | 
			
		||||
  m_RootOrder: 0
 | 
			
		||||
  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
 | 
			
		||||
  m_AnchorMin: {x: 0, y: 0}
 | 
			
		||||
  m_AnchorMax: {x: 0, y: 0}
 | 
			
		||||
  m_AnchoredPosition: {x: 0, y: 0}
 | 
			
		||||
  m_SizeDelta: {x: 0, y: 10}
 | 
			
		||||
  m_Pivot: {x: 0.5, y: 0.5}
 | 
			
		||||
--- !u!222 &4818351340094933454
 | 
			
		||||
CanvasRenderer:
 | 
			
		||||
  m_ObjectHideFlags: 0
 | 
			
		||||
  m_CorrespondingSourceObject: {fileID: 0}
 | 
			
		||||
  m_PrefabInstance: {fileID: 0}
 | 
			
		||||
  m_PrefabAsset: {fileID: 0}
 | 
			
		||||
  m_GameObject: {fileID: 4818351340094933448}
 | 
			
		||||
  m_CullTransparentMesh: 0
 | 
			
		||||
| 
						 | 
				
			
			@ -0,0 +1,7 @@
 | 
			
		|||
fileFormatVersion: 2
 | 
			
		||||
guid: 35dcf79abaeca054099d00068a50fba7
 | 
			
		||||
PrefabImporter:
 | 
			
		||||
  externalObjects: {}
 | 
			
		||||
  userData: 
 | 
			
		||||
  assetBundleName: 
 | 
			
		||||
  assetBundleVariant: 
 | 
			
		||||
| 
						 | 
				
			
			@ -1,5 +1,5 @@
 | 
			
		|||
fileFormatVersion: 2
 | 
			
		||||
guid: f7e96e067b4391340aedef235fb20744
 | 
			
		||||
guid: 065becec37025d54fbfd40678f17810b
 | 
			
		||||
folderAsset: yes
 | 
			
		||||
DefaultImporter:
 | 
			
		||||
  externalObjects: {}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										
											BIN
										
									
								
								Assets/Resources/Textures/Humanlike/Appendages/Appendage3.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 10 KiB  | 
| 
						 | 
				
			
			@ -0,0 +1,116 @@
 | 
			
		|||
fileFormatVersion: 2
 | 
			
		||||
guid: aefc98e1735111d4c9a1a597212bf50b
 | 
			
		||||
TextureImporter:
 | 
			
		||||
  internalIDToNameTable: []
 | 
			
		||||
  externalObjects: {}
 | 
			
		||||
  serializedVersion: 11
 | 
			
		||||
  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
 | 
			
		||||
  isReadable: 1
 | 
			
		||||
  streamingMipmaps: 0
 | 
			
		||||
  streamingMipmapsPriority: 0
 | 
			
		||||
  grayScaleToAlpha: 0
 | 
			
		||||
  generateCubemap: 6
 | 
			
		||||
  cubemapConvolution: 0
 | 
			
		||||
  seamlessCubemap: 0
 | 
			
		||||
  textureFormat: 1
 | 
			
		||||
  maxTextureSize: 2048
 | 
			
		||||
  textureSettings:
 | 
			
		||||
    serializedVersion: 2
 | 
			
		||||
    filterMode: -1
 | 
			
		||||
    aniso: -1
 | 
			
		||||
    mipBias: -100
 | 
			
		||||
    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: 185
 | 
			
		||||
  spriteBorder: {x: 0, y: 0, z: 0, w: 0}
 | 
			
		||||
  spriteGenerateFallbackPhysicsShape: 1
 | 
			
		||||
  alphaUsage: 1
 | 
			
		||||
  alphaIsTransparency: 1
 | 
			
		||||
  spriteTessellationDetail: -1
 | 
			
		||||
  textureType: 8
 | 
			
		||||
  textureShape: 1
 | 
			
		||||
  singleChannelComponent: 0
 | 
			
		||||
  maxTextureSizeSet: 0
 | 
			
		||||
  compressionQualitySet: 0
 | 
			
		||||
  textureFormatSet: 0
 | 
			
		||||
  applyGammaDecoding: 0
 | 
			
		||||
  platformSettings:
 | 
			
		||||
  - serializedVersion: 3
 | 
			
		||||
    buildTarget: DefaultTexturePlatform
 | 
			
		||||
    maxTextureSize: 2048
 | 
			
		||||
    resizeAlgorithm: 0
 | 
			
		||||
    textureFormat: -1
 | 
			
		||||
    textureCompression: 0
 | 
			
		||||
    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: 0
 | 
			
		||||
    compressionQuality: 50
 | 
			
		||||
    crunchedCompression: 0
 | 
			
		||||
    allowsAlphaSplitting: 0
 | 
			
		||||
    overridden: 0
 | 
			
		||||
    androidETC2FallbackOverride: 0
 | 
			
		||||
    forceMaximumCompressionQuality_BC6H_BC7: 0
 | 
			
		||||
  - serializedVersion: 3
 | 
			
		||||
    buildTarget: Android
 | 
			
		||||
    maxTextureSize: 2048
 | 
			
		||||
    resizeAlgorithm: 0
 | 
			
		||||
    textureFormat: -1
 | 
			
		||||
    textureCompression: 0
 | 
			
		||||
    compressionQuality: 50
 | 
			
		||||
    crunchedCompression: 0
 | 
			
		||||
    allowsAlphaSplitting: 0
 | 
			
		||||
    overridden: 0
 | 
			
		||||
    androidETC2FallbackOverride: 0
 | 
			
		||||
    forceMaximumCompressionQuality_BC6H_BC7: 0
 | 
			
		||||
  spriteSheet:
 | 
			
		||||
    serializedVersion: 2
 | 
			
		||||
    sprites: []
 | 
			
		||||
    outline: []
 | 
			
		||||
    physicsShape: []
 | 
			
		||||
    bones: []
 | 
			
		||||
    spriteID: 5e97eb03825dee720800000000000000
 | 
			
		||||
    internalID: 0
 | 
			
		||||
    vertices: []
 | 
			
		||||
    indices: 
 | 
			
		||||
    edges: []
 | 
			
		||||
    weights: []
 | 
			
		||||
    secondaryTextures: []
 | 
			
		||||
  spritePackingTag: 
 | 
			
		||||
  pSDRemoveMatte: 0
 | 
			
		||||
  pSDShowRemoveMatteOption: 0
 | 
			
		||||
  userData: 
 | 
			
		||||
  assetBundleName: 
 | 
			
		||||
  assetBundleVariant: 
 | 
			
		||||
| 
						 | 
				
			
			@ -17,7 +17,7 @@ namespace RimWorldAnimationStudio
 | 
			
		|||
        [XmlArray("tags"), XmlArrayItem("li")] public List<string> tags;
 | 
			
		||||
 | 
			
		||||
        [XmlIgnore] public ActorGender gender;
 | 
			
		||||
        [XmlIgnore] public string raceDef;
 | 
			
		||||
        [XmlIgnore] private AlienRaceDef alienRaceDef;
 | 
			
		||||
 | 
			
		||||
        public BodyTypeOffset bodyTypeOffset = new BodyTypeOffset();
 | 
			
		||||
        public bool initiator = false;
 | 
			
		||||
| 
						 | 
				
			
			@ -37,9 +37,24 @@ namespace RimWorldAnimationStudio
 | 
			
		|||
        public bool ShouldSerializeisFucking() { return isFucking; }
 | 
			
		||||
        public bool ShouldSerializeisFucked() { return isFucked; }
 | 
			
		||||
 | 
			
		||||
        public AlienRaceDef GetAlienRaceDef()
 | 
			
		||||
        {
 | 
			
		||||
            if (alienRaceDef == null)
 | 
			
		||||
            { alienRaceDef = AlienRaceDefs.GetNamed("Human"); }
 | 
			
		||||
 | 
			
		||||
            return alienRaceDef;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        public void SetAlienRaceDef(string alienRaceDefName)
 | 
			
		||||
        {
 | 
			
		||||
            AlienRaceDef alienRaceDef = AlienRaceDefs.GetNamed(alienRaceDefName);
 | 
			
		||||
 | 
			
		||||
            if (alienRaceDef != null)
 | 
			
		||||
            { this.alienRaceDef = alienRaceDef; }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        public void ValidateData()
 | 
			
		||||
        {
 | 
			
		||||
            defNames = defNames.Intersect(Tags.defNames.Concat(CustomTags.defNames))?.ToList();
 | 
			
		||||
            bodyDefTypes = bodyDefTypes.Intersect(Tags.bodyDefTypes.Concat(CustomTags.bodyDefTypes))?.ToList();
 | 
			
		||||
            requiredGenitals = requiredGenitals.Intersect(Tags.bodyParts.Concat(CustomTags.bodyParts))?.ToList();
 | 
			
		||||
        }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										210
									
								
								Assets/Scripts/AnimationComponents/AlienRaceDef.cs
									
										
									
									
									
										Normal file
									
								
							
							
						
						| 
						 | 
				
			
			@ -0,0 +1,210 @@
 | 
			
		|||
using System;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
using System.IO;
 | 
			
		||||
using System.Linq;
 | 
			
		||||
using System.Text;
 | 
			
		||||
using System.Threading.Tasks;
 | 
			
		||||
using UnityEngine;
 | 
			
		||||
 | 
			
		||||
namespace RimWorldAnimationStudio
 | 
			
		||||
{
 | 
			
		||||
    public class AlienRaceDef
 | 
			
		||||
    {
 | 
			
		||||
        public string defName;
 | 
			
		||||
        public bool isHumanoid = true;
 | 
			
		||||
        public float scale = 1f;
 | 
			
		||||
 | 
			
		||||
        public List<MultiDirectionalGraphic> bodyTypeGraphics = new List<MultiDirectionalGraphic>();
 | 
			
		||||
        public MultiDirectionalGraphic headGraphics = new MultiDirectionalGraphic();
 | 
			
		||||
 | 
			
		||||
        public AlienRaceDef()
 | 
			
		||||
        {
 | 
			
		||||
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        public AlienRaceDef(string defName)
 | 
			
		||||
        {
 | 
			
		||||
            this.defName = defName;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        public Sprite GetHeadGraphic(CardinalDirection facing)
 | 
			
		||||
        {
 | 
			
		||||
            if (HasValidHeadGraphicPath(facing) == false)
 | 
			
		||||
            { return null; }
 | 
			
		||||
 | 
			
		||||
            switch (facing)
 | 
			
		||||
            {
 | 
			
		||||
                case CardinalDirection.North: return headGraphics.northGraphic.sprite;
 | 
			
		||||
                case CardinalDirection.East: return headGraphics.eastGraphic.sprite;
 | 
			
		||||
                case CardinalDirection.South: return headGraphics.southGraphic.sprite;
 | 
			
		||||
                default: return headGraphics.eastGraphic.sprite;
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        public Sprite GetBodyTypeGraphic(CardinalDirection facing, string bodyType = "None")
 | 
			
		||||
        {
 | 
			
		||||
            if (HasValidBodyTypeGraphicPath(facing, bodyType) == false)
 | 
			
		||||
            { return null; }
 | 
			
		||||
 | 
			
		||||
            MultiDirectionalGraphic bodyTypeGraphic = bodyTypeGraphics.FirstOrDefault(x => x.bodyType == bodyType);
 | 
			
		||||
            
 | 
			
		||||
            if (bodyTypeGraphic == null)
 | 
			
		||||
            {
 | 
			
		||||
                bodyTypeGraphic = new MultiDirectionalGraphic(bodyType);
 | 
			
		||||
                bodyTypeGraphics.Add(bodyTypeGraphic);
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            switch (facing)
 | 
			
		||||
            {
 | 
			
		||||
                case CardinalDirection.North: return bodyTypeGraphic.northGraphic.sprite;
 | 
			
		||||
                case CardinalDirection.East: return bodyTypeGraphic.eastGraphic.sprite;
 | 
			
		||||
                case CardinalDirection.South: return bodyTypeGraphic.southGraphic.sprite;
 | 
			
		||||
                default: return bodyTypeGraphic.eastGraphic.sprite;
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        public string GetHeadGraphicPath(CardinalDirection facing)
 | 
			
		||||
        {
 | 
			
		||||
            if (HasValidHeadGraphicPath(facing) == false)
 | 
			
		||||
            { return "Invalid file path"; }
 | 
			
		||||
 | 
			
		||||
            switch (facing)
 | 
			
		||||
            {
 | 
			
		||||
                case CardinalDirection.North: return headGraphics.northGraphic.path;
 | 
			
		||||
                case CardinalDirection.East: return headGraphics.eastGraphic.path;
 | 
			
		||||
                case CardinalDirection.South: return headGraphics.southGraphic.path;
 | 
			
		||||
                default: return headGraphics.eastGraphic.path;
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        public string GetBodyTypeGraphicPath(CardinalDirection facing, string bodyType = "None")
 | 
			
		||||
        {
 | 
			
		||||
            if (HasValidBodyTypeGraphicPath(facing, bodyType) == false)
 | 
			
		||||
            { return "Invalid file path"; }
 | 
			
		||||
 | 
			
		||||
            MultiDirectionalGraphic bodyTypeGraphic = bodyTypeGraphics.FirstOrDefault(x => x.bodyType == bodyType);
 | 
			
		||||
 | 
			
		||||
            if (bodyTypeGraphic == null)
 | 
			
		||||
            {
 | 
			
		||||
                bodyTypeGraphic = new MultiDirectionalGraphic(bodyType);
 | 
			
		||||
                bodyTypeGraphics.Add(bodyTypeGraphic);
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            switch (facing)
 | 
			
		||||
            {
 | 
			
		||||
                case CardinalDirection.North: return bodyTypeGraphic.northGraphic.path;
 | 
			
		||||
                case CardinalDirection.East: return bodyTypeGraphic.eastGraphic.path;
 | 
			
		||||
                case CardinalDirection.South: return bodyTypeGraphic.southGraphic.path;
 | 
			
		||||
                default: return bodyTypeGraphic.eastGraphic.path;
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        public void SetHeadGraphicPath(string path, CardinalDirection facing)
 | 
			
		||||
        {
 | 
			
		||||
            if (path == null || path.Any() == false || File.Exists(path) == false || Path.GetExtension(path) != ".png")
 | 
			
		||||
            { path = "Invalid file path"; }
 | 
			
		||||
 | 
			
		||||
            switch (facing)
 | 
			
		||||
            {
 | 
			
		||||
                case CardinalDirection.North: 
 | 
			
		||||
                    headGraphics.northGraphic.path = path;
 | 
			
		||||
                    headGraphics.northGraphic.sprite = LoadSprite(path); break;
 | 
			
		||||
                case CardinalDirection.East: 
 | 
			
		||||
                    headGraphics.eastGraphic.path = path; 
 | 
			
		||||
                    headGraphics.eastGraphic.sprite = LoadSprite(path); break;
 | 
			
		||||
                case CardinalDirection.South: 
 | 
			
		||||
                    headGraphics.southGraphic.path = path;
 | 
			
		||||
                    headGraphics.southGraphic.sprite = LoadSprite(path); break;
 | 
			
		||||
                default: 
 | 
			
		||||
                    headGraphics.eastGraphic.path = path; 
 | 
			
		||||
                    headGraphics.eastGraphic.sprite = LoadSprite(path); break;
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        public void SetBodyTypeGraphicPath(string path, CardinalDirection facing, string bodyType = "None")
 | 
			
		||||
        {
 | 
			
		||||
            if (path == null || path.Any() == false || File.Exists(path) == false || Path.GetExtension(path) != ".png")
 | 
			
		||||
            { path = "Invalid file path"; }
 | 
			
		||||
 | 
			
		||||
            MultiDirectionalGraphic bodyTypeGraphic = bodyTypeGraphics.FirstOrDefault(x => x.bodyType == bodyType);
 | 
			
		||||
 | 
			
		||||
            if (bodyTypeGraphic == null)
 | 
			
		||||
            {
 | 
			
		||||
                bodyTypeGraphic = new MultiDirectionalGraphic(bodyType);
 | 
			
		||||
                bodyTypeGraphics.Add(bodyTypeGraphic);
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            switch (facing)
 | 
			
		||||
            {
 | 
			
		||||
                case CardinalDirection.North:
 | 
			
		||||
                    bodyTypeGraphic.northGraphic.path = path;
 | 
			
		||||
                    bodyTypeGraphic.northGraphic.sprite = LoadSprite(path); break;
 | 
			
		||||
                case CardinalDirection.East:
 | 
			
		||||
                    bodyTypeGraphic.eastGraphic.path = path;
 | 
			
		||||
                    bodyTypeGraphic.eastGraphic.sprite = LoadSprite(path); break;
 | 
			
		||||
                case CardinalDirection.South:
 | 
			
		||||
                    bodyTypeGraphic.southGraphic.path = path;
 | 
			
		||||
                    bodyTypeGraphic.southGraphic.sprite = LoadSprite(path); break;
 | 
			
		||||
                default:
 | 
			
		||||
                    bodyTypeGraphic.eastGraphic.path = path;
 | 
			
		||||
                    bodyTypeGraphic.eastGraphic.sprite = LoadSprite(path); break;
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        public bool HasValidHeadGraphicPath(CardinalDirection facing)
 | 
			
		||||
        {
 | 
			
		||||
            string path;
 | 
			
		||||
 | 
			
		||||
            switch (facing)
 | 
			
		||||
            {
 | 
			
		||||
                case CardinalDirection.North: path = headGraphics.northGraphic.path; break;
 | 
			
		||||
                case CardinalDirection.East: path = headGraphics.eastGraphic.path; break;
 | 
			
		||||
                case CardinalDirection.South: path = headGraphics.southGraphic.path; break;
 | 
			
		||||
                default: path = headGraphics.eastGraphic.path; break;
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            if (path == null || path.Any() == false || File.Exists(path) == false || Path.GetExtension(path) != ".png") return false;
 | 
			
		||||
 | 
			
		||||
            return true;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        public bool HasValidBodyTypeGraphicPath(CardinalDirection facing, string bodyType = "None")
 | 
			
		||||
        {
 | 
			
		||||
            MultiDirectionalGraphic bodyTypeGraphic = bodyTypeGraphics.FirstOrDefault(x => x.bodyType == bodyType);
 | 
			
		||||
 | 
			
		||||
            if (bodyTypeGraphic == null)
 | 
			
		||||
            {
 | 
			
		||||
                bodyTypeGraphic = new MultiDirectionalGraphic(bodyType);
 | 
			
		||||
                bodyTypeGraphics.Add(bodyTypeGraphic);
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            string path;
 | 
			
		||||
 | 
			
		||||
            switch (facing)
 | 
			
		||||
            {
 | 
			
		||||
                case CardinalDirection.North: path = bodyTypeGraphic.northGraphic.path; break;
 | 
			
		||||
                case CardinalDirection.East: path = bodyTypeGraphic.eastGraphic.path; break;
 | 
			
		||||
                case CardinalDirection.South: path = bodyTypeGraphic.southGraphic.path; break;
 | 
			
		||||
                default: path = bodyTypeGraphic.eastGraphic.path; break;
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            if (path == null || path.Any() == false || File.Exists(path) == false || Path.GetExtension(path) != ".png") return false;
 | 
			
		||||
 | 
			
		||||
            return true;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        public Sprite LoadSprite(string path)
 | 
			
		||||
        {
 | 
			
		||||
            if (path == null || path.Any() == false || File.Exists(path) == false || Path.GetExtension(path) != ".png") return null;
 | 
			
		||||
 | 
			
		||||
            byte[] pngBytes = File.ReadAllBytes(path);
 | 
			
		||||
 | 
			
		||||
            Texture2D tex = new Texture2D(2, 2);
 | 
			
		||||
            tex.LoadImage(pngBytes);
 | 
			
		||||
 | 
			
		||||
            Sprite sprite = Sprite.Create(tex, new Rect(0.0f, 0.0f, tex.width, tex.height), new Vector2(0.5f, 0.5f), 85.0f);
 | 
			
		||||
 | 
			
		||||
            return sprite;
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										11
									
								
								Assets/Scripts/AnimationComponents/AlienRaceDef.cs.meta
									
										
									
									
									
										Normal file
									
								
							
							
						
						| 
						 | 
				
			
			@ -0,0 +1,11 @@
 | 
			
		|||
fileFormatVersion: 2
 | 
			
		||||
guid: 5b8a2db320a85494c882518c143b73f7
 | 
			
		||||
MonoImporter:
 | 
			
		||||
  externalObjects: {}
 | 
			
		||||
  serializedVersion: 2
 | 
			
		||||
  defaultReferences: []
 | 
			
		||||
  executionOrder: 0
 | 
			
		||||
  icon: {instanceID: 0}
 | 
			
		||||
  userData: 
 | 
			
		||||
  assetBundleName: 
 | 
			
		||||
  assetBundleVariant: 
 | 
			
		||||
| 
						 | 
				
			
			@ -1,7 +1,10 @@
 | 
			
		|||
using UnityEngine;
 | 
			
		||||
using System;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
using UnityEngine;
 | 
			
		||||
 | 
			
		||||
namespace RimWorldAnimationStudio
 | 
			
		||||
{
 | 
			
		||||
    [Serializable]
 | 
			
		||||
    public class AlienRaceOffset
 | 
			
		||||
    {
 | 
			
		||||
        public string defName;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -0,0 +1,25 @@
 | 
			
		|||
using System;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
using System.Linq;
 | 
			
		||||
using System.Text;
 | 
			
		||||
using System.Threading.Tasks;
 | 
			
		||||
using UnityEngine;
 | 
			
		||||
 | 
			
		||||
namespace RimWorldAnimationStudio
 | 
			
		||||
{
 | 
			
		||||
    [Serializable]
 | 
			
		||||
    public class MultiDirectionalGraphic
 | 
			
		||||
    {
 | 
			
		||||
        public string bodyType = "None";
 | 
			
		||||
        public DirectionalGraphic northGraphic = new DirectionalGraphic();
 | 
			
		||||
        public DirectionalGraphic eastGraphic = new DirectionalGraphic();
 | 
			
		||||
        public DirectionalGraphic southGraphic = new DirectionalGraphic();
 | 
			
		||||
 | 
			
		||||
        public MultiDirectionalGraphic() { }
 | 
			
		||||
 | 
			
		||||
        public MultiDirectionalGraphic(string bodyType)
 | 
			
		||||
        {
 | 
			
		||||
            this.bodyType = bodyType;
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -0,0 +1,11 @@
 | 
			
		|||
fileFormatVersion: 2
 | 
			
		||||
guid: 86cb79b8d4c053f4a981ed17b86ae9bb
 | 
			
		||||
MonoImporter:
 | 
			
		||||
  externalObjects: {}
 | 
			
		||||
  serializedVersion: 2
 | 
			
		||||
  defaultReferences: []
 | 
			
		||||
  executionOrder: 0
 | 
			
		||||
  icon: {instanceID: 0}
 | 
			
		||||
  userData: 
 | 
			
		||||
  assetBundleName: 
 | 
			
		||||
  assetBundleVariant: 
 | 
			
		||||
							
								
								
									
										14
									
								
								Assets/Scripts/DirectionalGraphic.cs
									
										
									
									
									
										Normal file
									
								
							
							
						
						| 
						 | 
				
			
			@ -0,0 +1,14 @@
 | 
			
		|||
using System;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
using System.Linq;
 | 
			
		||||
using System.Xml.Serialization;
 | 
			
		||||
using UnityEngine;
 | 
			
		||||
 | 
			
		||||
namespace RimWorldAnimationStudio
 | 
			
		||||
{
 | 
			
		||||
    public class DirectionalGraphic
 | 
			
		||||
    {
 | 
			
		||||
        public string path = "Invalid file path";
 | 
			
		||||
        [XmlIgnore] public Sprite sprite = null;
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										11
									
								
								Assets/Scripts/DirectionalGraphic.cs.meta
									
										
									
									
									
										Normal file
									
								
							
							
						
						| 
						 | 
				
			
			@ -0,0 +1,11 @@
 | 
			
		|||
fileFormatVersion: 2
 | 
			
		||||
guid: 7eb64887148d9f44793b32cf5393c7ad
 | 
			
		||||
MonoImporter:
 | 
			
		||||
  externalObjects: {}
 | 
			
		||||
  serializedVersion: 2
 | 
			
		||||
  defaultReferences: []
 | 
			
		||||
  executionOrder: 0
 | 
			
		||||
  icon: {instanceID: 0}
 | 
			
		||||
  userData: 
 | 
			
		||||
  assetBundleName: 
 | 
			
		||||
  assetBundleVariant: 
 | 
			
		||||
| 
						 | 
				
			
			@ -36,7 +36,7 @@ namespace RimWorldAnimationStudio
 | 
			
		|||
 | 
			
		||||
        public void OnPointerClick(PointerEventData eventData)
 | 
			
		||||
        {
 | 
			
		||||
            if (eventData.pointerCurrentRaycast.gameObject.GetComponent<ActorBody>() == null)
 | 
			
		||||
            if (eventData.pointerCurrentRaycast.gameObject.GetComponent<ActorBodyPart>())
 | 
			
		||||
            { return; }
 | 
			
		||||
 | 
			
		||||
            Activate();
 | 
			
		||||
| 
						 | 
				
			
			@ -61,7 +61,7 @@ namespace RimWorldAnimationStudio
 | 
			
		|||
 | 
			
		||||
            else if (Workspace.actorManipulationMode == ActorManipulationMode.Rotate)
 | 
			
		||||
            {
 | 
			
		||||
                float angle = Vector2.SignedAngle(Vector2.down, (Vector2)mousePosition - (Vector2)transform.position);
 | 
			
		||||
                float angle = -Vector2.SignedAngle(Vector2.down, (Vector2)mousePosition - (Vector2)transform.position);
 | 
			
		||||
                keyframe.bodyAngle = angle;
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -55,7 +55,7 @@ namespace RimWorldAnimationStudio
 | 
			
		|||
 | 
			
		||||
                else if (Workspace.actorManipulationMode == ActorManipulationMode.Rotate)
 | 
			
		||||
                {
 | 
			
		||||
                    float angle = Vector2.SignedAngle(Vector2.down, (Vector2)mousePosition - (Vector2)transform.position);
 | 
			
		||||
                    float angle = -Vector2.SignedAngle(Vector2.down, (Vector2)mousePosition - (Vector2)transform.position);
 | 
			
		||||
                    keyframe.headAngle = angle;
 | 
			
		||||
                }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -14,9 +14,6 @@ namespace RimWorldAnimationStudio
 | 
			
		|||
        public InputField bodyOffsetZField;
 | 
			
		||||
        public Toggle initiatorToggle;
 | 
			
		||||
 | 
			
		||||
        private int actorID = -1;
 | 
			
		||||
        private bool isDirty = false;
 | 
			
		||||
 | 
			
		||||
        public void Initialize()
 | 
			
		||||
        {
 | 
			
		||||
            Actor actor = Workspace.animationDef.actors[Workspace.actorID];
 | 
			
		||||
| 
						 | 
				
			
			@ -45,7 +42,7 @@ namespace RimWorldAnimationStudio
 | 
			
		|||
 | 
			
		||||
        public void OnValueChanged()
 | 
			
		||||
        {
 | 
			
		||||
            if (Workspace.animationDef == null || isDirty) return;
 | 
			
		||||
            if (Workspace.animationDef == null) return;
 | 
			
		||||
 | 
			
		||||
            Actor actor = Workspace.animationDef.actors[Workspace.actorID];
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -68,47 +65,10 @@ namespace RimWorldAnimationStudio
 | 
			
		|||
            Workspace.Instance.RecordEvent("Actor body type offset data");
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        /*public void OpenSelectBodyPartsDialog()
 | 
			
		||||
        {
 | 
			
		||||
            if (Workspace.animationDef == null) return;
 | 
			
		||||
 | 
			
		||||
            Actor actor = Workspace.animationDef.actors[Workspace.actorID];
 | 
			
		||||
            var dialog = Resources.FindObjectsOfTypeAll(typeof(SelectBodyPartsDialog)) as SelectBodyPartsDialog[];
 | 
			
		||||
 | 
			
		||||
            if (dialog != null)
 | 
			
		||||
            { dialog[0].Initialize(actor); dialog[0].Pop(); }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        public void OpenSelectDefNamesDialog()
 | 
			
		||||
        {
 | 
			
		||||
            if (Workspace.animationDef == null) return;
 | 
			
		||||
 | 
			
		||||
            Actor actor = Workspace.animationDef.actors[Workspace.actorID];
 | 
			
		||||
            var dialog = Resources.FindObjectsOfTypeAll(typeof(SelectDefNamesDialog)) as SelectDefNamesDialog[];
 | 
			
		||||
 | 
			
		||||
            if (dialog != null)
 | 
			
		||||
            { dialog[0].Initialize(actor); dialog[0].Pop(); }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        public void OpenSelectBodyDefTypesDialog()
 | 
			
		||||
        {
 | 
			
		||||
            if (Workspace.animationDef == null) return;
 | 
			
		||||
 | 
			
		||||
            Actor actor = Workspace.animationDef.actors[Workspace.actorID];
 | 
			
		||||
            var dialog = Resources.FindObjectsOfTypeAll(typeof(SelectBodyDefTypesDialog)) as SelectBodyDefTypesDialog[];
 | 
			
		||||
 | 
			
		||||
            if (dialog != null)
 | 
			
		||||
            { dialog[0].Initialize(actor); dialog[0].Pop(); }
 | 
			
		||||
        }*/
 | 
			
		||||
 | 
			
		||||
        public void Update()
 | 
			
		||||
        {
 | 
			
		||||
            if (Workspace.animationDef == null) return;
 | 
			
		||||
 | 
			
		||||
            if (actorID != Workspace.actorID)
 | 
			
		||||
            {
 | 
			
		||||
                isDirty = true;
 | 
			
		||||
 | 
			
		||||
            if (Workspace.actorID >= AnimationController.Instance.actorBodies.GetComponentsInChildren<ActorBody>().Count())
 | 
			
		||||
            { Debug.Log("Waiting for actors to initialize..."); return; }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -119,15 +79,14 @@ namespace RimWorldAnimationStudio
 | 
			
		|||
            bodyType = bodyType == null || bodyType == "" ? "Male" : bodyType;
 | 
			
		||||
                
 | 
			
		||||
            bodyTypeDropdown.value = bodyTypeDropdown.options.IndexOf(bodyTypeDropdown.options.First(x => x.text == bodyType));
 | 
			
		||||
                bodyOffsetXField.text = actor.bodyTypeOffset.GetOffset(bodyType).x.ToString();
 | 
			
		||||
                bodyOffsetZField.text = actor.bodyTypeOffset.GetOffset(bodyType).z.ToString();
 | 
			
		||||
 | 
			
		||||
            if (bodyOffsetXField.isFocused == false)
 | 
			
		||||
            { bodyOffsetXField.text = actor.bodyTypeOffset.GetOffset(bodyType).x.ToString(); }
 | 
			
		||||
 | 
			
		||||
            if (bodyOffsetZField.isFocused == false)
 | 
			
		||||
            { bodyOffsetZField.text = actor.bodyTypeOffset.GetOffset(bodyType).z.ToString(); }
 | 
			
		||||
 | 
			
		||||
            initiatorToggle.isOn = actor.initiator;
 | 
			
		||||
 | 
			
		||||
                actorID = Workspace.actorID;
 | 
			
		||||
 | 
			
		||||
                isDirty = false;
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -54,6 +54,18 @@ namespace RimWorldAnimationStudio
 | 
			
		|||
            Initialize(true);
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        public void AddCustomRace(InputField field)
 | 
			
		||||
        {
 | 
			
		||||
            if (field?.text == null || field.text == "")
 | 
			
		||||
            { return; }
 | 
			
		||||
 | 
			
		||||
            AlienRaceDefs.AddDef(new AlienRaceDef(field.text));
 | 
			
		||||
 | 
			
		||||
            ApplicationManager.Instance.SaveAlienRaceDefs();
 | 
			
		||||
 | 
			
		||||
            Initialize(true);
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        public virtual void Initialize(bool addedNewTag = false) { }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										127
									
								
								Assets/Scripts/GUI/DialogBoxes/RaceSettingsDialog.cs
									
										
									
									
									
										Normal file
									
								
							
							
						
						| 
						 | 
				
			
			@ -0,0 +1,127 @@
 | 
			
		|||
using System;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
using System.Linq;
 | 
			
		||||
using System.Text;
 | 
			
		||||
using System.Threading.Tasks;
 | 
			
		||||
using UnityEngine;
 | 
			
		||||
using UnityEngine.UI;
 | 
			
		||||
using SFB;
 | 
			
		||||
using System.IO;
 | 
			
		||||
 | 
			
		||||
namespace RimWorldAnimationStudio
 | 
			
		||||
{
 | 
			
		||||
    public class RaceSettingsDialog : DialogBox
 | 
			
		||||
    {
 | 
			
		||||
        public Dropdown raceSelectDropdown;
 | 
			
		||||
        public Transform raceSettingsWindow;
 | 
			
		||||
        public Toggle isHumanoidToggle;
 | 
			
		||||
 | 
			
		||||
        public override void Initialize(bool addedNewTag = false)
 | 
			
		||||
        {
 | 
			
		||||
            Reset();
 | 
			
		||||
 | 
			
		||||
            string alienRaceDefName = raceSelectDropdown.value < raceSelectDropdown.options.Count ? raceSelectDropdown.options[raceSelectDropdown.value].text : "Human";
 | 
			
		||||
            if (alienRaceDefName == null || alienRaceDefName == "") alienRaceDefName = "Human";
 | 
			
		||||
 | 
			
		||||
            AlienRaceDef alienRaceDef = AlienRaceDefs.GetNamed(alienRaceDefName);
 | 
			
		||||
            if (alienRaceDef == null) return;
 | 
			
		||||
 | 
			
		||||
            isHumanoidToggle.isOn = alienRaceDef.isHumanoid;
 | 
			
		||||
 | 
			
		||||
            Text bodyGraphicsTitle = AddCloneObjectToParent(raceSettingsWindow, 2).GetComponent<Text>();
 | 
			
		||||
            bodyGraphicsTitle.text = "Body graphic filepaths";
 | 
			
		||||
 | 
			
		||||
            foreach (string bodyType in Tags.bodyTypes)
 | 
			
		||||
            {
 | 
			
		||||
                string _bodyType = alienRaceDef.isHumanoid ? bodyType : "None";
 | 
			
		||||
 | 
			
		||||
                if (alienRaceDef.isHumanoid)
 | 
			
		||||
                {
 | 
			
		||||
                    Text bodyTypeTitle = AddCloneObjectToParent(raceSettingsWindow, 2).GetComponent<Text>();
 | 
			
		||||
                    bodyTypeTitle.text = bodyType;
 | 
			
		||||
                }
 | 
			
		||||
 | 
			
		||||
                for (int i = 2; i >= 0; i--)
 | 
			
		||||
                {
 | 
			
		||||
                    CardinalDirection facing = (CardinalDirection)i;
 | 
			
		||||
 | 
			
		||||
                    GameObject filepath = AddCloneObjectToParent(raceSettingsWindow, 0);
 | 
			
		||||
                    filepath.GetComponent<Text>().text = facing.ToString();
 | 
			
		||||
                    filepath.transform.Find("FilepathButton").GetComponent<Button>().onClick.AddListener(delegate
 | 
			
		||||
                    {
 | 
			
		||||
                        SetBodyTypeGraphicPath(alienRaceDef, facing, _bodyType);
 | 
			
		||||
                    });
 | 
			
		||||
                    filepath.transform.FindDeepChild("FilepathLabel").GetComponent<Text>().text = alienRaceDef.GetBodyTypeGraphicPath(facing, _bodyType);
 | 
			
		||||
                }
 | 
			
		||||
 | 
			
		||||
                AddCloneObjectToParent(raceSettingsWindow, 3);
 | 
			
		||||
 | 
			
		||||
                if (alienRaceDef.isHumanoid == false)
 | 
			
		||||
                { break; }
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            if (alienRaceDef.isHumanoid)
 | 
			
		||||
            {
 | 
			
		||||
                Text headGraphics = AddCloneObjectToParent(raceSettingsWindow, 2).GetComponent<Text>();
 | 
			
		||||
                headGraphics.text = "Head graphic filepaths";
 | 
			
		||||
 | 
			
		||||
                for (int i = 2; i >= 0; i--)
 | 
			
		||||
                {
 | 
			
		||||
                    CardinalDirection facing = (CardinalDirection)i;
 | 
			
		||||
 | 
			
		||||
                    GameObject filepath = AddCloneObjectToParent(raceSettingsWindow, 0);
 | 
			
		||||
                    filepath.GetComponent<Text>().text = facing.ToString();
 | 
			
		||||
                    filepath.transform.Find("FilepathButton").GetComponent<Button>().onClick.AddListener(delegate
 | 
			
		||||
                    {
 | 
			
		||||
                        SetHeadGraphicPath(alienRaceDef, facing);
 | 
			
		||||
                    });
 | 
			
		||||
                    filepath.transform.FindDeepChild("FilepathLabel").GetComponent<Text>().text = alienRaceDef.GetHeadGraphicPath(facing);
 | 
			
		||||
                }
 | 
			
		||||
 | 
			
		||||
                AddCloneObjectToParent(raceSettingsWindow, 3);
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        public void Reset()
 | 
			
		||||
        {
 | 
			
		||||
            RemoveCloneObjectsFromParent(raceSettingsWindow);
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        public void SetIsHumanoid()
 | 
			
		||||
        {
 | 
			
		||||
            string alienRaceDefName = raceSelectDropdown.value < raceSelectDropdown.options.Count ? raceSelectDropdown.options[raceSelectDropdown.value].text : "Human";
 | 
			
		||||
            if (alienRaceDefName == null || alienRaceDefName == "") alienRaceDefName = "Human";
 | 
			
		||||
 | 
			
		||||
            AlienRaceDef alienRaceDef = AlienRaceDefs.GetNamed(alienRaceDefName);
 | 
			
		||||
            if (alienRaceDef == null) return;
 | 
			
		||||
 | 
			
		||||
            alienRaceDef.isHumanoid = isHumanoidToggle.isOn;
 | 
			
		||||
 | 
			
		||||
            Initialize();
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        public void SetHeadGraphicPath(AlienRaceDef alienRaceDef, CardinalDirection direction)
 | 
			
		||||
        {
 | 
			
		||||
            var paths = StandaloneFileBrowser.OpenFilePanel("Select texture File", "", "png", false);
 | 
			
		||||
 | 
			
		||||
            if (paths == null || paths.Any() == false || File.Exists(paths[0]) == false)
 | 
			
		||||
            { Debug.LogError("Selected file was null or invalid"); return; }
 | 
			
		||||
 | 
			
		||||
            alienRaceDef.SetHeadGraphicPath(paths[0], direction);
 | 
			
		||||
 | 
			
		||||
            Initialize();
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        public void SetBodyTypeGraphicPath(AlienRaceDef alienRaceDef, CardinalDirection direction, string bodyType)
 | 
			
		||||
        {
 | 
			
		||||
            var paths = StandaloneFileBrowser.OpenFilePanel("Select texture File", "", "png", false);
 | 
			
		||||
 | 
			
		||||
            if (paths == null || paths.Any() == false || File.Exists(paths[0]) == false)
 | 
			
		||||
            { Debug.LogError("Selected file was null or invalid"); return; }
 | 
			
		||||
 | 
			
		||||
            alienRaceDef.SetBodyTypeGraphicPath(paths[0], direction, bodyType);
 | 
			
		||||
 | 
			
		||||
            Initialize();
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -10,11 +10,6 @@ namespace RimWorldAnimationStudio
 | 
			
		|||
{
 | 
			
		||||
    public class SelectActorLayerDialog : DialogBox
 | 
			
		||||
    {
 | 
			
		||||
        public void OnEnable()
 | 
			
		||||
        {
 | 
			
		||||
            Initialize();
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        public void Initialize()
 | 
			
		||||
        {
 | 
			
		||||
            if (Workspace.animationDef == null) return;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -12,7 +12,7 @@ namespace RimWorldAnimationStudio
 | 
			
		|||
    {
 | 
			
		||||
        public override void Initialize(bool addedNewTag = false)
 | 
			
		||||
        {
 | 
			
		||||
            IEnumerable<string> allTags = Tags.bodyDefTypes.Concat(CustomTags.interactionDefTypes);
 | 
			
		||||
            IEnumerable<string> allTags = Tags.bodyDefTypes.Concat(CustomTags.bodyDefTypes);
 | 
			
		||||
            string placeHolderText = "Enter new body def type...";
 | 
			
		||||
 | 
			
		||||
            Actor actor = Workspace.animationDef.actors[Workspace.actorID];
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -12,7 +12,7 @@ namespace RimWorldAnimationStudio
 | 
			
		|||
    {
 | 
			
		||||
        public override void Initialize(bool addedNewTag = false)
 | 
			
		||||
        {
 | 
			
		||||
            IEnumerable<string> allTags = Tags.bodyParts.Concat(CustomTags.interactionDefTypes);
 | 
			
		||||
            IEnumerable<string> allTags = Tags.bodyParts.Concat(CustomTags.bodyParts);
 | 
			
		||||
            string placeHolderText = "Enter new body part name...";
 | 
			
		||||
 | 
			
		||||
            Actor actor = Workspace.animationDef.actors[Workspace.actorID];
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -12,7 +12,7 @@ namespace RimWorldAnimationStudio
 | 
			
		|||
    {
 | 
			
		||||
        public override void Initialize(bool addedNewTag = false)
 | 
			
		||||
        {
 | 
			
		||||
            IEnumerable<string> allTags = Tags.defNames.Concat(CustomTags.interactionDefTypes);
 | 
			
		||||
            IEnumerable<string> allTags = AlienRaceDefs.allDefs.Select(x => x.defName);
 | 
			
		||||
            string placeHolderText = "Enter new def name...";
 | 
			
		||||
 | 
			
		||||
            Actor actor = Workspace.animationDef.actors[Workspace.actorID];
 | 
			
		||||
| 
						 | 
				
			
			@ -47,7 +47,7 @@ namespace RimWorldAnimationStudio
 | 
			
		|||
            _optionField.Find("Placeholder").GetComponent<Text>().text = placeHolderText;
 | 
			
		||||
 | 
			
		||||
            InputField fieldComp = _optionField.GetComponent<InputField>();
 | 
			
		||||
            fieldComp.onEndEdit.AddListener(delegate { AddCustomTag(fieldComp, ref Tags.defNames, ref CustomTags.defNames); });
 | 
			
		||||
            fieldComp.onEndEdit.AddListener(delegate { AddCustomRace(fieldComp); });
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        public void Reset()
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,59 +0,0 @@
 | 
			
		|||
using System;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
using System.Linq;
 | 
			
		||||
using System.Text;
 | 
			
		||||
using System.Threading.Tasks;
 | 
			
		||||
using UnityEngine;
 | 
			
		||||
using UnityEngine.UI;
 | 
			
		||||
 | 
			
		||||
namespace RimWorldAnimationStudio
 | 
			
		||||
{
 | 
			
		||||
    public class SelectRaceDialog : DialogBox
 | 
			
		||||
    {
 | 
			
		||||
        public override void Initialize(bool addedNewTag = false)
 | 
			
		||||
        {
 | 
			
		||||
            IEnumerable<string> allTags = Tags.defNames.Concat(CustomTags.interactionDefTypes);
 | 
			
		||||
            string placeHolderText = "Enter new def name...";
 | 
			
		||||
 | 
			
		||||
            Actor actor = Workspace.animationDef.actors[Workspace.actorID];
 | 
			
		||||
            Transform contentWindow = transform.FindDeepChild("Content");
 | 
			
		||||
            Reset();
 | 
			
		||||
 | 
			
		||||
            for (int i = 0; i < allTags.Count(); i++)
 | 
			
		||||
            {
 | 
			
		||||
                string tag = allTags.ElementAt(i);
 | 
			
		||||
 | 
			
		||||
                Transform _optionToggle = AddCloneObjectToParent(contentWindow).transform;
 | 
			
		||||
                _optionToggle.Find("Text").GetComponent<Text>().text = tag;
 | 
			
		||||
 | 
			
		||||
                Toggle toggleComp = _optionToggle.GetComponent<Toggle>();
 | 
			
		||||
                toggleComp.isOn = actor.defNames.Contains(tag);
 | 
			
		||||
                toggleComp.onValueChanged.AddListener(delegate 
 | 
			
		||||
                {                     
 | 
			
		||||
                    if (toggleComp.isOn && actor.defNames.Contains(tag) == false)
 | 
			
		||||
                    { actor.defNames.Add(tag); }
 | 
			
		||||
 | 
			
		||||
                    else if (toggleComp.isOn == false && actor.defNames.Contains(tag))
 | 
			
		||||
                    { actor.defNames.Remove(tag); }
 | 
			
		||||
 | 
			
		||||
                    Workspace.Instance.RecordEvent("Actor def name");
 | 
			
		||||
                });
 | 
			
		||||
 | 
			
		||||
                if (addedNewTag && i == allTags.Count() - 1)
 | 
			
		||||
                { toggleComp.isOn = true; }
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            Transform _optionField = AddCloneObjectToParent(contentWindow, 1).transform;
 | 
			
		||||
            _optionField.Find("Placeholder").GetComponent<Text>().text = placeHolderText;
 | 
			
		||||
 | 
			
		||||
            InputField fieldComp = _optionField.GetComponent<InputField>();
 | 
			
		||||
            fieldComp.onEndEdit.AddListener(delegate { AddCustomTag(fieldComp, ref Tags.defNames, ref CustomTags.defNames); });
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        public void Reset()
 | 
			
		||||
        {
 | 
			
		||||
            Transform contentWindow = transform.FindDeepChild("Content");
 | 
			
		||||
            RemoveCloneObjectsFromParent(contentWindow);
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -12,7 +12,7 @@ namespace RimWorldAnimationStudio
 | 
			
		|||
    {
 | 
			
		||||
        public override void Initialize(bool addedNewTag = false)
 | 
			
		||||
        {
 | 
			
		||||
            IEnumerable<string> allTags = Tags.sexTypes.Concat(CustomTags.interactionDefTypes);
 | 
			
		||||
            IEnumerable<string> allTags = Tags.sexTypes.Concat(CustomTags.sexTypes);
 | 
			
		||||
            string placeHolderText = "Enter new sex type...";
 | 
			
		||||
 | 
			
		||||
            if (Workspace.animationDef == null) return;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -12,7 +12,7 @@ namespace RimWorldAnimationStudio
 | 
			
		|||
    {
 | 
			
		||||
        public override void Initialize(bool addedNewTag = false)
 | 
			
		||||
        {
 | 
			
		||||
            IEnumerable<string> allTags = Tags.soundDefs.Concat(CustomTags.interactionDefTypes);
 | 
			
		||||
            IEnumerable<string> allTags = Tags.soundDefs.Concat(CustomTags.soundDefs);
 | 
			
		||||
            string placeHolderText = "Enter new sound def...";
 | 
			
		||||
 | 
			
		||||
            if (Workspace.animationDef == null) return;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -130,9 +130,11 @@ namespace RimWorldAnimationStudio
 | 
			
		|||
                { continue; }
 | 
			
		||||
 | 
			
		||||
                float clipPercent = (float)(stageTick % clip.duration) / clip.duration;
 | 
			
		||||
                if (stageTick == clip.duration) clipPercent = 1f;
 | 
			
		||||
 | 
			
		||||
                AlienRaceDef alienRaceDef = Workspace.animationDef.actors[actorID].GetAlienRaceDef();
 | 
			
		||||
                ActorBody actorBody = _actorBodies[actorID];
 | 
			
		||||
                string bodyType = actorBody.bodyType;
 | 
			
		||||
                string bodyType = alienRaceDef.isHumanoid ? actorBody.bodyType : "None";
 | 
			
		||||
 | 
			
		||||
                Vector3 deltaPos = new Vector3(clip.BodyOffsetX.Evaluate(clipPercent), 0, clip.BodyOffsetZ.Evaluate(clipPercent));
 | 
			
		||||
                deltaPos += Workspace.animationDef.actors[actorID].bodyTypeOffset.GetOffset(bodyType);
 | 
			
		||||
| 
						 | 
				
			
			@ -158,23 +160,31 @@ namespace RimWorldAnimationStudio
 | 
			
		|||
                float appendageRotation = clip.GenitalAngle.Evaluate(clipPercent);
 | 
			
		||||
 | 
			
		||||
                actorBody.transform.position = bodyPos;
 | 
			
		||||
                actorBody.transform.eulerAngles = new Vector3(0, 0, bodyAngle);
 | 
			
		||||
                actorBody.transform.eulerAngles = new Vector3(0, 0, -bodyAngle);
 | 
			
		||||
 | 
			
		||||
                actorBody.headRenderer.transform.localPosition = headPos;
 | 
			
		||||
                actorBody.headRenderer.transform.eulerAngles = new Vector3(0, 0, headAngle);
 | 
			
		||||
                actorBody.headRenderer.transform.eulerAngles = new Vector3(0, 0, -headAngle);
 | 
			
		||||
 | 
			
		||||
                actorBody.appendageRenderer.transform.localPosition = new Vector3(appendagePos.x, appendagePos.z, 0f);
 | 
			
		||||
                actorBody.appendageRenderer.transform.eulerAngles = new Vector3(0, 0, appendageRotation);
 | 
			
		||||
                actorBody.appendageRenderer.transform.eulerAngles = new Vector3(0, 0, -appendageRotation);
 | 
			
		||||
 | 
			
		||||
                actorBody.bodyRenderer.sprite = Resources.Load<Sprite>("Textures/Humanlike/Bodies/" + bodyType + bodyFacing);
 | 
			
		||||
                actorBody.headRenderer.sprite = Resources.Load<Sprite>("Textures/Humanlike/Heads/Head" + headFacing);
 | 
			
		||||
                actorBody.appendageRenderer.sprite = Resources.Load<Sprite>("Textures/Humanlike/Appendages/Appendage" + bodyFacing);
 | 
			
		||||
                actorBody.bodyRenderer.sprite = alienRaceDef.GetBodyTypeGraphic((CardinalDirection)bodyFacing, bodyType);
 | 
			
		||||
                actorBody.headRenderer.sprite = alienRaceDef.isHumanoid ? alienRaceDef.GetHeadGraphic((CardinalDirection)headFacing) : null;
 | 
			
		||||
                actorBody.appendageRenderer.sprite = alienRaceDef.isHumanoid && bodyFacing != 0 ? Resources.Load<Sprite>("Textures/Humanlike/Appendages/Appendage" + bodyFacing) : null;
 | 
			
		||||
 | 
			
		||||
                actorBody.bodyRenderer.gameObject.SetActive(actorBody.bodyRenderer.sprite != null);
 | 
			
		||||
                actorBody.headRenderer.gameObject.SetActive(actorBody.headRenderer.sprite != null);
 | 
			
		||||
                actorBody.appendageRenderer.gameObject.SetActive(actorBody.appendageRenderer.sprite != null);
 | 
			
		||||
 | 
			
		||||
                actorBody.bodyRenderer.sortingLayerName = clip.layer;
 | 
			
		||||
                actorBody.headRenderer.sortingLayerName = clip.layer;
 | 
			
		||||
                actorBody.headRenderer.sortingOrder = bodyFacing == 0 ? -1 : 1;
 | 
			
		||||
                actorBody.appendageRenderer.sortingLayerName = clip.layer;
 | 
			
		||||
 | 
			
		||||
                actorBody.bodyRenderer.flipX = bodyFacing == 3;
 | 
			
		||||
                actorBody.headRenderer.flipX = headFacing == 3;
 | 
			
		||||
                //actorBody.appendageRenderer.flipX = bodyFacing == 3;
 | 
			
		||||
 | 
			
		||||
                // ActorKeyframeCard update
 | 
			
		||||
                if (ActorKeyframeCard.Instance.positionXField.isFocused == false) { ActorKeyframeCard.Instance.positionXField.text = bodyPos.x.ToString("0.000"); }
 | 
			
		||||
                if (ActorKeyframeCard.Instance.positionZField.isFocused == false) { ActorKeyframeCard.Instance.positionZField.text = bodyPos.y.ToString("0.000"); }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -18,6 +18,37 @@ namespace RimWorldAnimationStudio
 | 
			
		|||
        public void Start()
 | 
			
		||||
        {
 | 
			
		||||
            LoadCustomArrays();
 | 
			
		||||
 | 
			
		||||
            /*AlienRaceDef human = new AlienRaceDef();
 | 
			
		||||
            human.Initialize("Human");
 | 
			
		||||
 | 
			
		||||
            human.SetHeadGraphicPath(Path.Combine(Application.streamingAssetsPath, "Textures/Humanlike/Heads/Head0.png"), CardinalDirection.North);
 | 
			
		||||
            human.SetHeadGraphicPath(Path.Combine(Application.streamingAssetsPath, "Textures/Humanlike/Heads/Head1.png"), CardinalDirection.East);
 | 
			
		||||
            human.SetHeadGraphicPath(Path.Combine(Application.streamingAssetsPath, "Textures/Humanlike/Heads/Head2.png"), CardinalDirection.South);
 | 
			
		||||
 | 
			
		||||
            human.SetBodyTypeGraphicPath(Path.Combine(Application.streamingAssetsPath, "Textures/Humanlike/Bodies/Male0.png"), CardinalDirection.North, "Male");
 | 
			
		||||
            human.SetBodyTypeGraphicPath(Path.Combine(Application.streamingAssetsPath, "Textures/Humanlike/Bodies/Male1.png"), CardinalDirection.East, "Male");
 | 
			
		||||
            human.SetBodyTypeGraphicPath(Path.Combine(Application.streamingAssetsPath, "Textures/Humanlike/Bodies/Male2.png"), CardinalDirection.South, "Male");
 | 
			
		||||
 | 
			
		||||
            human.SetBodyTypeGraphicPath(Path.Combine(Application.streamingAssetsPath, "Textures/Humanlike/Bodies/Female0.png"), CardinalDirection.North, "Female");
 | 
			
		||||
            human.SetBodyTypeGraphicPath(Path.Combine(Application.streamingAssetsPath, "Textures/Humanlike/Bodies/Female1.png"), CardinalDirection.East, "Female");
 | 
			
		||||
            human.SetBodyTypeGraphicPath(Path.Combine(Application.streamingAssetsPath, "Textures/Humanlike/Bodies/Female2.png"), CardinalDirection.South, "Female");
 | 
			
		||||
 | 
			
		||||
            human.SetBodyTypeGraphicPath(Path.Combine(Application.streamingAssetsPath, "Textures/Humanlike/Bodies/Fat0.png"), CardinalDirection.North, "Fat");
 | 
			
		||||
            human.SetBodyTypeGraphicPath(Path.Combine(Application.streamingAssetsPath, "Textures/Humanlike/Bodies/Fat1.png"), CardinalDirection.East, "Fat");
 | 
			
		||||
            human.SetBodyTypeGraphicPath(Path.Combine(Application.streamingAssetsPath, "Textures/Humanlike/Bodies/Fat2.png"), CardinalDirection.South, "Fat");
 | 
			
		||||
 | 
			
		||||
            human.SetBodyTypeGraphicPath(Path.Combine(Application.streamingAssetsPath, "Textures/Humanlike/Bodies/Hulk0.png"), CardinalDirection.North, "Hulk");
 | 
			
		||||
            human.SetBodyTypeGraphicPath(Path.Combine(Application.streamingAssetsPath, "Textures/Humanlike/Bodies/Hulk1.png"), CardinalDirection.East, "Hulk");
 | 
			
		||||
            human.SetBodyTypeGraphicPath(Path.Combine(Application.streamingAssetsPath, "Textures/Humanlike/Bodies/Hulk2.png"), CardinalDirection.South, "Hulk");
 | 
			
		||||
 | 
			
		||||
            human.SetBodyTypeGraphicPath(Path.Combine(Application.streamingAssetsPath, "Textures/Humanlike/Bodies/Thin0.png"), CardinalDirection.North, "Thin");
 | 
			
		||||
            human.SetBodyTypeGraphicPath(Path.Combine(Application.streamingAssetsPath, "Textures/Humanlike/Bodies/Thin1.png"), CardinalDirection.East, "Thin");
 | 
			
		||||
            human.SetBodyTypeGraphicPath(Path.Combine(Application.streamingAssetsPath, "Textures/Humanlike/Bodies/Thin2.png"), CardinalDirection.South, "Thin");*/
 | 
			
		||||
 | 
			
		||||
            //AlienRaceDefs.allDefs.Add(human);
 | 
			
		||||
 | 
			
		||||
            LoadAlienRaceDefs();
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        public void TryToCloseApplication()
 | 
			
		||||
| 
						 | 
				
			
			@ -139,7 +170,6 @@ namespace RimWorldAnimationStudio
 | 
			
		|||
 | 
			
		||||
            CustomTagsHelper helper = new CustomTagsHelper();
 | 
			
		||||
 | 
			
		||||
            helper.defNames = CustomTags.defNames;
 | 
			
		||||
            helper.bodyParts = CustomTags.bodyParts;
 | 
			
		||||
            helper.bodyDefTypes = CustomTags.bodyDefTypes;
 | 
			
		||||
            helper.sexTypes = CustomTags.sexTypes;
 | 
			
		||||
| 
						 | 
				
			
			@ -158,7 +188,6 @@ namespace RimWorldAnimationStudio
 | 
			
		|||
            
 | 
			
		||||
            CustomTagsHelper helper = XmlUtility.ReadXML<CustomTagsHelper>(path);
 | 
			
		||||
 | 
			
		||||
            CustomTags.defNames = helper.defNames;
 | 
			
		||||
            CustomTags.bodyParts = helper.bodyParts;
 | 
			
		||||
            CustomTags.bodyDefTypes = helper.bodyDefTypes;
 | 
			
		||||
            CustomTags.sexTypes = helper.sexTypes;
 | 
			
		||||
| 
						 | 
				
			
			@ -168,7 +197,6 @@ namespace RimWorldAnimationStudio
 | 
			
		|||
 | 
			
		||||
        public void UpdateCustomArrays(AnimationDef animationDef)
 | 
			
		||||
        {
 | 
			
		||||
            CustomTags.defNames.AddRangeDistinct(animationDef.actors.SelectMany(x => x.defNames).Except(Tags.defNames));
 | 
			
		||||
            CustomTags.bodyParts.AddRangeDistinct(animationDef.actors.SelectMany(x => x.requiredGenitals).Except(Tags.bodyParts));
 | 
			
		||||
            CustomTags.bodyDefTypes.AddRangeDistinct(animationDef.actors.SelectMany(x => x.bodyDefTypes).Except(Tags.bodyDefTypes));
 | 
			
		||||
            CustomTags.sexTypes.AddRangeDistinct(animationDef.sexTypes.Except(Tags.sexTypes));
 | 
			
		||||
| 
						 | 
				
			
			@ -177,5 +205,23 @@ namespace RimWorldAnimationStudio
 | 
			
		|||
 | 
			
		||||
            SaveCustomArrays();
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        public void LoadAlienRaceDefs()
 | 
			
		||||
        {
 | 
			
		||||
            var path = Path.Combine(Application.streamingAssetsPath, "alienRaceDefs.xml");
 | 
			
		||||
 | 
			
		||||
            if (File.Exists(path) == false)
 | 
			
		||||
            { SaveAlienRaceDefs(); return; }
 | 
			
		||||
 | 
			
		||||
            AlienRaceDefs.allDefs = XmlUtility.ReadXML<List<AlienRaceDef>>(path);
 | 
			
		||||
            AlienRaceDefs.OnLoad();
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        public void SaveAlienRaceDefs()
 | 
			
		||||
        {
 | 
			
		||||
            var path = Path.Combine(Application.streamingAssetsPath, "alienRaceDefs.xml");
 | 
			
		||||
 | 
			
		||||
            XmlUtility.WriteXML(AlienRaceDefs.allDefs, path);
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,5 @@
 | 
			
		|||
using System.Collections.Generic;
 | 
			
		||||
using System.Linq;
 | 
			
		||||
using System.Xml.Serialization;
 | 
			
		||||
using UnityEngine;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -26,33 +27,78 @@ namespace RimWorldAnimationStudio
 | 
			
		|||
 | 
			
		||||
    public static class Tags
 | 
			
		||||
    {
 | 
			
		||||
        public static List<string> defNames = new List<string>() { "Human" };
 | 
			
		||||
        public static List<string> bodyParts = new List<string>() { "Penis", "Vagina", "Anus", "Breasts", "Mouth" };
 | 
			
		||||
        public static List<string> bodyDefTypes = new List<string>() { "Human", "Bird", "BeetleLike", "BeetleLikeWithClaw", "MechanicalCentipede", "MechanicalTermite", "Lancer", "Pikeman", "Monkey", "QuadrupedAnimalWithClawsTailAndJowl", "QuadrupedAnimalWithHooves", "QuadrupedAnimalWithHoovesAndHorn", "QuadrupedAnimalWithHoovesAndHump", "QuadrupedAnimalWithHoovesAndTusks", "QuadrupedAnimalWithHoovesTusksAndTrunk", "QuadrupedAnimalWithPaws", "QuadrupedAnimalWithPawsAndTail", "Scyther", "Snake", "TurtleLike" };
 | 
			
		||||
        public static List<string> sexTypes = new List<string>() { "None", "Vaginal", "Anal", "Oral", "Masturbation", "DoublePenetration", "Boobjob", "Handjob", "Footjob", "Fingering", "Scissoring", "MutualMasturbation", "Fisting", "MechImplant", "Rimming", "Fellatio", "Cunnilingus", "Sixtynine" };
 | 
			
		||||
        public static List<string> interactionDefTypes = new List<string>();
 | 
			
		||||
        public static List<string> soundDefs = new List<string>() { "None", "Sex", "Fuck", "Slimy", "Suck", "Cum" };
 | 
			
		||||
        public static List<string> actorLayers = new List<string>() { "Building", "BuildingOnTop", "MoteBelowThings", "Item", "ItemImportant", "LayingPawn", "PawnRope", "Projectile", "Pawn", "PawnUnused", "PawnState" };
 | 
			
		||||
        public static List<string> bodyTypes = new List<string>() { "Male", "Female", "Fat", "Hulk", "Thin" };
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public static class CustomTags
 | 
			
		||||
    {
 | 
			
		||||
        public static List<string> defNames = new List<string>();
 | 
			
		||||
        public static List<string> bodyParts = new List<string>();
 | 
			
		||||
        public static List<string> bodyDefTypes = new List<string>();
 | 
			
		||||
        public static List<string> sexTypes = new List<string>();
 | 
			
		||||
        public static List<string> interactionDefTypes = new List<string>();
 | 
			
		||||
        public static List<string> soundDefs = new List<string>();
 | 
			
		||||
        public static List<string> bodyTypes = new List<string>();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    [XmlRoot("CustomTagsHelper", IsNullable = false)]
 | 
			
		||||
    public class CustomTagsHelper
 | 
			
		||||
    {
 | 
			
		||||
        [XmlArray("defNames"), XmlArrayItem("li")] public List<string> defNames = new List<string>();
 | 
			
		||||
        [XmlArray("bodyParts"), XmlArrayItem("li")] public List<string> bodyParts = new List<string>();
 | 
			
		||||
        [XmlArray("bodyDefTypes"), XmlArrayItem("li")] public List<string> bodyDefTypes = new List<string>();
 | 
			
		||||
        [XmlArray("sexTypes"), XmlArrayItem("li")] public List<string> sexTypes = new List<string>();
 | 
			
		||||
        [XmlArray("interactionDefTypes"), XmlArrayItem("li")] public List<string> interactionDefTypes = new List<string>(); 
 | 
			
		||||
        [XmlArray("soundDefs"), XmlArrayItem("li")] public List<string> soundDefs = new List<string>();
 | 
			
		||||
        [XmlArray("bodyTypes"), XmlArrayItem("li")] public static List<string> bodyTypes = new List<string>();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public static class AlienRaceDefs
 | 
			
		||||
    {
 | 
			
		||||
        public static List<AlienRaceDef> allDefs = new List<AlienRaceDef>();
 | 
			
		||||
 | 
			
		||||
        public static AlienRaceDef GetNamed(string alienRaceDef)
 | 
			
		||||
        {
 | 
			
		||||
            return allDefs.FirstOrDefault(x => x.defName == alienRaceDef);
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        public static void AddDef(AlienRaceDef alienRaceDef)
 | 
			
		||||
        {
 | 
			
		||||
            if (allDefs.Any(x => x.defName == alienRaceDef.defName)) return;
 | 
			
		||||
 | 
			
		||||
            allDefs.Add(alienRaceDef);
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        public static void OnLoad()
 | 
			
		||||
        {
 | 
			
		||||
            List<string> allTags = Tags.bodyTypes.Concat(CustomTags.bodyTypes).ToList();
 | 
			
		||||
            allTags.Add("None");
 | 
			
		||||
 | 
			
		||||
            List<CardinalDirection> facings = new List<CardinalDirection>() { CardinalDirection.North, CardinalDirection.East, CardinalDirection.South };
 | 
			
		||||
            string path;
 | 
			
		||||
            
 | 
			
		||||
            foreach (AlienRaceDef alienRaceDef in allDefs)
 | 
			
		||||
            {
 | 
			
		||||
                foreach (CardinalDirection facing in facings)
 | 
			
		||||
                {
 | 
			
		||||
                    foreach (string bodyType in allTags)
 | 
			
		||||
                    {
 | 
			
		||||
                        path = alienRaceDef.GetBodyTypeGraphicPath(facing, bodyType);
 | 
			
		||||
 | 
			
		||||
                        if (path != null && path != "")
 | 
			
		||||
                        { alienRaceDef.SetBodyTypeGraphicPath(path, facing, bodyType); }
 | 
			
		||||
                    }
 | 
			
		||||
 | 
			
		||||
                    path = alienRaceDef.GetHeadGraphicPath(facing);
 | 
			
		||||
 | 
			
		||||
                    if (path != null && path != "")
 | 
			
		||||
                    { alienRaceDef.SetHeadGraphicPath(path, facing); }
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -12,3 +12,10 @@ public enum ActorGender
 | 
			
		|||
    Male,
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
public enum CardinalDirection
 | 
			
		||||
{
 | 
			
		||||
    North,
 | 
			
		||||
    East,
 | 
			
		||||
    South,
 | 
			
		||||
    West,
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -47,7 +47,7 @@ namespace RimWorldAnimationStudio
 | 
			
		|||
				}
 | 
			
		||||
			}
 | 
			
		||||
 | 
			
		||||
			else
 | 
			
		||||
			else if (rotation == 1)
 | 
			
		||||
			{
 | 
			
		||||
				switch (bodyType)
 | 
			
		||||
				{
 | 
			
		||||
| 
						 | 
				
			
			@ -59,6 +59,19 @@ namespace RimWorldAnimationStudio
 | 
			
		|||
					default: return Vector3.zero;
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
 | 
			
		||||
			else
 | 
			
		||||
			{
 | 
			
		||||
				switch (bodyType)
 | 
			
		||||
				{
 | 
			
		||||
					case "Male": return new Vector3(-0.07f, 0f, -0.41f);
 | 
			
		||||
					case "Female": return new Vector3(-0.07f, 0f, -0.47f);
 | 
			
		||||
					case "Thin": return new Vector3(0.05f, 0f, -0.43f);
 | 
			
		||||
					case "Hulk": return new Vector3(0.03f, 0f, -0.64f);
 | 
			
		||||
					case "Fat": return new Vector3(-0.24f, 0f, -0.50f);
 | 
			
		||||
					default: return Vector3.zero;
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -15,9 +15,7 @@ namespace RimWorldAnimationStudio
 | 
			
		|||
        public static int keyframeID = 0;
 | 
			
		||||
 | 
			
		||||
        [SerializeField] private List<HistoricRecord> workspaceHistory = new List<HistoricRecord>();
 | 
			
		||||
        [SerializeField] private int historyIndex = 0;
 | 
			
		||||
        [SerializeField] private int maxHistoryDepth = 100;
 | 
			
		||||
        private bool isDirty = false;
 | 
			
		||||
 | 
			
		||||
        public static ActorManipulationMode actorManipulationMode = ActorManipulationMode.Pan;
 | 
			
		||||
        public static ActorBodyPart selectedBodyPart;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										58
									
								
								Assets/SelectRaceDropdown.cs
									
										
									
									
									
										Normal file
									
								
							
							
						
						| 
						 | 
				
			
			@ -0,0 +1,58 @@
 | 
			
		|||
using System.Collections;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
using UnityEngine;
 | 
			
		||||
using UnityEngine.UI;
 | 
			
		||||
using UnityEngine.EventSystems;
 | 
			
		||||
 | 
			
		||||
namespace RimWorldAnimationStudio
 | 
			
		||||
{
 | 
			
		||||
    public class SelectRaceDropdown : MonoBehaviour
 | 
			
		||||
    {
 | 
			
		||||
        private Dropdown dropdown;
 | 
			
		||||
        private Text label;
 | 
			
		||||
 | 
			
		||||
        private int actorID = -1;
 | 
			
		||||
        private int hashcode = -1;
 | 
			
		||||
        
 | 
			
		||||
        public void Start()
 | 
			
		||||
        {
 | 
			
		||||
            dropdown = GetComponent<Dropdown>();
 | 
			
		||||
            label = transform.Find("Label").GetComponent<Text>();
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        public void Update()
 | 
			
		||||
        {
 | 
			
		||||
            if (Workspace.animationDef == null) return;
 | 
			
		||||
 | 
			
		||||
            if (actorID != Workspace.actorID || hashcode != AlienRaceDefs.allDefs.GetHashCode())
 | 
			
		||||
            { UpdateDropdown(); }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        public void UpdateDropdown()
 | 
			
		||||
        {
 | 
			
		||||
            string alienRaceDefName = Workspace.animationDef.actors[Workspace.actorID].GetAlienRaceDef().defName;
 | 
			
		||||
            
 | 
			
		||||
            dropdown.ClearOptions();
 | 
			
		||||
            dropdown.options.Add(new Dropdown.OptionData(alienRaceDefName));
 | 
			
		||||
            dropdown.value = 0;
 | 
			
		||||
            label.text = alienRaceDefName;
 | 
			
		||||
 | 
			
		||||
            List<AlienRaceDef> optionsList = AlienRaceDefs.allDefs;
 | 
			
		||||
            foreach (AlienRaceDef alienRaceDef in optionsList)
 | 
			
		||||
            {
 | 
			
		||||
                if (alienRaceDef.defName != alienRaceDefName)
 | 
			
		||||
                { dropdown.options.Add(new Dropdown.OptionData(alienRaceDef.defName)); }
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            actorID = Workspace.actorID;
 | 
			
		||||
            hashcode = AlienRaceDefs.allDefs.GetHashCode();
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        public void UpdateActorRace()
 | 
			
		||||
        {
 | 
			
		||||
            if (Workspace.animationDef == null) return;
 | 
			
		||||
 | 
			
		||||
            Workspace.animationDef.actors[Workspace.actorID].SetAlienRaceDef(label.text);
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										11
									
								
								Assets/SelectRaceDropdown.cs.meta
									
										
									
									
									
										Normal file
									
								
							
							
						
						| 
						 | 
				
			
			@ -0,0 +1,11 @@
 | 
			
		|||
fileFormatVersion: 2
 | 
			
		||||
guid: 0ba5b69d448f9434ca7d74d4022f3dcd
 | 
			
		||||
MonoImporter:
 | 
			
		||||
  externalObjects: {}
 | 
			
		||||
  serializedVersion: 2
 | 
			
		||||
  defaultReferences: []
 | 
			
		||||
  executionOrder: 0
 | 
			
		||||
  icon: {instanceID: 0}
 | 
			
		||||
  userData: 
 | 
			
		||||
  assetBundleName: 
 | 
			
		||||
  assetBundleVariant: 
 | 
			
		||||
							
								
								
									
										8
									
								
								Assets/StreamingAssets/Textures.meta
									
										
									
									
									
										Normal file
									
								
							
							
						
						| 
						 | 
				
			
			@ -0,0 +1,8 @@
 | 
			
		|||
fileFormatVersion: 2
 | 
			
		||||
guid: 86918160bf736ca428ee160e8bab90ab
 | 
			
		||||
folderAsset: yes
 | 
			
		||||
DefaultImporter:
 | 
			
		||||
  externalObjects: {}
 | 
			
		||||
  userData: 
 | 
			
		||||
  assetBundleName: 
 | 
			
		||||
  assetBundleVariant: 
 | 
			
		||||
							
								
								
									
										8
									
								
								Assets/StreamingAssets/Textures/Animals.meta
									
										
									
									
									
										Normal file
									
								
							
							
						
						| 
						 | 
				
			
			@ -0,0 +1,8 @@
 | 
			
		|||
fileFormatVersion: 2
 | 
			
		||||
guid: 7e831c2be099ded46831a60880daeab9
 | 
			
		||||
folderAsset: yes
 | 
			
		||||
DefaultImporter:
 | 
			
		||||
  externalObjects: {}
 | 
			
		||||
  userData: 
 | 
			
		||||
  assetBundleName: 
 | 
			
		||||
  assetBundleVariant: 
 | 
			
		||||
							
								
								
									
										8
									
								
								Assets/StreamingAssets/Textures/Animals/Horse.meta
									
										
									
									
									
										Normal file
									
								
							
							
						
						| 
						 | 
				
			
			@ -0,0 +1,8 @@
 | 
			
		|||
fileFormatVersion: 2
 | 
			
		||||
guid: f554358abec6e8e489fdd1493a640e92
 | 
			
		||||
folderAsset: yes
 | 
			
		||||
DefaultImporter:
 | 
			
		||||
  externalObjects: {}
 | 
			
		||||
  userData: 
 | 
			
		||||
  assetBundleName: 
 | 
			
		||||
  assetBundleVariant: 
 | 
			
		||||
							
								
								
									
										
											BIN
										
									
								
								Assets/StreamingAssets/Textures/Animals/Horse/Horse_east.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 13 KiB  | 
| 
						 | 
				
			
			@ -0,0 +1,7 @@
 | 
			
		|||
fileFormatVersion: 2
 | 
			
		||||
guid: 9d83b2012c75b994dbb89616e78d0768
 | 
			
		||||
DefaultImporter:
 | 
			
		||||
  externalObjects: {}
 | 
			
		||||
  userData: 
 | 
			
		||||
  assetBundleName: 
 | 
			
		||||
  assetBundleVariant: 
 | 
			
		||||
							
								
								
									
										
											BIN
										
									
								
								Assets/StreamingAssets/Textures/Animals/Horse/Horse_north.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 9.8 KiB  | 
| 
						 | 
				
			
			@ -0,0 +1,7 @@
 | 
			
		|||
fileFormatVersion: 2
 | 
			
		||||
guid: fab466de21f4bce4796e538d73df4441
 | 
			
		||||
DefaultImporter:
 | 
			
		||||
  externalObjects: {}
 | 
			
		||||
  userData: 
 | 
			
		||||
  assetBundleName: 
 | 
			
		||||
  assetBundleVariant: 
 | 
			
		||||
							
								
								
									
										
											BIN
										
									
								
								Assets/StreamingAssets/Textures/Animals/Horse/Horse_south.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 9 KiB  | 
| 
						 | 
				
			
			@ -0,0 +1,7 @@
 | 
			
		|||
fileFormatVersion: 2
 | 
			
		||||
guid: 1fa87098923bdfd4e8374d0dd44dbb4a
 | 
			
		||||
DefaultImporter:
 | 
			
		||||
  externalObjects: {}
 | 
			
		||||
  userData: 
 | 
			
		||||
  assetBundleName: 
 | 
			
		||||
  assetBundleVariant: 
 | 
			
		||||
							
								
								
									
										8
									
								
								Assets/StreamingAssets/Textures/Animals/Wolf_Timber.meta
									
										
									
									
									
										Normal file
									
								
							
							
						
						| 
						 | 
				
			
			@ -0,0 +1,8 @@
 | 
			
		|||
fileFormatVersion: 2
 | 
			
		||||
guid: 5e44ad135f5c9744ebf4e06b8a820873
 | 
			
		||||
folderAsset: yes
 | 
			
		||||
DefaultImporter:
 | 
			
		||||
  externalObjects: {}
 | 
			
		||||
  userData: 
 | 
			
		||||
  assetBundleName: 
 | 
			
		||||
  assetBundleVariant: 
 | 
			
		||||
| 
		 After Width: | Height: | Size: 4.8 KiB  | 
| 
						 | 
				
			
			@ -0,0 +1,7 @@
 | 
			
		|||
fileFormatVersion: 2
 | 
			
		||||
guid: 63dc0cb08f802824b9dca8bf9311972a
 | 
			
		||||
DefaultImporter:
 | 
			
		||||
  externalObjects: {}
 | 
			
		||||
  userData: 
 | 
			
		||||
  assetBundleName: 
 | 
			
		||||
  assetBundleVariant: 
 | 
			
		||||
| 
		 After Width: | Height: | Size: 4.4 KiB  | 
| 
						 | 
				
			
			@ -0,0 +1,7 @@
 | 
			
		|||
fileFormatVersion: 2
 | 
			
		||||
guid: 54733f9a3cafd08419bcb4ff882f1213
 | 
			
		||||
DefaultImporter:
 | 
			
		||||
  externalObjects: {}
 | 
			
		||||
  userData: 
 | 
			
		||||
  assetBundleName: 
 | 
			
		||||
  assetBundleVariant: 
 | 
			
		||||
| 
		 After Width: | Height: | Size: 4.6 KiB  | 
| 
						 | 
				
			
			@ -0,0 +1,7 @@
 | 
			
		|||
fileFormatVersion: 2
 | 
			
		||||
guid: 93a83911a8c1692448e6cd0f0bd33790
 | 
			
		||||
DefaultImporter:
 | 
			
		||||
  externalObjects: {}
 | 
			
		||||
  userData: 
 | 
			
		||||
  assetBundleName: 
 | 
			
		||||
  assetBundleVariant: 
 | 
			
		||||
							
								
								
									
										8
									
								
								Assets/StreamingAssets/Textures/Humanlike.meta
									
										
									
									
									
										Normal file
									
								
							
							
						
						| 
						 | 
				
			
			@ -0,0 +1,8 @@
 | 
			
		|||
fileFormatVersion: 2
 | 
			
		||||
guid: f7e96e067b4391340aedef235fb20744
 | 
			
		||||
folderAsset: yes
 | 
			
		||||
DefaultImporter:
 | 
			
		||||
  externalObjects: {}
 | 
			
		||||
  userData: 
 | 
			
		||||
  assetBundleName: 
 | 
			
		||||
  assetBundleVariant: 
 | 
			
		||||
| 
		 Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB  | 
| 
		 Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB  | 
| 
		 Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB  | 
| 
		 Before Width: | Height: | Size: 6 KiB After Width: | Height: | Size: 6 KiB  | 
| 
		 Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB  | 
| 
		 Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB  | 
| 
		 Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB  | 
| 
		 Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 4.6 KiB  | 
| 
		 Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB  | 
| 
		 Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB  | 
| 
		 Before Width: | Height: | Size: 3 KiB After Width: | Height: | Size: 3 KiB  | 
| 
		 Before Width: | Height: | Size: 6.3 KiB After Width: | Height: | Size: 6.3 KiB  | 
| 
		 Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB  | 
| 
		 Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB  | 
| 
		 Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB  | 
| 
		 Before Width: | Height: | Size: 4 KiB After Width: | Height: | Size: 4 KiB  | 
| 
		 Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB  |