Few Range
This commit is contained in:
parent
e5a83b0434
commit
c8959959f0
@ -95,7 +95,7 @@ GameObject:
|
||||
- component: {fileID: 6816399794078047248}
|
||||
- component: {fileID: 304331928327035788}
|
||||
m_Layer: 0
|
||||
m_Name: compass
|
||||
m_Name: bg_compas
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
@ -178,7 +178,7 @@ GameObject:
|
||||
- component: {fileID: 7299430167591065022}
|
||||
- component: {fileID: 8979301594789080325}
|
||||
m_Layer: 0
|
||||
m_Name: Gaint Freaking Magnet
|
||||
m_Name: bg_magnet
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
@ -11,7 +11,7 @@ GameObject:
|
||||
- component: {fileID: 2957714535164430066}
|
||||
- component: {fileID: -6971605353857731775}
|
||||
m_Layer: 0
|
||||
m_Name: level chunk 1
|
||||
m_Name: level_chunk_1
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
@ -11,7 +11,7 @@ GameObject:
|
||||
- component: {fileID: 2957714535164430066}
|
||||
- component: {fileID: -4978173286257615179}
|
||||
m_Layer: 0
|
||||
m_Name: level chunk 2
|
||||
m_Name: level_chunk_2
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
@ -11,7 +11,7 @@ GameObject:
|
||||
- component: {fileID: 2957714535164430066}
|
||||
- component: {fileID: 4501625178067468098}
|
||||
m_Layer: 0
|
||||
m_Name: level chunk 3
|
||||
m_Name: level_chunk_3
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
@ -179,7 +179,7 @@ GameObject:
|
||||
- component: {fileID: 991026633550732616}
|
||||
- component: {fileID: -3679359786245750542}
|
||||
m_Layer: 0
|
||||
m_Name: platform 3 neutral
|
||||
m_Name: platform_neutral
|
||||
m_TagString: platform
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
@ -97,7 +97,7 @@ GameObject:
|
||||
- component: {fileID: 8372693939530454457}
|
||||
- component: {fileID: 458963570543655786}
|
||||
m_Layer: 0
|
||||
m_Name: platform 4 neutral
|
||||
m_Name: platform_neutral_sharp
|
||||
m_TagString: platform
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
@ -99,7 +99,7 @@ GameObject:
|
||||
- component: {fileID: -731181381576803345}
|
||||
- component: {fileID: 3389900204265069980}
|
||||
m_Layer: 0
|
||||
m_Name: platform 2 power
|
||||
m_Name: platform_power
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
@ -117,7 +117,7 @@ GameObject:
|
||||
- component: {fileID: 7973800414101489524}
|
||||
- component: {fileID: 6165408165884203318}
|
||||
m_Layer: 0
|
||||
m_Name: Platform_Orange
|
||||
m_Name: platform_rrange
|
||||
m_TagString: platform
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
@ -96,7 +96,7 @@ GameObject:
|
||||
- component: {fileID: 5794058540197003412}
|
||||
- component: {fileID: 8763404315579740833}
|
||||
m_Layer: 0
|
||||
m_Name: platform 3 speed
|
||||
m_Name: platform_speed
|
||||
m_TagString: platform
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
@ -181,7 +181,7 @@ GameObject:
|
||||
- component: {fileID: 2187729912207573111}
|
||||
- component: {fileID: -6601052459336252156}
|
||||
m_Layer: 0
|
||||
m_Name: Platform Start
|
||||
m_Name: platform_start
|
||||
m_TagString: platform
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
@ -101,7 +101,7 @@ GameObject:
|
||||
- component: {fileID: 2527761051471871889}
|
||||
- component: {fileID: 4240483973579556787}
|
||||
m_Layer: 0
|
||||
m_Name: Platform_Blue
|
||||
m_Name: platform_blue
|
||||
m_TagString: platform
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
|
@ -116,7 +116,7 @@ GameObject:
|
||||
- component: {fileID: -7597049073915248875}
|
||||
- component: {fileID: 3278078638141404736}
|
||||
m_Layer: 0
|
||||
m_Name: Platform_Green
|
||||
m_Name: platform_green
|
||||
m_TagString: platform
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
|
@ -117,7 +117,7 @@ GameObject:
|
||||
- component: {fileID: 5862113707430629064}
|
||||
- component: {fileID: -6889792310482815023}
|
||||
m_Layer: 0
|
||||
m_Name: Platform_Red
|
||||
m_Name: platform_red
|
||||
m_TagString: platform
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
|
@ -87,7 +87,7 @@ GameObject:
|
||||
- component: {fileID: 5458493816772439993}
|
||||
- component: {fileID: 6374445660222366211}
|
||||
m_Layer: 0
|
||||
m_Name: Platform_empty
|
||||
m_Name: platform_empty
|
||||
m_TagString: platform
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
|
@ -117,7 +117,7 @@ GameObject:
|
||||
- component: {fileID: 8383421295717427161}
|
||||
- component: {fileID: 3996111038030861644}
|
||||
m_Layer: 0
|
||||
m_Name: Platform_yellow
|
||||
m_Name: platform_yellow
|
||||
m_TagString: platform
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
|
@ -8,7 +8,7 @@ public class BGRotation : MonoBehaviour
|
||||
|
||||
private void Start()
|
||||
{
|
||||
rotation = new Vector3(Random.Range(0, 360), Random.Range(0, 360), Random.Range(0, 360));
|
||||
rotation = new Vector3(Random.Range(0, 360), Random.Range(0, 360), Random.Range(0, 360)) * 0.009f;
|
||||
}
|
||||
|
||||
void FixedUpdate()
|
||||
|
@ -73,7 +73,7 @@ public class ProceduralGeneration : MonoBehaviour
|
||||
// Debug.Log("Building LOOP");
|
||||
|
||||
int pieceCount = 10;
|
||||
float radius = (pieceCount / 2) * 2;
|
||||
float radius = (pieceCount / 2) + 1.9f;
|
||||
float angle = 360f / (float)pieceCount;
|
||||
|
||||
Bounds bounds = this.getPrefabBounds(lastObject);
|
||||
|
Loading…
Reference in New Issue
Block a user