Added initial Slingshot code
This commit is contained in:
@@ -1,18 +1,12 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using System.Collections;
|
||||
|
||||
public class Slingshot : MonoBehaviour
|
||||
{
|
||||
// Start is called before the first frame update
|
||||
void Start()
|
||||
{
|
||||
|
||||
void OnMouseEnter() {
|
||||
print("Slingshot:OnMouseEnter()");
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
|
||||
void OnMouseExit() {
|
||||
print("Slingshot:OnMouseExit()");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user