Basic Scripts Pack View on Asset Store (opens in new tab)

Package details

Latest version
1.2
Last updated
First released
Unity version
6000.0.25 or later
Package size
391 KB
Files
68
Favorites
17
Views in the past week
6

Price tracking

Last checked
Tracked since
Lowest recorded
Free on

Keywords

Basic Scripts Pack

by Fn Solo (opens in new tab)

No ratings yet

Compilation of Essential Scripts: Leverages the use of Unity Event - to make a game right in the Inspector. Or just if you are tired of writing the same logic all over again. Make boilerplate simpler.

Price Free

Get it free on Asset Store (opens in new tab)

Affiliate link · Purchases support this site

Price history

Last 6 months

USD
Price history for Basic Scripts Pack, 6 months Current Free; lowest Free; highest Free in this period. $0 Jun Jul Aug Sep Oct Nov

Asset preview

1 / 3

Basic Scripts Pack screenshot 1

Basic Scripts Pack screenshot 1

About this asset

Now supports 2D, including KinematicFalseTimer.cs.

(In 2D uses bodyType, deprecated isKinematic of 2D is not supported).

Typical use case:

  • Lack of basic trigger interactions, collision sounds, setting off physical objects to fall.
  • Versatile use of Unity Events (e.g. OnTriggerEnter modify/call anything that is public from any script in the Scene, including built-in ones)

About:

  • A pack of scripts (~25), each under 100 lines of code (with exclusions).
  • Zero complexity. (excluding rare "Intermediate", "Advanced" simple parts)
  • No character controller.
  • Trigger "async" scene load with optional delays.
  • Contains PDF documentation, which explains some stuff (not every step, though).

Potential issues when modifying the code:

  • Tasks without null checks (don't remove them) on error can set for e.g. isKinematic to false. ("Task" can change state of an object in editor during errors if there is no null check. Rigidbody in this case).

From the publisher's Asset Store listing.

Technical details

Key features:

  1. A documentation that isn't is just a table with list of variables (mostly)
  2. Name Modifier for Editor Hierarchy - Get an ability to bulk delete name parts and add prefix, suffix. (Now at: "Tools/Game Objects/Name Modifier"
  3. CollisionSoundHandler.cs - The 3D Collision "_audioSource.Play" and "pitch" randomizing script (a "lifesaver" in a single audio clip case).
  4. CollisionSoundHandler2D.cs - get rid of redundant "...Play()" from 2D collisions nearly on the same place (the distance is customizable).
  5. Bunch of timers to toggle gO's and their components (including async version).
  6. LightFlicker.cs - to make that spooky horror/broken lamps flicker.
  7. SecurityCameraDisplay.cs - output camera to a material and put in on a quad/plane, customize resolution
  8. TriggerLoadScene - to load a scene (handles both 3D and 2D "OnTriggerEnter").
  9. UnityEvent to do basic manipulations with any scripts on the scene or just the GameObject
  10. You can load scenes like its 2000's! With ThreadSleep() or a bool check in Trigger
  11. Draggable panel for UI with protection from out of bounds, darken text OnPointerEnter()
  12. Create TextMeshPro UI Toggle instead of still "Legacy" in new list in the same context menu in the hierarchy.
  • And more!

Starts:

  • Make an explosion (e.g. in your instantiated object or after UnityEvent enabling object, etc.).
  • Lock your cursor on game start (doesn't touch visibility, can conflict with other packages).
  • Target your framerate to prevent waste of GPU resources (especially in Windows builds).

Supported platforms:

All, if using Awaitable - properly even Web.

Compatibility

Render pipelines supported in each Unity version
Unity version Built-in URP HDRP
6000.3.6f1 Not listed Compatible Not listed
6000.2.6f2 Not listed Compatible Not listed
6000.0.25f1 Not listed Compatible Not listed

As listed on the Asset Store.