completed prototyping. Integrated abstraction layer from previous project. Refactored gameplay code. Found an issue with drifting and added a quick fix for the same. Added camera system for chasing player movement.
38 lines
923 B
C#
38 lines
923 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class MenuBootLoader : BootLoader
|
|
{
|
|
private GameObject[] baseObjects;
|
|
|
|
protected override void InitBootLoaders()
|
|
{
|
|
IBootLoader bootLoader = null;
|
|
// foreach (Transform loader in MainSingleton.Instance.transform)
|
|
// {
|
|
// if (GetLoader<IBootLoader>(loader, out bootLoader))
|
|
// {
|
|
// bootLoader.Initialize();
|
|
// }
|
|
// }
|
|
}
|
|
|
|
protected override void Start()
|
|
{
|
|
base.Start();
|
|
}
|
|
|
|
protected override void InitializeData()
|
|
{
|
|
IDataLoader dataLoader = null;
|
|
// foreach (Transform loader in MainSingleton.Instance.transform)
|
|
// {
|
|
// if (GetLoader<IDataLoader>(loader, out dataLoader))
|
|
// {
|
|
// dataLoader.InitializeData();
|
|
// }
|
|
// }
|
|
}
|
|
}
|