void Start() { m_headLook.Init(); m_tailLook.Init(); m_fire = Instantiate(m_firePrefab); m_light = m_headLook.bones[0].gameObject.AddComponent <Light>(); m_light.type = LightType.Point; m_light.intensity = 0; m_light.range = .4f * transform.lossyScale.magnitude; }