This repository contains a collection of Unity C# scripts for a game project. These scripts implement various game mechanics including weapons, player interactions, and AI behavior.
Blackhole.cs- Creates a blackhole effect that pulls enemies in and applies damageLaserWeapon.cs- Implements a laser weapon system for the player
PlayerAnimationController.cs- Handles player character animations and movement statesPlayerInteractions.cs- Manages player interactions with objects in the game world
WanderAIAction.cs- Implements wandering behavior for enemy AI
Attach to a GameObject to create a blackhole effect that:
- Pulls enemies within range
- Applies damage over time
- Can stun affected enemies
A weapon that:
- Shoots a laser beam
- Uses LineRenderer for visual effect
- Can hit multiple enemies
- Handles ammo and cooldown
Handles:
- Movement animations
- Dash animations
- Idle animations
- Weapon animations
Manages:
- Object interaction within range
- Closest object selection
Controls:
- Random movement for enemies
- Pathfinding using A* system
- Configurable wander radius and stop times