Skip to content

Comments

Drag & Drop Functionality#36

Open
AbhiMGame wants to merge 3 commits intooutscal:Singleton_Setupfrom
AbhiMGame:Singleton_Setup
Open

Drag & Drop Functionality#36
AbhiMGame wants to merge 3 commits intooutscal:Singleton_Setupfrom
AbhiMGame:Singleton_Setup

Conversation

@AbhiMGame
Copy link

Implement IDragHandler interface to implement Drag & Drop funcitonality in the MonkeyImageHandler class Implement IPointerDownHandler & IDragEndHandler to resetting and changing the color of the monkey while being dragged.

Implement IDragHandler interface to implement Drag & Drop funcitonality in the MonkeyImageHandler class
Implement IPointerDownHandler & IDragEndHandler to resetting and changing the color of the monkey while being dragged.
Converted all the Services below to Singletons and clean up there references as well.
Removed all the inspector dependencies for these Services by using them as singletons:
Player Service
Map Service
Wave Service
UI Service
Sound Service
Created a Generic class called GenericMonoSingleton which can be inherited to make any monobehaviour class a singleton.
Refactored all the Services you have made as singleton by inheriting them from GenericMonoSingleton Class and reducing code redundancy.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant