@return true if the current ScriptComponent is attached to an Entity, false otherwise. */
| 58 | @return true if the current ScriptComponent is attached to an Entity, false otherwise. |
| 59 | */ |
| 60 | bool IsAttached() { |
| 61 | return !getOwner().isNull(); |
| 62 | } |
| 63 | |
| 64 | /** |
| 65 | Shortcut to get the transform component of the attached entity |