spriteOutline | A sprite outline solution | Game Engine library
kandi X-RAY | spriteOutline Summary
kandi X-RAY | spriteOutline Summary
A unity sprite outline solution. unity verson:5.5.2f1.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of spriteOutline
spriteOutline Key Features
spriteOutline Examples and Code Snippets
Community Discussions
Trending Discussions on spriteOutline
QUESTION
I have a ObjectController script that looking for game objects and adding them to an array and another script that draws outline around those game objects. There're few tasks that I'm trying to achieve:
- From ObjectController script List array I want to check what object is currently selected (clicked) so i won't be able to select (click) on other objects.
- onMouseButtonDown(1) i want to clear selections (outline) from those objects.
Can you please guide me in the right direction? I'm new to coding so please, go easy on me :D
...ANSWER
Answered 2020-Aug-10 at 07:02A bit strange for me that you go through a controller class just to again find all instances of the actual class ;)
First you could simplify your code a lot:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install spriteOutline
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page