Tanoda
HashHolder.cs
Go to the documentation of this file.
1using System.Collections;
2using System.Collections.Generic;
3using UnityEngine;
4
5public class HashHolder : MonoBehaviour
6{
7 public Vector3 origLocalPos, origLocalEuler;
8
9 private void Awake()
10 {
11 origLocalEuler = transform.localEulerAngles;
12 origLocalPos = transform.localPosition;
13 }
14
15 [SerializeField]
16 private string hash = "";
17 public string Hash
18 {
19 get
20 {
21 if (hash == "")
22 {
23 hash = HashingManager.instance.GetHash4GameObject(gameObject);
24 }
25 return hash;
26 }
27 set => hash = value;
28 }
29
30 public string oldLoadedHash = "";
31}
Vector3 origLocalEuler
Definition: HashHolder.cs:7
string Hash
Definition: HashHolder.cs:18
string oldLoadedHash
Definition: HashHolder.cs:30
Vector3 origLocalPos
Definition: HashHolder.cs:7