added buttons to the inside of the elevator aswell. Started configuring firing mechanism
This commit is contained in:
@@ -59,4 +59,8 @@ public class SpringyButtonPhysics : MonoBehaviour {
|
||||
Vector3 worldPos = buttonDirectionRoot.TransformPoint(newLocalPos);
|
||||
rb.MovePosition(worldPos);
|
||||
}
|
||||
public void Pressed()
|
||||
{
|
||||
Debug.Log("Button is pressed");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user