// Use this for initialization void Start() { lr = GetComponent<LineRenderer>(); slicer = GetComponent<SpriteSlice>(); lr.SetWidth(0.1f, 0.1f); lr.SetVertexCount(0); lineVerticies = new List<Vector3>(); timeDelete = LINE_DELETE_ITERATOR; timeDraw = 0.0f; laserTimer = 0.0f; laserCanFire = true; disruptTimer = 0.0f; generalUseTimer = 0.0f; mode = INPUT_MODE.NORMAL; }
void Start () { slicer = GetComponent<SpriteSlice>(); }