V3.3.1 添加一些summary
添加一些summary
This commit is contained in:
parent
203407693c
commit
6dffd4185d
@ -1 +1 @@
|
|||||||
{"count":1,"self":48.5149632,"total":49.084985599999996,"children":{"InitializeActuators":{"count":2,"self":0.0010017,"total":0.0010017,"children":null},"InitializeSensors":{"count":2,"self":0.0009998,"total":0.0009998,"children":null},"AgentSendState":{"count":2199,"self":0.013493199999999999,"total":0.0889476,"children":{"CollectObservations":{"count":2199,"self":0.064447999999999991,"total":0.064447999999999991,"children":null},"WriteActionMask":{"count":2199,"self":0.0020020999999999997,"total":0.0020020999999999997,"children":null},"RequestDecision":{"count":2199,"self":0.0090043,"total":0.0090043,"children":null}}},"DecideAction":{"count":2199,"self":0.0139861,"total":0.0139861,"children":null},"AgentAct":{"count":2199,"self":0.46458849999999996,"total":0.46458849999999996,"children":null}},"gauges":{},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1694124726","unity_version":"2021.3.14f1","command_line_arguments":"C:\\Program Files\\Unity\\Hub\\Editor\\2021.3.14f1\\Editor\\Unity.exe -projectpath C:\\Users\\UCUNI\\OneDrive\\Unity\\ML-Agents\\Aimbot-ParallelEnv -useHub -hubIPC -cloudEnvironment production -licensingIpc LicenseClient-UCUNI -hubSessionId 0aed42b0-3d5b-4374-942e-adccfa3e50fe -accessToken 846lZd-HJLP4t5aNcNJhMc6uOpoi0s7_Pc1abgAYxk000ef","communication_protocol_version":"1.5.0","com.unity.ml-agents_version":"2.0.1","scene_name":"Play","end_time_seconds":"1694124775"}}
|
{"count":1,"self":23.63196,"total":23.9025009,"children":{"InitializeActuators":{"count":2,"self":0.00099739999999999985,"total":0.00099739999999999985,"children":null},"InitializeSensors":{"count":2,"self":0.001,"total":0.001,"children":null},"AgentSendState":{"count":952,"self":0.0085034,"total":0.039000099999999996,"children":{"CollectObservations":{"count":952,"self":0.0269949,"total":0.0269949,"children":null},"WriteActionMask":{"count":952,"self":0.0010012999999999999,"total":0.0010012999999999999,"children":null},"RequestDecision":{"count":952,"self":0.0025004999999999997,"total":0.0025004999999999997,"children":null}}},"DecideAction":{"count":952,"self":0.0075009,"total":0.0075009,"children":null},"AgentAct":{"count":952,"self":0.2215421,"total":0.2215421,"children":null}},"gauges":{"AKMAgent.CumulativeReward":{"count":1,"max":-915.46106,"min":-915.46106,"runningAverage":-915.46106,"value":-915.46106,"weightedAverage":-915.46106}},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1694173127","unity_version":"2021.3.14f1","command_line_arguments":"C:\\Program Files\\Unity\\Hub\\Editor\\2021.3.14f1\\Editor\\Unity.exe -projectpath C:\\Users\\UCUNI\\OneDrive\\Unity\\ML-Agents\\Aimbot-ParallelEnv -useHub -hubIPC -cloudEnvironment production -licensingIpc LicenseClient-UCUNI -hubSessionId 0aed42b0-3d5b-4374-942e-adccfa3e50fe -accessToken JbUPBPf6JTW37vb58Qn3jwtHKSeQe97cJMOu8VQWmC000ef","communication_protocol_version":"1.5.0","com.unity.ml-agents_version":"2.0.1","scene_name":"Play","end_time_seconds":"1694173151"}}
|
@ -1 +1 @@
|
|||||||
{"count":1,"self":11.3938376,"total":11.4998208,"children":{"InitializeActuators":{"count":2,"self":0.0015000999999999999,"total":0.0015000999999999999,"children":null},"InitializeSensors":{"count":2,"self":0.0010012999999999999,"total":0.0010012999999999999,"children":null},"AgentSendState":{"count":341,"self":0.0025012,"total":0.021047,"children":{"CollectObservations":{"count":341,"self":0.016549599999999998,"total":0.016549599999999998,"children":null},"WriteActionMask":{"count":341,"self":0.0004974,"total":0.0004974,"children":null},"RequestDecision":{"count":341,"self":0.0014988,"total":0.0014988,"children":null}}},"DecideAction":{"count":341,"self":0.0034971,"total":0.0034971,"children":null},"AgentAct":{"count":341,"self":0.078438399999999991,"total":0.078438399999999991,"children":null}},"gauges":{},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1692727023","unity_version":"2021.3.14f1","command_line_arguments":"C:\\Program Files\\Unity\\Hub\\Editor\\2021.3.14f1\\Editor\\Unity.exe -projectpath C:\\Users\\UCUNI\\OneDrive\\Unity\\ML-Agents\\Aimbot-ParallelEnv -useHub -hubIPC -cloudEnvironment production -licensingIpc LicenseClient-UCUNI -hubSessionId e5d92e28-80f6-4b3c-a471-eae8d8c25d6a -accessToken zVcLUw6o5zfV2ttNqbk6Cm3ybH7HNKVZM9LVx9Bv_FU00ef","communication_protocol_version":"1.5.0","com.unity.ml-agents_version":"2.0.1","scene_name":"Train","end_time_seconds":"1692727035"}}
|
{"count":1,"self":6.8074992,"total":6.8110035999999994,"children":{"InitializeActuators":{"count":2,"self":0.0015007,"total":0.0015007,"children":null},"InitializeSensors":{"count":2,"self":0.0010002,"total":0.0010002,"children":null}},"gauges":{},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1694173632","unity_version":"2021.3.14f1","command_line_arguments":"C:\\Program Files\\Unity\\Hub\\Editor\\2021.3.14f1\\Editor\\Unity.exe -projectpath C:\\Users\\UCUNI\\OneDrive\\Unity\\ML-Agents\\Aimbot-ParallelEnv -useHub -hubIPC -cloudEnvironment production -licensingIpc LicenseClient-UCUNI -hubSessionId 0aed42b0-3d5b-4374-942e-adccfa3e50fe -accessToken JbUPBPf6JTW37vb58Qn3jwtHKSeQe97cJMOu8VQWmC000ef","communication_protocol_version":"1.5.0","com.unity.ml-agents_version":"2.0.1","scene_name":"Train","end_time_seconds":"1694173639"}}
|
@ -1,13 +1,25 @@
|
|||||||
using System;
|
using System;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// A ScriptableObject for storing a set of prefabs related to a single level.
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// This class is used to manage a collection of prefabs that are associated with a single level.
|
||||||
|
/// It includes functionality to initialize and access the prefab set.
|
||||||
|
/// </remarks>
|
||||||
[CreateAssetMenu(menuName = "Single Level Prefab Set")]
|
[CreateAssetMenu(menuName = "Single Level Prefab Set")]
|
||||||
public class BlocksSet : ScriptableObject
|
public class BlocksSet : ScriptableObject
|
||||||
{
|
{
|
||||||
public GameObject[] prefabs;
|
public GameObject[] prefabs;
|
||||||
[NonSerialized] public int prefabSize = 0;
|
[NonSerialized] public int prefabSize = 0;
|
||||||
|
|
||||||
// initialization
|
/// <summary>
|
||||||
|
/// Initializes the prefab set.
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// This method calculates and stores the size of the prefab set.
|
||||||
|
/// </remarks>
|
||||||
public void InitializeBlocksSet()
|
public void InitializeBlocksSet()
|
||||||
{
|
{
|
||||||
// get prefab size
|
// get prefab size
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
public class SceneBlockContainer : MonoBehaviour
|
public class SceneBlockContainer : MonoBehaviour
|
||||||
{
|
{
|
||||||
@ -22,7 +22,16 @@ private void Start()
|
|||||||
scenePrefabSet.InitializeSceneBlocksSet(hudObj);
|
scenePrefabSet.InitializeSceneBlocksSet(hudObj);
|
||||||
}
|
}
|
||||||
|
|
||||||
// create appointed block at appointed position
|
/// <summary>
|
||||||
|
/// Creates a specified block at a specified position.
|
||||||
|
/// 在指定位置创建指定类型的场景块。
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="targetType">The target type.</param>
|
||||||
|
/// <param name="level">The level.</param>
|
||||||
|
/// <param name="blockType">The block type.</param>
|
||||||
|
/// <param name="blockPosition">The block position.</param>
|
||||||
|
/// <param name="tag1">Tag 1 (optional, default is "Player").</param>
|
||||||
|
/// <param name="tag2">Tag 2 (optional, default is "Enemy").</param>
|
||||||
public void CreateNewBlock(Targets targetType, int level, int blockType, Vector3 blockPosition, string tag1 = "Player", string tag2 = "Enemy")
|
public void CreateNewBlock(Targets targetType, int level, int blockType, Vector3 blockPosition, string tag1 = "Player", string tag2 = "Enemy")
|
||||||
{
|
{
|
||||||
// check if nowBlock is deleted
|
// check if nowBlock is deleted
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using Random = UnityEngine.Random;
|
using Random = UnityEngine.Random;
|
||||||
@ -140,8 +140,15 @@ private void Update()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#region Train Mode Initialization Functions
|
/// <summary>
|
||||||
|
/// Generates a new scene configuration by selecting a random target type and spawning related scene blocks.
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// This method is responsible for creating a new scene configuration, which involves selecting a target type
|
||||||
|
/// (Go, Attack, Defence, or Free) based on predefined probabilities. Depending on the chosen target type,
|
||||||
|
/// the method spawns the associated scene blocks, updates various flags, and informs the user interface about
|
||||||
|
/// the selected target type.
|
||||||
|
/// </remarks>
|
||||||
public void RollNewScene()
|
public void RollNewScene()
|
||||||
{
|
{
|
||||||
startTime = Time.time;// Reset StartTime as now time
|
startTime = Time.time;// Reset StartTime as now time
|
||||||
@ -188,11 +195,12 @@ public void RollNewScene()
|
|||||||
envUICon.UpdateTargetType(targetTypeInt);
|
envUICon.UpdateTargetType(targetTypeInt);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion Train Mode Initialization Functions
|
|
||||||
|
|
||||||
#region Agent Move Method
|
#region Agent Move Method
|
||||||
|
|
||||||
// move Agent into Agent Spawn Area
|
/// <summary>
|
||||||
|
/// Move the agent to the spawn area.
|
||||||
|
/// 将Agent移动到生成区域。
|
||||||
|
/// </summary>
|
||||||
private void MoveAgentToSpwanArea()
|
private void MoveAgentToSpwanArea()
|
||||||
{
|
{
|
||||||
float randX = UnityEngine.Random.Range(minAgentAreaX, maxAgentAreaX); ;
|
float randX = UnityEngine.Random.Range(minAgentAreaX, maxAgentAreaX); ;
|
||||||
@ -213,7 +221,17 @@ private void MoveAgentToSpwanArea()
|
|||||||
MoveAgentTo(initAgentLoc);
|
MoveAgentTo(initAgentLoc);
|
||||||
}
|
}
|
||||||
|
|
||||||
// move Agent to this position
|
/// <summary>
|
||||||
|
/// Move the agent to the specified position.
|
||||||
|
/// 将代理移动到指定位置。
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="position">要移动到的位置。</param>
|
||||||
|
/// <remarks>
|
||||||
|
/// When moving the character using transform.localPosition,
|
||||||
|
/// must disable the character controller, or it won't work properly.
|
||||||
|
/// 使用 transform.localPosition 移动角色时,
|
||||||
|
/// 必须禁用角色控制器,否则它将无法正常工作。
|
||||||
|
/// </remarks>
|
||||||
public void MoveAgentTo(Vector3 position)
|
public void MoveAgentTo(Vector3 position)
|
||||||
{
|
{
|
||||||
// while using transform.localPosition to move character
|
// while using transform.localPosition to move character
|
||||||
@ -227,7 +245,15 @@ public void MoveAgentTo(Vector3 position)
|
|||||||
|
|
||||||
#region Random SceneBlock Spawn Method
|
#region Random SceneBlock Spawn Method
|
||||||
|
|
||||||
// initialize scene block by target type
|
/// <summary>
|
||||||
|
/// Randomly spawns a scene block based on the target type.
|
||||||
|
/// 根据目标类型随机生成场景块。
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="targetType">要生成的场景块的目标类型。The target type of the scene block to be generated.</param>
|
||||||
|
/// <remarks>
|
||||||
|
/// This method generates a random scene block based on the target type and spawns enemies at the specified location.
|
||||||
|
/// 此方法根据目标类型生成一个随机场景块,并在指定位置生成敌人。
|
||||||
|
/// </remarks>
|
||||||
private void RandomSpawnSceneBlock(SceneBlockContainer.Targets targetType)
|
private void RandomSpawnSceneBlock(SceneBlockContainer.Targets targetType)
|
||||||
{
|
{
|
||||||
randLevel = GetRandomLevelIndex(targetType);
|
randLevel = GetRandomLevelIndex(targetType);
|
||||||
@ -250,8 +276,11 @@ private void RandomSpawnSceneBlock(SceneBlockContainer.Targets targetType)
|
|||||||
|
|
||||||
#region Reward function
|
#region Reward function
|
||||||
|
|
||||||
// check over and get rewards
|
/// <summary>
|
||||||
// 1 = success,2 = overtime,0 = notover
|
/// Checks the game's end state and retrieves rewards.
|
||||||
|
/// </summary>
|
||||||
|
/// <returns>A tuple containing the game's end type, current reward, and final reward.
|
||||||
|
/// 1 = success,2 = overtime,0 = notover</returns>
|
||||||
public (int, float, float) CheckOverAndRewards()
|
public (int, float, float) CheckOverAndRewards()
|
||||||
{
|
{
|
||||||
int endTypeInt = 0;
|
int endTypeInt = 0;
|
||||||
@ -393,7 +422,13 @@ private void RandomSpawnSceneBlock(SceneBlockContainer.Targets targetType)
|
|||||||
return (endTypeInt, nowReward, endReward);
|
return (endTypeInt, nowReward, endReward);
|
||||||
}
|
}
|
||||||
|
|
||||||
// caulculate sceneReward if close to target then get great reward
|
/// <summary>
|
||||||
|
/// Calculates scene reward based on distance, granting higher rewards for being closer to the target.
|
||||||
|
/// 根据距离计算场景奖励,靠近目标则获得更高奖励。
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="nowDistance">The current distance.</param>
|
||||||
|
/// <param name="inarea">Whether inside an area.</param>
|
||||||
|
/// <returns>The reward value calculated based on distance.</returns>
|
||||||
private float GetDistanceReward(float nowDistance, int inarea)
|
private float GetDistanceReward(float nowDistance, int inarea)
|
||||||
{
|
{
|
||||||
if (firstRewardFlag)
|
if (firstRewardFlag)
|
||||||
@ -418,7 +453,12 @@ private float GetDistanceReward(float nowDistance, int inarea)
|
|||||||
return nowSeneReward;
|
return nowSeneReward;
|
||||||
}
|
}
|
||||||
|
|
||||||
// calculate kill reward base on killed enemy's position
|
/// <summary>
|
||||||
|
/// Calculates kill reward based on the position of the killed enemy.
|
||||||
|
/// 根据击杀的敌人位置计算击杀奖励。
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="enemyPosition">The position of the killed enemy.</param>
|
||||||
|
/// <returns>The reward value calculated based on the kill position.</returns>
|
||||||
public float KillReward(Vector3 enemyPosition)
|
public float KillReward(Vector3 enemyPosition)
|
||||||
{
|
{
|
||||||
float nowKillReward = 0f;
|
float nowKillReward = 0f;
|
||||||
@ -449,7 +489,12 @@ public float KillReward(Vector3 enemyPosition)
|
|||||||
return nowKillReward;
|
return nowKillReward;
|
||||||
}
|
}
|
||||||
|
|
||||||
// calculate hit reward base on killed enemy's position and now mode
|
/// <summary>
|
||||||
|
/// Calculates hit reward based on the position of the hit enemy and the current mode.
|
||||||
|
/// 根据击中的敌人位置和当前模式计算击中Reward。
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="enemyPosition">The position of the hit enemy.</param>
|
||||||
|
/// <returns>The reward value calculated based on the hit position and mode.</returns>
|
||||||
public float HitEnemyReward(Vector3 enemyPosition)
|
public float HitEnemyReward(Vector3 enemyPosition)
|
||||||
{
|
{
|
||||||
float nowHitReward = 0f;
|
float nowHitReward = 0f;
|
||||||
@ -485,7 +530,18 @@ public float HitEnemyReward(Vector3 enemyPosition)
|
|||||||
|
|
||||||
#region Play Mode Method
|
#region Play Mode Method
|
||||||
|
|
||||||
// Initialize Play mode
|
/// <summary>
|
||||||
|
/// Initializes the game in play mode.
|
||||||
|
/// 初始化游戏playMode。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// This method is used to initialize the game in play mode,
|
||||||
|
/// including setting the target type, updating target states,
|
||||||
|
/// updating UI display, moving the agent to the spawn area,
|
||||||
|
/// destroying all enemies, and scene blocks.
|
||||||
|
/// 该方法用于初始化游戏播放模式,包括设置目标类型、更新目标状态、更新UI显示、
|
||||||
|
/// 将代理移动到生成区域、销毁所有敌人和场景块。
|
||||||
|
/// </remarks>
|
||||||
public void PlayInitialize()
|
public void PlayInitialize()
|
||||||
{
|
{
|
||||||
targetTypeInt = (int)SceneBlockContainer.Targets.Stay;
|
targetTypeInt = (int)SceneBlockContainer.Targets.Stay;
|
||||||
@ -530,7 +586,11 @@ public void StayModeChange()
|
|||||||
|
|
||||||
#endregion Play Mode Method
|
#endregion Play Mode Method
|
||||||
|
|
||||||
// get target observation states
|
/// <summary>
|
||||||
|
/// Gets the target observation states.
|
||||||
|
/// 获取目标观测状态。
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="targetPosition">The target position (optional).</param>
|
||||||
private void UpdateTargetStates(Vector3? targetPosition = null)
|
private void UpdateTargetStates(Vector3? targetPosition = null)
|
||||||
{
|
{
|
||||||
// targettype, x,y,z, firebasesAreaDiameter
|
// targettype, x,y,z, firebasesAreaDiameter
|
||||||
@ -555,7 +615,11 @@ private void UpdateTargetStates(Vector3? targetPosition = null)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// get in area state
|
/// <summary>
|
||||||
|
/// Gets the in-area state.
|
||||||
|
/// 获取是否在区域内的State
|
||||||
|
/// </summary>
|
||||||
|
/// <returns>The in-area state.</returns>
|
||||||
public int GetInAreaState()
|
public int GetInAreaState()
|
||||||
{
|
{
|
||||||
if (targetTypeInt == (int)SceneBlockContainer.Targets.Go)
|
if (targetTypeInt == (int)SceneBlockContainer.Targets.Go)
|
||||||
@ -568,7 +632,12 @@ public int GetInAreaState()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// get random Level by target type
|
/// <summary>
|
||||||
|
/// Gets a random level index based on the target type.
|
||||||
|
/// 根据目标类型获取随机关卡索引。
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="target">The target type.</param>
|
||||||
|
/// <returns>A random level index.</returns>
|
||||||
public int GetRandomLevelIndex(SceneBlockContainer.Targets target)
|
public int GetRandomLevelIndex(SceneBlockContainer.Targets target)
|
||||||
{
|
{
|
||||||
List<float> targetProbs;
|
List<float> targetProbs;
|
||||||
|
@ -1,13 +1,24 @@
|
|||||||
using System;
|
using System;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// ScriptableObject for storing a collection of all level prefab sets.
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// This class is used to organize and initialize multiple level prefab sets.
|
||||||
|
/// </remarks>
|
||||||
[CreateAssetMenu(menuName = "All Level Prefab Set")]
|
[CreateAssetMenu(menuName = "All Level Prefab Set")]
|
||||||
public class LevelsSet : ScriptableObject
|
public class LevelsSet : ScriptableObject
|
||||||
{
|
{
|
||||||
public BlocksSet[] singleLevelSet;
|
public BlocksSet[] singleLevelSet;
|
||||||
[NonSerialized] public int levelSize = 0;
|
[NonSerialized] public int levelSize = 0;
|
||||||
|
|
||||||
// initialization
|
/// <summary>
|
||||||
|
/// Initialize the level collection.
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// This method retrieves the size of the level collection and initializes each individual level prefab set.
|
||||||
|
/// </remarks>
|
||||||
public void InitializeLevelsSet()
|
public void InitializeLevelsSet()
|
||||||
{
|
{
|
||||||
// get level size
|
// get level size
|
||||||
|
@ -2,6 +2,13 @@
|
|||||||
using UnityEditor.PackageManager;
|
using UnityEditor.PackageManager;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// A ScriptableObject for storing and managing various sets of scene blocks.
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// This class is responsible for organizing and initializing different sets of scene blocks,
|
||||||
|
/// which include levels, blocks, and their associated properties.
|
||||||
|
/// </remarks>
|
||||||
[CreateAssetMenu(menuName = "All Scene Prefab Set")]
|
[CreateAssetMenu(menuName = "All Scene Prefab Set")]
|
||||||
public class SceneBlocksSet : ScriptableObject
|
public class SceneBlocksSet : ScriptableObject
|
||||||
{
|
{
|
||||||
@ -10,7 +17,10 @@ public class SceneBlocksSet : ScriptableObject
|
|||||||
private GameObject hudObj;
|
private GameObject hudObj;
|
||||||
private MessageBoxController messageBoxController;
|
private MessageBoxController messageBoxController;
|
||||||
|
|
||||||
// initialization
|
/// <summary>
|
||||||
|
/// Initialize the scene block set.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="hudObj">The HUD object used to access the message box controller.</param>
|
||||||
public void InitializeSceneBlocksSet(GameObject hudObj)
|
public void InitializeSceneBlocksSet(GameObject hudObj)
|
||||||
{
|
{
|
||||||
this.hudObj = hudObj;
|
this.hudObj = hudObj;
|
||||||
@ -22,9 +32,11 @@ public void InitializeSceneBlocksSet(GameObject hudObj)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#region Get Scene,Level,Prefab methods
|
/// <summary>
|
||||||
|
/// Get all level prefab sets based on the target type.
|
||||||
// get AllLevlePrefabSet by target type
|
/// </summary>
|
||||||
|
/// <param name="targetType">The target type to retrieve all level prefab sets for.</param>
|
||||||
|
/// <returns>All level prefab sets for the specified target type.</returns>
|
||||||
public LevelsSet GetAllLevlePrefabSet(SceneBlockContainer.Targets targetType)
|
public LevelsSet GetAllLevlePrefabSet(SceneBlockContainer.Targets targetType)
|
||||||
{
|
{
|
||||||
switch (targetType)
|
switch (targetType)
|
||||||
@ -49,7 +61,12 @@ public LevelsSet GetAllLevlePrefabSet(SceneBlockContainer.Targets targetType)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// get SingleLevelPrefabSet by target type and level
|
/// <summary>
|
||||||
|
/// Get a single level prefab set based on the target type and level.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="targetType">The target type to retrieve the level prefab set for.</param>
|
||||||
|
/// <param name="level">The level to retrieve the level prefab set for.</param>
|
||||||
|
/// <returns>The single level prefab set for the specified target type and level.</returns>
|
||||||
public BlocksSet GetSingleLevelPrefabSet(SceneBlockContainer.Targets targetType, int level)
|
public BlocksSet GetSingleLevelPrefabSet(SceneBlockContainer.Targets targetType, int level)
|
||||||
{
|
{
|
||||||
if(level >= GetAllLevlePrefabSet(targetType).singleLevelSet.Length)
|
if(level >= GetAllLevlePrefabSet(targetType).singleLevelSet.Length)
|
||||||
@ -62,7 +79,13 @@ public BlocksSet GetSingleLevelPrefabSet(SceneBlockContainer.Targets targetType,
|
|||||||
return GetAllLevlePrefabSet(targetType).singleLevelSet[level];
|
return GetAllLevlePrefabSet(targetType).singleLevelSet[level];
|
||||||
}
|
}
|
||||||
|
|
||||||
// get prefab by target type, level and block type
|
/// <summary>
|
||||||
|
/// Get a prefab based on the target type, level, and block type.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="targetType">The target type to retrieve the prefab for.</param>
|
||||||
|
/// <param name="level">The level to retrieve the prefab for.</param>
|
||||||
|
/// <param name="blockType">The block type to retrieve the size information for.</param>
|
||||||
|
/// <returns>The prefab for the specified block.</returns>
|
||||||
public GameObject GetPrefab(SceneBlockContainer.Targets targetType, int level, int blockType)
|
public GameObject GetPrefab(SceneBlockContainer.Targets targetType, int level, int blockType)
|
||||||
{
|
{
|
||||||
if(blockType >= GetSingleLevelPrefabSet(targetType, level).prefabs.Length)
|
if(blockType >= GetSingleLevelPrefabSet(targetType, level).prefabs.Length)
|
||||||
@ -75,27 +98,36 @@ public GameObject GetPrefab(SceneBlockContainer.Targets targetType, int level, i
|
|||||||
return GetSingleLevelPrefabSet(targetType, level).prefabs[blockType];
|
return GetSingleLevelPrefabSet(targetType, level).prefabs[blockType];
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion Get Scene,Level,Prefab methods
|
/// <summary>
|
||||||
|
/// Get the number of levels associated with a specific target type.
|
||||||
#region Get Prefab Property methods
|
/// </summary>
|
||||||
|
/// <param name="targetType">The target type to retrieve level information for.</param>
|
||||||
//get level number by target type
|
/// <returns>The number of levels for the specified target type.</returns>
|
||||||
public int GetLevelNumber(SceneBlockContainer.Targets targetType)
|
public int GetLevelNumber(SceneBlockContainer.Targets targetType)
|
||||||
{
|
{
|
||||||
return GetAllLevlePrefabSet(targetType).singleLevelSet.Length;
|
return GetAllLevlePrefabSet(targetType).singleLevelSet.Length;
|
||||||
}
|
}
|
||||||
|
|
||||||
// get block number by target type and level
|
/// <summary>
|
||||||
|
/// Get the number of blocks associated with a specific target type and level.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="targetType">The target type to retrieve block information for.</param>
|
||||||
|
/// <param name="level">The level to retrieve block information for.</param>
|
||||||
|
/// <returns>The number of blocks for the specified target type and level.</returns>
|
||||||
public int GetBlockNumber(SceneBlockContainer.Targets targetType, int level)
|
public int GetBlockNumber(SceneBlockContainer.Targets targetType, int level)
|
||||||
{
|
{
|
||||||
return GetSingleLevelPrefabSet(targetType, level).prefabs.Length;
|
return GetSingleLevelPrefabSet(targetType, level).prefabs.Length;
|
||||||
}
|
}
|
||||||
|
|
||||||
// get block size by target type and level and block type
|
/// <summary>
|
||||||
|
/// Get the size of a block associated with a specific target type, level, and block type.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="targetType">The target type to retrieve block size information for.</param>
|
||||||
|
/// <param name="level">The level to retrieve block size information for.</param>
|
||||||
|
/// <param name="blockType">The type of block to retrieve size information for.</param>
|
||||||
|
/// <returns>The size of the specified block.</returns>
|
||||||
public float GetBlockSize(SceneBlockContainer.Targets targetType, int level, int blockType)
|
public float GetBlockSize(SceneBlockContainer.Targets targetType, int level, int blockType)
|
||||||
{
|
{
|
||||||
return GetPrefab(targetType, level, blockType).GetComponent<SceneBlock>().blockSize;
|
return GetPrefab(targetType, level, blockType).GetComponent<SceneBlock>().blockSize;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion Get Prefab Property methods
|
|
||||||
}
|
}
|
@ -9,14 +9,14 @@ EditorUserSettings:
|
|||||||
value: 55090405535008090b5608764626074415151c79747c74602b7c1861e4b96c6c
|
value: 55090405535008090b5608764626074415151c79747c74602b7c1861e4b96c6c
|
||||||
flags: 0
|
flags: 0
|
||||||
RecentlyUsedSceneGuid-1:
|
RecentlyUsedSceneGuid-1:
|
||||||
value: 06570c0704040b0e5a575520137b5e44154f192e292d22367c2c4866b7b3376f
|
|
||||||
flags: 0
|
|
||||||
RecentlyUsedSceneGuid-2:
|
|
||||||
value: 5703025650035e5d090f087148715d4443161e2c7e2c20357b281b31b0e43060
|
value: 5703025650035e5d090f087148715d4443161e2c7e2c20357b281b31b0e43060
|
||||||
flags: 0
|
flags: 0
|
||||||
RecentlyUsedSceneGuid-3:
|
RecentlyUsedSceneGuid-2:
|
||||||
value: 5453565f53020f085f5d0e72157a0844454f4c2b757d7265757a4f64b7b4313c
|
value: 5453565f53020f085f5d0e72157a0844454f4c2b757d7265757a4f64b7b4313c
|
||||||
flags: 0
|
flags: 0
|
||||||
|
RecentlyUsedSceneGuid-3:
|
||||||
|
value: 06570c0704040b0e5a575520137b5e44154f192e292d22367c2c4866b7b3376f
|
||||||
|
flags: 0
|
||||||
RecentlyUsedScenePath-0:
|
RecentlyUsedScenePath-0:
|
||||||
value: 22424703114646680e0b0227036c6c111b07142f1f2b233e2867083debf42d
|
value: 22424703114646680e0b0227036c6c111b07142f1f2b233e2867083debf42d
|
||||||
flags: 0
|
flags: 0
|
||||||
|
@ -14,12 +14,12 @@ MonoBehaviour:
|
|||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
m_PixelRect:
|
m_PixelRect:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
x: 56
|
x: 73
|
||||||
y: 158
|
y: 51
|
||||||
width: 1791
|
width: 1791
|
||||||
height: 1037
|
height: 1021
|
||||||
m_ShowMode: 4
|
m_ShowMode: 4
|
||||||
m_Title: Game
|
m_Title: Console
|
||||||
m_RootView: {fileID: 9}
|
m_RootView: {fileID: 9}
|
||||||
m_MinSize: {x: 875, y: 300}
|
m_MinSize: {x: 875, y: 300}
|
||||||
m_MaxSize: {x: 10000, y: 10000}
|
m_MaxSize: {x: 10000, y: 10000}
|
||||||
@ -40,9 +40,9 @@ MonoBehaviour:
|
|||||||
m_Position:
|
m_Position:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
x: 0
|
x: 0
|
||||||
y: 615
|
y: 605
|
||||||
width: 1041
|
width: 1054
|
||||||
height: 372
|
height: 366
|
||||||
m_MinSize: {x: 231, y: 271}
|
m_MinSize: {x: 231, y: 271}
|
||||||
m_MaxSize: {x: 10001, y: 10021}
|
m_MaxSize: {x: 10001, y: 10021}
|
||||||
m_ActualView: {fileID: 16}
|
m_ActualView: {fileID: 16}
|
||||||
@ -70,12 +70,12 @@ MonoBehaviour:
|
|||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
x: 0
|
x: 0
|
||||||
y: 0
|
y: 0
|
||||||
width: 1041
|
width: 1054
|
||||||
height: 987
|
height: 971
|
||||||
m_MinSize: {x: 100, y: 200}
|
m_MinSize: {x: 100, y: 200}
|
||||||
m_MaxSize: {x: 8096, y: 16192}
|
m_MaxSize: {x: 8096, y: 16192}
|
||||||
vertical: 1
|
vertical: 1
|
||||||
controlID: 131
|
controlID: 132
|
||||||
--- !u!114 &4
|
--- !u!114 &4
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
m_ObjectHideFlags: 52
|
m_ObjectHideFlags: 52
|
||||||
@ -92,11 +92,11 @@ MonoBehaviour:
|
|||||||
m_Position:
|
m_Position:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
x: 0
|
x: 0
|
||||||
y: 443
|
y: 436
|
||||||
width: 328
|
width: 315
|
||||||
height: 544
|
height: 535
|
||||||
m_MinSize: {x: 100, y: 100}
|
m_MinSize: {x: 102, y: 121}
|
||||||
m_MaxSize: {x: 4000, y: 4000}
|
m_MaxSize: {x: 4002, y: 4021}
|
||||||
m_ActualView: {fileID: 20}
|
m_ActualView: {fileID: 20}
|
||||||
m_Panes:
|
m_Panes:
|
||||||
- {fileID: 20}
|
- {fileID: 20}
|
||||||
@ -120,14 +120,14 @@ MonoBehaviour:
|
|||||||
- {fileID: 4}
|
- {fileID: 4}
|
||||||
m_Position:
|
m_Position:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
x: 1041
|
x: 1054
|
||||||
y: 0
|
y: 0
|
||||||
width: 328
|
width: 315
|
||||||
height: 987
|
height: 971
|
||||||
m_MinSize: {x: 100, y: 200}
|
m_MinSize: {x: 100, y: 200}
|
||||||
m_MaxSize: {x: 8096, y: 16192}
|
m_MaxSize: {x: 8096, y: 16192}
|
||||||
vertical: 1
|
vertical: 1
|
||||||
controlID: 48
|
controlID: 56
|
||||||
--- !u!114 &6
|
--- !u!114 &6
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
m_ObjectHideFlags: 52
|
m_ObjectHideFlags: 52
|
||||||
@ -145,10 +145,10 @@ MonoBehaviour:
|
|||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
x: 0
|
x: 0
|
||||||
y: 0
|
y: 0
|
||||||
width: 328
|
width: 315
|
||||||
height: 443
|
height: 436
|
||||||
m_MinSize: {x: 200, y: 200}
|
m_MinSize: {x: 202, y: 221}
|
||||||
m_MaxSize: {x: 4000, y: 4000}
|
m_MaxSize: {x: 4002, y: 4021}
|
||||||
m_ActualView: {fileID: 18}
|
m_ActualView: {fileID: 18}
|
||||||
m_Panes:
|
m_Panes:
|
||||||
- {fileID: 18}
|
- {fileID: 18}
|
||||||
@ -175,11 +175,11 @@ MonoBehaviour:
|
|||||||
x: 0
|
x: 0
|
||||||
y: 30
|
y: 30
|
||||||
width: 1791
|
width: 1791
|
||||||
height: 987
|
height: 971
|
||||||
m_MinSize: {x: 300, y: 200}
|
m_MinSize: {x: 300, y: 200}
|
||||||
m_MaxSize: {x: 24288, y: 16192}
|
m_MaxSize: {x: 24288, y: 16192}
|
||||||
vertical: 0
|
vertical: 0
|
||||||
controlID: 47
|
controlID: 50
|
||||||
--- !u!114 &8
|
--- !u!114 &8
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
m_ObjectHideFlags: 52
|
m_ObjectHideFlags: 52
|
||||||
@ -198,9 +198,9 @@ MonoBehaviour:
|
|||||||
x: 1369
|
x: 1369
|
||||||
y: 0
|
y: 0
|
||||||
width: 422
|
width: 422
|
||||||
height: 987
|
height: 971
|
||||||
m_MinSize: {x: 275, y: 50}
|
m_MinSize: {x: 276, y: 71}
|
||||||
m_MaxSize: {x: 4000, y: 4000}
|
m_MaxSize: {x: 4001, y: 4021}
|
||||||
m_ActualView: {fileID: 17}
|
m_ActualView: {fileID: 17}
|
||||||
m_Panes:
|
m_Panes:
|
||||||
- {fileID: 17}
|
- {fileID: 17}
|
||||||
@ -227,7 +227,7 @@ MonoBehaviour:
|
|||||||
x: 0
|
x: 0
|
||||||
y: 0
|
y: 0
|
||||||
width: 1791
|
width: 1791
|
||||||
height: 1037
|
height: 1021
|
||||||
m_MinSize: {x: 875, y: 300}
|
m_MinSize: {x: 875, y: 300}
|
||||||
m_MaxSize: {x: 10000, y: 10000}
|
m_MaxSize: {x: 10000, y: 10000}
|
||||||
m_UseTopView: 1
|
m_UseTopView: 1
|
||||||
@ -272,7 +272,7 @@ MonoBehaviour:
|
|||||||
m_Position:
|
m_Position:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
x: 0
|
x: 0
|
||||||
y: 1017
|
y: 1001
|
||||||
width: 1791
|
width: 1791
|
||||||
height: 20
|
height: 20
|
||||||
m_MinSize: {x: 0, y: 0}
|
m_MinSize: {x: 0, y: 0}
|
||||||
@ -294,8 +294,8 @@ MonoBehaviour:
|
|||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
x: 0
|
x: 0
|
||||||
y: 0
|
y: 0
|
||||||
width: 1041
|
width: 1054
|
||||||
height: 615
|
height: 605
|
||||||
m_MinSize: {x: 201, y: 221}
|
m_MinSize: {x: 201, y: 221}
|
||||||
m_MaxSize: {x: 4001, y: 4021}
|
m_MaxSize: {x: 4001, y: 4021}
|
||||||
m_ActualView: {fileID: 19}
|
m_ActualView: {fileID: 19}
|
||||||
@ -352,10 +352,10 @@ MonoBehaviour:
|
|||||||
m_Tooltip:
|
m_Tooltip:
|
||||||
m_Pos:
|
m_Pos:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
x: 65
|
x: 73
|
||||||
y: 73
|
y: 81
|
||||||
width: 1077
|
width: 1053
|
||||||
height: 594
|
height: 584
|
||||||
m_ViewDataDictionary: {fileID: 0}
|
m_ViewDataDictionary: {fileID: 0}
|
||||||
m_OverlayCanvas:
|
m_OverlayCanvas:
|
||||||
m_LastAppliedPresetName: Default
|
m_LastAppliedPresetName: Default
|
||||||
@ -366,7 +366,7 @@ MonoBehaviour:
|
|||||||
m_ShowGizmos: 0
|
m_ShowGizmos: 0
|
||||||
m_TargetDisplay: 0
|
m_TargetDisplay: 0
|
||||||
m_ClearColor: {r: 0, g: 0, b: 0, a: 0}
|
m_ClearColor: {r: 0, g: 0, b: 0, a: 0}
|
||||||
m_TargetSize: {x: 1077, y: 573}
|
m_TargetSize: {x: 1053, y: 563}
|
||||||
m_TextureFilterMode: 0
|
m_TextureFilterMode: 0
|
||||||
m_TextureHideFlags: 61
|
m_TextureHideFlags: 61
|
||||||
m_RenderIMGUI: 1
|
m_RenderIMGUI: 1
|
||||||
@ -381,10 +381,10 @@ MonoBehaviour:
|
|||||||
m_VRangeLocked: 0
|
m_VRangeLocked: 0
|
||||||
hZoomLockedByDefault: 0
|
hZoomLockedByDefault: 0
|
||||||
vZoomLockedByDefault: 0
|
vZoomLockedByDefault: 0
|
||||||
m_HBaseRangeMin: -538.5
|
m_HBaseRangeMin: -526.5
|
||||||
m_HBaseRangeMax: 538.5
|
m_HBaseRangeMax: 526.5
|
||||||
m_VBaseRangeMin: -286.5
|
m_VBaseRangeMin: -281.5
|
||||||
m_VBaseRangeMax: 286.5
|
m_VBaseRangeMax: 281.5
|
||||||
m_HAllowExceedBaseRangeMin: 1
|
m_HAllowExceedBaseRangeMin: 1
|
||||||
m_HAllowExceedBaseRangeMax: 1
|
m_HAllowExceedBaseRangeMax: 1
|
||||||
m_VAllowExceedBaseRangeMin: 1
|
m_VAllowExceedBaseRangeMin: 1
|
||||||
@ -402,23 +402,23 @@ MonoBehaviour:
|
|||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
x: 0
|
x: 0
|
||||||
y: 21
|
y: 21
|
||||||
width: 1077
|
width: 1053
|
||||||
height: 573
|
height: 563
|
||||||
m_Scale: {x: 1, y: 1}
|
m_Scale: {x: 1, y: 1}
|
||||||
m_Translation: {x: 538.5, y: 286.5}
|
m_Translation: {x: 526.5, y: 281.5}
|
||||||
m_MarginLeft: 0
|
m_MarginLeft: 0
|
||||||
m_MarginRight: 0
|
m_MarginRight: 0
|
||||||
m_MarginTop: 0
|
m_MarginTop: 0
|
||||||
m_MarginBottom: 0
|
m_MarginBottom: 0
|
||||||
m_LastShownAreaInsideMargins:
|
m_LastShownAreaInsideMargins:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
x: -538.5
|
x: -526.5
|
||||||
y: -286.5
|
y: -281.5
|
||||||
width: 1077
|
width: 1053
|
||||||
height: 573
|
height: 563
|
||||||
m_MinimalGUI: 1
|
m_MinimalGUI: 1
|
||||||
m_defaultScale: 1
|
m_defaultScale: 1
|
||||||
m_LastWindowPixelSize: {x: 1077, y: 594}
|
m_LastWindowPixelSize: {x: 1053, y: 584}
|
||||||
m_ClearInEditMode: 1
|
m_ClearInEditMode: 1
|
||||||
m_NoCameraWarning: 1
|
m_NoCameraWarning: 1
|
||||||
m_LowResolutionForAspectRatios: 01000000000000000000
|
m_LowResolutionForAspectRatios: 01000000000000000000
|
||||||
@ -472,10 +472,10 @@ MonoBehaviour:
|
|||||||
m_Tooltip:
|
m_Tooltip:
|
||||||
m_Pos:
|
m_Pos:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
x: 56
|
x: 73
|
||||||
y: 803
|
y: 686
|
||||||
width: 1040
|
width: 1053
|
||||||
height: 351
|
height: 345
|
||||||
m_ViewDataDictionary: {fileID: 0}
|
m_ViewDataDictionary: {fileID: 0}
|
||||||
m_OverlayCanvas:
|
m_OverlayCanvas:
|
||||||
m_LastAppliedPresetName: Default
|
m_LastAppliedPresetName: Default
|
||||||
@ -493,22 +493,22 @@ MonoBehaviour:
|
|||||||
m_SkipHidden: 0
|
m_SkipHidden: 0
|
||||||
m_SearchArea: 1
|
m_SearchArea: 1
|
||||||
m_Folders:
|
m_Folders:
|
||||||
- Assets/Script/Play
|
- Assets/Shader
|
||||||
m_Globs: []
|
m_Globs: []
|
||||||
m_OriginalText:
|
m_OriginalText:
|
||||||
m_ViewMode: 1
|
m_ViewMode: 1
|
||||||
m_StartGridSize: 16
|
m_StartGridSize: 16
|
||||||
m_LastFolders:
|
m_LastFolders:
|
||||||
- Assets/Script/Play
|
- Assets/Shader
|
||||||
m_LastFoldersGridSize: 16
|
m_LastFoldersGridSize: 16
|
||||||
m_LastProjectPath: C:\Users\UCUNI\OneDrive\Unity\ML-Agents\Aimbot-ParallelEnv
|
m_LastProjectPath: C:\Users\UCUNI\OneDrive\Unity\ML-Agents\Aimbot-ParallelEnv
|
||||||
m_LockTracker:
|
m_LockTracker:
|
||||||
m_IsLocked: 0
|
m_IsLocked: 0
|
||||||
m_FolderTreeState:
|
m_FolderTreeState:
|
||||||
scrollPos: {x: 0, y: 217}
|
scrollPos: {x: 0, y: 187}
|
||||||
m_SelectedIDs: a67c0000
|
m_SelectedIDs: aa7c0000
|
||||||
m_LastClickedID: 31910
|
m_LastClickedID: 31914
|
||||||
m_ExpandedIDs: 000000006a7c00006c7c00006e7c0000707c0000727c0000747c0000767c0000787c00007a7c00007c7c00007e7c0000807c00009e7c0000a27c000060c1000062c1000064c1000000ca9a3b
|
m_ExpandedIDs: 00000000647c0000667c0000687c00006a7c00006c7c00006e7c0000707c0000727c0000747c0000767c0000787c00007a7c00007c7c00007e7c0000807c0000827c0000847c00008c7c000000ca9a3b
|
||||||
m_RenameOverlay:
|
m_RenameOverlay:
|
||||||
m_UserAcceptedRename: 0
|
m_UserAcceptedRename: 0
|
||||||
m_Name:
|
m_Name:
|
||||||
@ -536,7 +536,7 @@ MonoBehaviour:
|
|||||||
scrollPos: {x: 0, y: 0}
|
scrollPos: {x: 0, y: 0}
|
||||||
m_SelectedIDs:
|
m_SelectedIDs:
|
||||||
m_LastClickedID: 0
|
m_LastClickedID: 0
|
||||||
m_ExpandedIDs: 000000006a7c00006c7c00006e7c0000707c0000727c0000747c0000767c0000787c00007a7c00007c7c00007e7c0000807c0000
|
m_ExpandedIDs: 00000000647c0000667c0000687c00006a7c00006c7c00006e7c0000707c0000727c0000747c0000767c0000787c00007a7c00007c7c00007e7c0000807c0000827c0000847c0000
|
||||||
m_RenameOverlay:
|
m_RenameOverlay:
|
||||||
m_UserAcceptedRename: 0
|
m_UserAcceptedRename: 0
|
||||||
m_Name:
|
m_Name:
|
||||||
@ -612,10 +612,10 @@ MonoBehaviour:
|
|||||||
m_Tooltip:
|
m_Tooltip:
|
||||||
m_Pos:
|
m_Pos:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
x: 1425
|
x: 1442
|
||||||
y: 188
|
y: 81
|
||||||
width: 421
|
width: 421
|
||||||
height: 966
|
height: 950
|
||||||
m_ViewDataDictionary: {fileID: 0}
|
m_ViewDataDictionary: {fileID: 0}
|
||||||
m_OverlayCanvas:
|
m_OverlayCanvas:
|
||||||
m_LastAppliedPresetName: Default
|
m_LastAppliedPresetName: Default
|
||||||
@ -653,10 +653,10 @@ MonoBehaviour:
|
|||||||
m_Tooltip:
|
m_Tooltip:
|
||||||
m_Pos:
|
m_Pos:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
x: 1097
|
x: 1127
|
||||||
y: 188
|
y: 81
|
||||||
width: 326
|
width: 313
|
||||||
height: 422
|
height: 415
|
||||||
m_ViewDataDictionary: {fileID: 0}
|
m_ViewDataDictionary: {fileID: 0}
|
||||||
m_OverlayCanvas:
|
m_OverlayCanvas:
|
||||||
m_LastAppliedPresetName: Default
|
m_LastAppliedPresetName: Default
|
||||||
@ -664,23 +664,23 @@ MonoBehaviour:
|
|||||||
m_SceneHierarchy:
|
m_SceneHierarchy:
|
||||||
m_TreeViewState:
|
m_TreeViewState:
|
||||||
scrollPos: {x: 0, y: 0}
|
scrollPos: {x: 0, y: 0}
|
||||||
m_SelectedIDs: 806c0000
|
m_SelectedIDs: 909c0000
|
||||||
m_LastClickedID: 27776
|
m_LastClickedID: 40080
|
||||||
m_ExpandedIDs: 32fbffffea660000326700005c680000426a00004e6a0000966a0000006b0000806c0000
|
m_ExpandedIDs: f4dcfffffaddffff3adfffffb0efffff32fbffffa880000040820000329c0000
|
||||||
m_RenameOverlay:
|
m_RenameOverlay:
|
||||||
m_UserAcceptedRename: 0
|
m_UserAcceptedRename: 0
|
||||||
m_Name: Text (TMP)
|
m_Name:
|
||||||
m_OriginalName: Text (TMP)
|
m_OriginalName:
|
||||||
m_EditFieldRect:
|
m_EditFieldRect:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
x: 0
|
x: 0
|
||||||
y: 0
|
y: 0
|
||||||
width: 0
|
width: 0
|
||||||
height: 0
|
height: 0
|
||||||
m_UserData: 27138
|
m_UserData: 0
|
||||||
m_IsWaitingForDelay: 0
|
m_IsWaitingForDelay: 0
|
||||||
m_IsRenaming: 0
|
m_IsRenaming: 0
|
||||||
m_OriginalEventType: 0
|
m_OriginalEventType: 11
|
||||||
m_IsRenamingFilename: 0
|
m_IsRenamingFilename: 0
|
||||||
m_ClientGUIView: {fileID: 6}
|
m_ClientGUIView: {fileID: 6}
|
||||||
m_SearchString:
|
m_SearchString:
|
||||||
@ -710,10 +710,10 @@ MonoBehaviour:
|
|||||||
m_Tooltip:
|
m_Tooltip:
|
||||||
m_Pos:
|
m_Pos:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
x: 56
|
x: 73
|
||||||
y: 188
|
y: 81
|
||||||
width: 1040
|
width: 1053
|
||||||
height: 594
|
height: 584
|
||||||
m_ViewDataDictionary: {fileID: 0}
|
m_ViewDataDictionary: {fileID: 0}
|
||||||
m_OverlayCanvas:
|
m_OverlayCanvas:
|
||||||
m_LastAppliedPresetName: Default
|
m_LastAppliedPresetName: Default
|
||||||
@ -948,9 +948,9 @@ MonoBehaviour:
|
|||||||
m_PlayAudio: 0
|
m_PlayAudio: 0
|
||||||
m_AudioPlay: 0
|
m_AudioPlay: 0
|
||||||
m_Position:
|
m_Position:
|
||||||
m_Target: {x: 977.3036, y: 481.8244, z: 0.27432778}
|
m_Target: {x: 439.49188, y: 302.87244, z: -4.527011}
|
||||||
speed: 2
|
speed: 2
|
||||||
m_Value: {x: 977.3036, y: 481.8244, z: 0.27432778}
|
m_Value: {x: 439.49188, y: 302.87244, z: -4.527011}
|
||||||
m_RenderMode: 0
|
m_RenderMode: 0
|
||||||
m_CameraMode:
|
m_CameraMode:
|
||||||
drawMode: 0
|
drawMode: 0
|
||||||
@ -1001,9 +1001,9 @@ MonoBehaviour:
|
|||||||
speed: 2
|
speed: 2
|
||||||
m_Value: {x: 0, y: 0, z: 0, w: 1}
|
m_Value: {x: 0, y: 0, z: 0, w: 1}
|
||||||
m_Size:
|
m_Size:
|
||||||
m_Target: 116.08183
|
m_Target: 364.57574
|
||||||
speed: 2
|
speed: 2
|
||||||
m_Value: 116.08183
|
m_Value: 364.57574
|
||||||
m_Ortho:
|
m_Ortho:
|
||||||
m_Target: 1
|
m_Target: 1
|
||||||
speed: 2
|
speed: 2
|
||||||
@ -1048,10 +1048,10 @@ MonoBehaviour:
|
|||||||
m_Tooltip:
|
m_Tooltip:
|
||||||
m_Pos:
|
m_Pos:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
x: 1097
|
x: 1127
|
||||||
y: 631
|
y: 517
|
||||||
width: 326
|
width: 313
|
||||||
height: 523
|
height: 514
|
||||||
m_ViewDataDictionary: {fileID: 0}
|
m_ViewDataDictionary: {fileID: 0}
|
||||||
m_OverlayCanvas:
|
m_OverlayCanvas:
|
||||||
m_LastAppliedPresetName: Default
|
m_LastAppliedPresetName: Default
|
||||||
|
Loading…
Reference in New Issue
Block a user