Files
BITFALL/Assets/BITKit/Unity/Scripts/ObjectMaterial/GetObjectMaterialByCollider.cs
CortexCore 45913c6b3e 1
2023-08-23 01:59:40 +08:00

14 lines
427 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace BITKit.ObjectMaterial
{
public class GetObjectMaterialByCollider : MonoBehaviour, IObjectMaterial
{
public ObjectMaterialScriptableObject material;
public ObjectMaterialInfo GetObjectMaterial(string action = "None", Vector3 pos = default)
{
return material.dictionary[action];
}
}
}