void Start() { line = GetComponent <LineDrawControl>(); au = GetComponent <AudioSource>(); layerMask = LayerMask.GetMask("Wall"); cw = HMD.GetComponent <CameraWork>(); cw.OnFollowEnd += CameraWorkEnd; BC = bullet.GetComponent <BulletControl>(); transform.rotation = Quaternion.Euler(startRotation); }
void Start() { lines = GetComponent <LineDrawControl> (); }