mirror of
https://github.com/DCFApixels/DragonECS-Unity.git
synced 2025-09-17 17:34:34 +08:00
fix
This commit is contained in:
parent
5da7bfd4fb
commit
d7b9fdd903
@ -77,6 +77,7 @@ namespace DCFApixels.DragonECS.Unity.Editors
|
||||
|
||||
private static bool IsScript(string filePath)
|
||||
{
|
||||
if (filePath.Length <= 3) { return false; }
|
||||
int i = filePath.Length - 3;
|
||||
return filePath[i++] == '.'
|
||||
&& filePath[i++] == 'c'
|
||||
|
Loading…
Reference in New Issue
Block a user