Ejemplo n.º 1
0
 void Start()
 {
     ps   = GetComponent <Playerscript>();
     body = GetComponent <Rigidbody>();
     cameraMaskChanger = GetComponent <LayerMaskChange>();
     jammy             = false;
 }
 // Start is called before the first frame update
 void Start()
 {
     ps = GetComponent <Playerscript>();
     body.interpolation = RigidbodyInterpolation.Interpolate;
     jammy         = false;
     rotationPivot = transform.position;
 }
Ejemplo n.º 3
0
 // Use this for initialization
 void Start()
 {
     pScript = GameObject.FindGameObjectWithTag("Player").GetComponent <Playerscript>();
     StartCoroutine(SelfDestruct());
 }
 // Use this for initialization
 void Start()
 {
     pScript = GameObject.FindGameObjectWithTag("Player").GetComponent <Playerscript>();
 }
Ejemplo n.º 5
0
 // Use this for initialization
 void Start()
 {
     InvokeRepeating("treeSpawner", 1, 1);
     pScript = GameObject.FindGameObjectWithTag("Player").GetComponent <Playerscript>();
 }
Ejemplo n.º 6
0
 // Use this for initialization
 void Start()
 {
     pScript = GameObject.FindGameObjectWithTag("Player").GetComponent <Playerscript>();
     sr      = gameObject.GetComponent <SpriteRenderer>();
     pausemenu.renderer.enabled = false;
 }
Ejemplo n.º 7
0
 // Start is called before the first frame update
 void Start()
 {
     playerScript = this.GetComponent <Playerscript>();
     moveScript   = this.GetComponent <MoveMultiplayer>();
     //Debug.Log(basketItems[3].name);
 }