//Define Reference Variables private void OnEnable() { trans = GetComponent <Transform>(); po = GetComponent <physicsObject>(); bc = GetComponent <boxCollider>(); cc = gameObject.AddComponent <cloudConnect>(); cc.Start(); cc.webData.x1 = 1000; cc.PushRow(0); }
void Start() { playerScript = player.GetComponent <physicsObject>(); castPointScript = eventSystem.GetComponent <castPointController>(); }