Added Game Files
Some checks are pending
Code Documentation / code-docs (push) Waiting to run
Project Report / project-report (push) Waiting to run
Validate Code / validate (push) Waiting to run

This commit is contained in:
Mohan pal singh ubhi 2026-06-15 21:01:44 +03:00
parent ed87277ef8
commit e1a8060711
49 changed files with 5771 additions and 0 deletions

View file

@ -0,0 +1,30 @@
using UnityEngine;
namespace CrimsofallTechnologies.SimpleBall {
public class SimpleBall : MonoBehaviour
{
public MeshRenderer mRenderer;
public float rotationSpeed = 10f;
private void Start()
{
if(mRenderer != null)
{
mRenderer.material.color = Random.ColorHSV();
}
}
private void Update()
{
transform.Rotate(Vector3.up, rotationSpeed * Time.deltaTime);
}
private void OnMouseDown()
{
if(mRenderer != null)
{
mRenderer.material.color = Random.ColorHSV();
}
}
}
}

View file

@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 5665a73efe30f3e44b78ff09527407a2