offset on linerenderer unity code example
Example 1: unity look roation offset
transform.rotation = Quaternion.LookRotation(hit.normal) * Quaternion.Euler(0, 0, zAngle);
Example 2: instantiate offset unity
if ( structureIndex == 0 )
{
var offset : Vector3 = new Vector3(0.5f, 0.5f, 0);
Instantiate(allStructures[structureIndex], lastHitObj.transform.position + offset, Quaternion.identity );
}