Пример #1
0
    //Eraser Hover Interactions
    private void OnTriggerEnter(Collider other)
    {
        EraseSide es = other.gameObject.GetComponent <EraseSide>();

        if (es != null)
        {
            Destroy(gameObject);
        }
    }
 private void OnEraserHoverEnd(EraseSide eraseSide)
 {
     onEraserHoverEnd.Invoke();
 }
 private void OnEraserHoverBegin(EraseSide eraseSide)
 {
     onEraserHoverBegin.Invoke();
 }
 private void OnEraserHoverUpdate(EraseSide eraseSide)
 {
     onEraserHoverUpdate.Invoke();
 }