Can I "Get" an object for Actions?
Deeeds last edited by Deeeds
The Question: How do I write code once for different objects with different properties?
Depending on a state, I want to grab one of four objects and do:
- Fade to 50% opacity
- Move up
- Fade to full opacity.
Can I create those four actions and then "GET" one of those four objects and apply the actions to it, on the basis of the state?
Do I have to repeat that tree of actions underneath each object and a branching if statement of some sort?
Jack8680 last edited by