14 lines
427 B
C#
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];
|
||
|
}
|
||
|
}
|
||
|
}
|