Init
This commit is contained in:
16
Assets/ThirdParty/DestroyIt/Scripts/Runtime/Behaviors/ClingPoint.cs
vendored
Normal file
16
Assets/ThirdParty/DestroyIt/Scripts/Runtime/Behaviors/ClingPoint.cs
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace DestroyIt
|
||||
{
|
||||
public class ClingPoint : MonoBehaviour
|
||||
{
|
||||
public int chanceToCling = 75;
|
||||
|
||||
private void OnDrawGizmos()
|
||||
{
|
||||
Gizmos.color = Color.yellow;
|
||||
Gizmos.DrawWireSphere(this.transform.position - (this.transform.forward * 0.025f), .01f);
|
||||
Gizmos.DrawRay(this.transform.position - (this.transform.forward * 0.025f), this.transform.forward * 0.075f);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user