コード例 #1
0
        public static bool IsClickedGameObjectTag(string gameObjectTag)
        {
            GameObject selected;

            ClickSelect(out selected);
            return(TypeComparisons.IsGameObjectTag(selected, gameObjectTag));
        }
コード例 #2
0
        public static bool IsClickedDifferentGameObjectTo(GameObject gameObj)
        {
            GameObject selected;

            ClickSelect(out selected);
            return(TypeComparisons.AreDifferentGameObjects(selected, gameObj));
        }