working on enemies
This commit is contained in:
@@ -17,6 +17,8 @@ namespace RebootReality.jelycho.Ropes {
|
||||
|
||||
[SerializeField] Material m_Material;
|
||||
|
||||
[SerializeField] int m_Layer;
|
||||
|
||||
[SerializeField] GutMeshGenerationConfig m_GutMeshGenerationConfig = new GutMeshGenerationConfig {
|
||||
radius = 0.2f,
|
||||
resolution = 16
|
||||
@@ -87,7 +89,7 @@ namespace RebootReality.jelycho.Ropes {
|
||||
Graphics.DrawMesh(mesh,
|
||||
transform.localToWorldMatrix,
|
||||
m_Material,
|
||||
gameObject.layer,
|
||||
m_Layer,
|
||||
null,
|
||||
0,
|
||||
null,
|
||||
|
||||
Reference in New Issue
Block a user