Cooker + New Model (textures) + Reels moving

This commit is contained in:
FreshMix committed 2025-10-24 16:28:22 +03:00
1 parent 3a94e032c9
commit 7de0125751
78 files changed
+154076 -31185

No files matched your search

+26
View File
@@ -0,0 +1,26 @@
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.XR.Interaction.Toolkit;
using UnityEngine.XR.Interaction.Toolkit.Interactables;
public class BoardScript : MonoBehaviour
{
// Start is called once before the first execution of Update after the MonoBehaviour is created
private int mask;
void Start()
{
mask = InteractionLayerMask.GetMask("Default", "Board");
}
// Update is called once per frame
void Update()
{
}
public void ComponentsPlaced()
{
gameObject.GetComponent<XRGrabInteractable>().interactionLayers = mask;
}
}