From b2fc4aa664a194c727743986c4ceba9d6b92bad4 Mon Sep 17 00:00:00 2001 From: Jeffrey Lanters Date: Mon, 22 Jun 2020 15:12:27 +0200 Subject: [PATCH] Minor naming changes --- Runtime/Controller.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Runtime/Controller.cs b/Runtime/Controller.cs index 68654d7..1411a7e 100644 --- a/Runtime/Controller.cs +++ b/Runtime/Controller.cs @@ -200,7 +200,7 @@ public UnityEngine.Object GetAsset (string name) { } /// Check whether this controller has an asset. - public bool GetAsset (string name) { + public bool HasAsset (string name) { for (var _i = 0; _i < this.assets.Length; _i++) if (this.assets[_i].name == name) return true;