// Use this for initialization void Start() { SC_LevelManager = GameObject.Find("LevelManager").GetComponent <JL_LevelManager>(); RB = gameObject.GetComponent <Rigidbody>(); RB.AddForce(transform.up * 600 * SC_LevelManager.FL_Power); RB.AddForce(-transform.forward * 75 * SC_LevelManager.FL_Power); if (bl_prediction) { Destroy(gameObject, 0.2f); } }
// Use this for initialization void Start() { mCC_PC = GetComponent <CharacterController>(); SC_LevelManager = GameObject.Find("LevelManager").GetComponent <JL_LevelManager>(); SpawnPoint = Vector3.zero; ST_Name = "Techy"; SC_Camera = GameObject.Find("Camera").GetComponent <JL_CameraScript>(); if (SC_Camera.P1 == null) { SC_Camera.P1 = gameObject; } else { SC_Camera.P2 = gameObject; SC_Camera.GameStart = true; } }
// Use this for initialization void Start() { SC_LevelManager = GameObject.Find("LevelManager").GetComponent <JL_LevelManager>(); DI_Responses = new Dictionary <Vector3, string>(); SetupDictionary(); }
// Use this for initialization void Start() { SC_LevelManager = GameObject.Find("LevelManager").GetComponent <JL_LevelManager>(); IN_BrickstoDestroy = SC_LevelManager.IN_BlocksLeft / 2; UI_TotalBricks.text = IN_BrickstoDestroy.ToString(); }
// Use this for initialization void Start() { SC_LevelManager = GameObject.Find("LevelManager").GetComponent <JL_LevelManager>(); }