Click or drag to resize

Kit.Behaviours Namespace

MonoBehaviours for all occasions.
Classes
  ClassDescription
Public classAudioFader
Attach it to a GameObject with an AudioSource and this component will allow you to play, pause, stop, and change volume or clip with the volume fading in/out.
Public classDestroyWithTime
Marks the GameObject for destruction after a specified time.
Public classDontDestroy
Marks the GameObject to be persistent across scenes.
Public classFadeIn
Fades the screen in on Awake.
Public classFollowTransform
Follow a Transform while keeping a certain distance.
Public classMoveInDirection
Move the Transform in a given direction.
Public classMoveRandomly
Keeping moving a transform towards a random position in a given area.
Public classOrbitCam
Orbits and zooms in/out a Transform around another one with gestures.
Public classOrbitTransform
Orbits the Camera (or Transform) around a given Transform.
Public classPanZoomRotateCam
Provides a robust gesture-oriented Pan/Zoom/Rotate functionality for a camera. Supports both orthographic and perspective modes.
Public classPoolWhenInvisible
Pool the object when it stops rendering on-screen.
Public classPoolWithTime
Pools the GameObject after a specified time.
Public classQuitOnBack
Quits the application when the Back button is pressed on Android.