Esempio n. 1
0
 private void Start()
 {
     firstSpawn        = true;
     initPos           = gameObject.transform.position;
     initRot           = gameObject.transform.rotation;
     initLocalPos      = gameObject.transform.localPosition;
     initLocalRot      = gameObject.transform.localRotation;
     initScale         = gameObject.transform.localScale;
     menuSpawnPosition = new Vector3(-1.305f, 1.3f, -0.14f);
     thisInteract      = gameObject.GetComponent <InteractionBehaviour>();
     Parent            = gameObject.GetComponentInParent <toolboxfollower>();
 }