Tanoda
HashHolder.cs
Go to the documentation of this file.
1
using
System.Collections;
2
using
System.Collections.Generic;
3
using
UnityEngine
;
4
5
public
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
}
GILES.pb_MonoBehaviourSingleton.instance
static T instance
Definition:
pb_MonoBehaviourSingleton.cs:28
HashHolder
Definition:
HashHolder.cs:6
HashHolder.origLocalEuler
Vector3 origLocalEuler
Definition:
HashHolder.cs:7
HashHolder.Hash
string Hash
Definition:
HashHolder.cs:18
HashHolder.oldLoadedHash
string oldLoadedHash
Definition:
HashHolder.cs:30
HashHolder.origLocalPos
Vector3 origLocalPos
Definition:
HashHolder.cs:7
HashingManager
Definition:
Alap/HashingManager.cs:10
UnityEngine
Definition:
HSVPicker/UtilityScripts/BoxSlider.cs:7
Source
Assets
Scripts
HashHolder.cs
Generated by
1.9.3