Joshua Reason 1 year ago
parent
commit
3a71886073
22 changed files with 92 additions and 9 deletions
  1. BIN
      Assets/Art Assets/Models/RockPile_obstacle.prefab
  2. +7
    -0
      Assets/Art Assets/Models/RockPile_obstacle.prefab.meta
  3. BIN
      Assets/Art Assets/Models/Tree1 1.prefab
  4. BIN
      Assets/Art Assets/Models/Tree1 2.prefab
  5. BIN
      Assets/Art Assets/Models/Tree1 3.prefab
  6. BIN
      Assets/Art Assets/Models/Tree1 4.prefab
  7. +7
    -0
      Assets/Art Assets/Models/Tree1 4.prefab.meta
  8. BIN
      Assets/Art Assets/Models/Tree1.prefab
  9. BIN
      Assets/Prefab/Tile_01_obstacle.prefab
  10. +7
    -0
      Assets/Prefab/Tile_01_obstacle.prefab.meta
  11. BIN
      Assets/Prefab/Tile_02_obstacle.prefab
  12. +7
    -0
      Assets/Prefab/Tile_02_obstacle.prefab.meta
  13. +0
    -0
      Assets/Scenes/Development/BoatTest.unity
  14. +0
    -0
      Assets/Scenes/Development/BoatTest.unity.meta
  15. +0
    -0
      Assets/Scenes/Development/SampleScene.unity
  16. +0
    -0
      Assets/Scenes/Development/SampleScene.unity.meta
  17. BIN
      Assets/Scenes/Main.unity
  18. +7
    -0
      Assets/Scenes/Main.unity.meta
  19. BIN
      Assets/Scenes/Menu.unity
  20. +12
    -3
      Assets/Scripts/Route/TileManager.cs
  21. +13
    -0
      Assets/spin.cs
  22. +11
    -0
      Assets/spin.cs.meta

BIN
Assets/Art Assets/Models/RockPile_obstacle.prefab (Stored with Git LFS) View File

size 29993

+ 7
- 0
Assets/Art Assets/Models/RockPile_obstacle.prefab.meta View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 8c6aea957cd47ea44bac73fce15ca440
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

BIN
Assets/Art Assets/Models/Tree1 1.prefab (Stored with Git LFS) View File

size 15008

BIN
Assets/Art Assets/Models/Tree1 2.prefab (Stored with Git LFS) View File

size 16139

BIN
Assets/Art Assets/Models/Tree1 3.prefab (Stored with Git LFS) View File

size 16728

BIN
Assets/Art Assets/Models/Tree1 4.prefab (Stored with Git LFS) View File

size 32240

+ 7
- 0
Assets/Art Assets/Models/Tree1 4.prefab.meta View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 27e23f110c0eb104ab4d0ce45e81ac31
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

BIN
Assets/Art Assets/Models/Tree1.prefab (Stored with Git LFS) View File

size 14422

BIN
Assets/Prefab/Tile_01_obstacle.prefab (Stored with Git LFS) View File

size 6657

+ 7
- 0
Assets/Prefab/Tile_01_obstacle.prefab.meta View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: e5beeed0917dd204f8bfcad0337710e9
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

BIN
Assets/Prefab/Tile_02_obstacle.prefab (Stored with Git LFS) View File

size 14194

+ 7
- 0
Assets/Prefab/Tile_02_obstacle.prefab.meta View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 369339ac2f938b34e998dd187315aa48
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

Assets/Scenes/BoatTest.unity → Assets/Scenes/Development/BoatTest.unity View File


Assets/Scenes/BoatTest.unity.meta → Assets/Scenes/Development/BoatTest.unity.meta View File


Assets/Scenes/SampleScene.unity → Assets/Scenes/Development/SampleScene.unity View File


Assets/Scenes/SampleScene.unity.meta → Assets/Scenes/Development/SampleScene.unity.meta View File


BIN
Assets/Scenes/Main.unity (Stored with Git LFS) View File

size 65091

+ 7
- 0
Assets/Scenes/Main.unity.meta View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: e913910dbb8a03f4aa58bb1712b2e5c2
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

BIN
Assets/Scenes/Menu.unity (Stored with Git LFS) View File

size 690177

+ 12
- 3
Assets/Scripts/Route/TileManager.cs View File

@ -8,7 +8,8 @@ public class TileManager : MonoBehaviour
private List<TileData> m_tileList = new List<TileData>();
[SerializeField]
private Transform m_camTransform;
private int trackTiles = 10;
private int m_bendProfile = 0;
@ -26,6 +27,13 @@ public class TileManager : MonoBehaviour
private void Start()
{
m_currentTile = FindObjectOfType<TileController>();
for (int i = 0; i < trackTiles; i++)
{
SpawnRandomTile();
}
}
// Update is called once per frame
@ -43,10 +51,11 @@ public class TileManager : MonoBehaviour
}
*/
if(Input.GetKeyDown(KeyCode.Space))
/*if(Input.GetKeyDown(KeyCode.Space))
{
SpawnRandomTile();
}
}*/
}
void SpawnRandomTile()

+ 13
- 0
Assets/spin.cs View File

@ -0,0 +1,13 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class spin : MonoBehaviour
{
public float turnFactor = 1f;
private void Update()
{
transform.rotation = Quaternion.Euler(0f, Time.time * turnFactor, 0f);
}
}

+ 11
- 0
Assets/spin.cs.meta View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 3d31d3628779ac74d99a27de378f05bc
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

Loading…
Cancel
Save