A 2D Farming RPG
This is just a simple 2D farming RPG game
|
This class trigger fade in and out depending on the distance of the objects that needs to be fade out once the player is near. More...
Private Member Functions | |
void | OnTriggerEnter2D (Collider2D collision) |
Get the gameobject we have collided with, and then get all the obscuring item fader components on it and it children - and then trigger the fade out. More... | |
void | OnTriggerExit2D (Collider2D collision) |
Get the gameobject we have collided with, and then get all the obscuring item fader components on it and it children - and then trigger the fade in. More... | |
This class trigger fade in and out depending on the distance of the objects that needs to be fade out once the player is near.
Definition at line 8 of file TriggerObscuringItemFader.cs.
|
inlineprivate |
Get the gameobject we have collided with, and then get all the obscuring item fader components on it and it children - and then trigger the fade out.
Definition at line 11 of file TriggerObscuringItemFader.cs.
|
inlineprivate |
Get the gameobject we have collided with, and then get all the obscuring item fader components on it and it children - and then trigger the fade in.
Definition at line 25 of file TriggerObscuringItemFader.cs.