This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEditor; | |
| using UnityEngine; | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using Object = UnityEngine.Object; | |
| [InitializeOnLoad] | |
| public static class HierarchyMonitor | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class RectTransformData | |
| { | |
| public Vector3 LocalPosition { get; set; } | |
| public Vector3 LocalScale { get; set; } | |
| public Vector2 SizeDelta { get; set; } | |
| public Vector2 AnchorMin { get; set; } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import random | |
| threshold = 3 | |
| # Data that should be a list like: | |
| # [humidityLarger,HumidtySmall,TempratureLarger,TempratureSmall] | |
| def CreateData(data): | |
| # Show data passed to function | |
| print(f"Data: {data}") |