Esempio n. 1
0
 private void Start()
 {
     _deltaManager = GameObject.Find("DeltaLevelManager").GetComponent <DeltaLevelManager>();
     _meshRenderer = GetComponent <MeshRenderer>();
     HasPhotonHit  = false;
     // Get the original emission colour
     OriginalColour = _meshRenderer.material.GetColor("_EmissionColor");
 }
Esempio n. 2
0
 private void Setup()
 {
     _deltaManager = GetComponent <DeltaLevelManager>();
 }
Esempio n. 3
0
 private void Start()
 {
     _deltaManager = GameObject.Find("DeltaLevelManager").GetComponent <DeltaLevelManager>();
     // Set new max photons after 0.1 seconds
     StartCoroutine(SetNewMaxPhotons());
 }
Esempio n. 4
0
 // Start is called before the first frame update
 void Start()
 {
     _rb           = GetComponent <Rigidbody>();
     _deltaManager = GameObject.Find("DeltaLevelManager").GetComponent <DeltaLevelManager>();
 }
Esempio n. 5
0
 private void Setup()
 {
     _deltaManager = GetComponent <DeltaLevelManager>();
     _ovrRemote    = GameObject.FindGameObjectWithTag("OculusRemote").transform;
 }