29 lines
553 B
C#
29 lines
553 B
C#
|
using System;
|
||
|
using System.Collections;
|
||
|
using System.Collections.Generic;
|
||
|
using System.IO;
|
||
|
using BITKit;
|
||
|
using UnityEngine;
|
||
|
using UnityEngine.Rendering;
|
||
|
|
||
|
namespace BITKit
|
||
|
{
|
||
|
|
||
|
public class ScriptableExec : MonoBehaviour
|
||
|
{
|
||
|
[SerializeReference,SubclassSelector] private IConfigProvider configProvider;
|
||
|
private void Start()
|
||
|
{
|
||
|
//DataParser.Set(configProvider.GetConfig());
|
||
|
configProvider.Configure();
|
||
|
BIT4Log.Log<ScriptableExec>("Config loaded");
|
||
|
}
|
||
|
[BIT]
|
||
|
public void PrintJson()
|
||
|
{
|
||
|
Debug.Log(configProvider.GetConfig());
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|