Skip to content

Instantly share code, notes, and snippets.

View jjj-www's full-sized avatar
πŸ’­
rgrgygairygfiaygfyvauyevfjhgavcitv wafig AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA

jjj-www

πŸ’­
rgrgygairygfiaygfyvauyevfjhgavcitv wafig AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  • Micah Chubb's Home
  • 17:26 (UTC +11:00)
View GitHub Profile
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class spriteSpin : MonoBehaviour
{
public float rotationSpeed = 20.0f;
// Start is called before the first frame update
void Start()
{
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class spriteFlip : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class enemyPatrol : MonoBehaviour
{
public GameObject pointA;
public GameObject pointB;
private Rigidbody rb;
private Animator anim;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class enemyFollow : MonoBehaviour
{
private Transform target;
public float speed;
// Start is called before the first frame update
void Start()
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class enemySpawn : MonoBehaviour
{
public GameObject EnemyPrefab;
public int numberOfEnemies;
void spawnEnemy()
@jjj-www
jjj-www / enemySpawn.cs
Created September 4, 2025 04:44
AssignmentPrototype Code
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class enemySpawn : MonoBehaviour
{
public GameObject EnemyPrefab;
public int numberOfEnemies;
void spawnEnemy()
@jjj-www
jjj-www / PlayerController.cs
Created September 4, 2025 04:30
FirstPersonShooter Code
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.InputSystem;
public class PlayerController : MonoBehaviour
{
private CharacterInput controls;
private Vector3 velocity;
private Vector2 move;