mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-07 16:45:10 +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
|
||||
{
|
||||
//TODO
|
||||
if (component == null)
|
||||
{
|
||||
TLogger.LogException("component is null");
|
||||
return;
|
||||
}
|
||||
|
||||
if (string.IsNullOrEmpty(path))
|
||||
{
|
||||
|
Reference in New Issue
Block a user