mirror of
https://github.com/nothke/quality-control.git
synced 2025-08-09 07:13:42 +00:00
Added interaction, hand, rigidbody dragging, picking up hammer
This commit is contained in:
13
Assets/Scripts/Interactables/InteractableTest.cs
Normal file
13
Assets/Scripts/Interactables/InteractableTest.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using Nothke.Interaction;
|
||||
|
||||
public class InteractableTest : Interactable
|
||||
{
|
||||
public override void Use(InteractionController im)
|
||||
{
|
||||
base.Use(im);
|
||||
Debug.Log("works!");
|
||||
}
|
||||
}
|
11
Assets/Scripts/Interactables/InteractableTest.cs.meta
Normal file
11
Assets/Scripts/Interactables/InteractableTest.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 429d0776ebbb12d4e8adc0328a254f36
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Reference in New Issue
Block a user