OpenDoor.MouseLeftButton C# (CSharp) Method

MouseLeftButton() public method

If you Click Mouse Left Button, you will call this function.
public MouseLeftButton ( ) : void
return void
    void MouseLeftButton()
    {
        if (!isCanOpen)
            if (Trigger() <= MinDistance)
                onMouseClick = true;
    }