Example #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;
 }
 // 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>();
 }
Example #5
0
 // Use this for initialization
 void Start()
 {
     InvokeRepeating("treeSpawner", 1, 1);
     pScript = GameObject.FindGameObjectWithTag("Player").GetComponent <Playerscript>();
 }
 // Use this for initialization
 void Start()
 {
     pScript = GameObject.FindGameObjectWithTag("Player").GetComponent <Playerscript>();
     sr      = gameObject.GetComponent <SpriteRenderer>();
     pausemenu.renderer.enabled = false;
 }
Example #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);
 }