mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
Update Utils.cs
This commit is contained in:
@@ -143,7 +143,11 @@ namespace TEngine
|
|||||||
|
|
||||||
static void LoadAsset<T>(Component component, string path, int index) where T : UnityEngine.Object
|
static void LoadAsset<T>(Component component, string path, int index) where T : UnityEngine.Object
|
||||||
{
|
{
|
||||||
//TODO
|
if (component == null)
|
||||||
|
{
|
||||||
|
TLogger.LogException("component is null");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (string.IsNullOrEmpty(path))
|
if (string.IsNullOrEmpty(path))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user